diff options
author | Matias Elo <matias.elo@nokia.com> | 2019-11-28 12:03:13 +0200 |
---|---|---|
committer | Matias Elo <matias.elo@nokia.com> | 2019-11-28 12:03:13 +0200 |
commit | 3f37d0c195b3e6168b22552e8a60c2d4b1f5aa2a (patch) | |
tree | 25deb954ab800fe5869083dc5891ea83a47eed3c /config | |
parent | e858d1caa04567d7c350f5dd865b1071503cb159 (diff) | |
parent | b9002efa6e12fafc901794aa5f6a99ef306d944b (diff) |
Merge branch 'master' of https://github.com/OpenDataPlane/odp into odp-dpdk
Signed-off-by: Matias Elo <matias.elo@nokia.com>
Diffstat (limited to 'config')
-rw-r--r-- | config/odp-linux-generic.conf | 23 |
1 files changed, 22 insertions, 1 deletions
diff --git a/config/odp-linux-generic.conf b/config/odp-linux-generic.conf index b35089944..5a3ca72ff 100644 --- a/config/odp-linux-generic.conf +++ b/config/odp-linux-generic.conf @@ -16,7 +16,7 @@ # Mandatory fields odp_implementation = "linux-generic" -config_file_version = "0.1.10" +config_file_version = "0.1.12" # Shared memory options shm: { @@ -60,9 +60,30 @@ pool: { # Maximum number of packets per pool. Power of two minus one # results optimal memory usage (e.g. (256 * 1024) - 1). max_num = 262143 + + # Base alignment for segment data. When set to zero, + # cache line size is used. Use power of two values. + base_align = 0 + } + + buf: { + # Minimum data alignment. The alignment request in pool + # parameters is rounded up to this value. When set to zero, + # cache line size is used. Use power of two values. + min_align = 0 } } +# General pktio options +pktio: { + # Frame start offset from packet base pointer at packet input. This can + # be used (together with pool.pkt.base_align option) to tune packet data + # alignment for received frames. Currently, packet IO drivers + # (zero-copy DPDK, loop and ipc) that do not copy data ignore this + # option. + pktin_frame_offset = 0 +} + # DPDK pktio options pktio_dpdk: { # Default options |