diff options
author | Petri Savolainen <petri.savolainen@nokia.com> | 2019-11-19 10:22:03 +0200 |
---|---|---|
committer | Petri Savolainen <petri.savolainen@nokia.com> | 2019-11-26 15:26:38 +0200 |
commit | 8e1a2b2efd96405f9304984703fc6368a39dba46 (patch) | |
tree | 5cb518d3cd46a4fb3ce756a9b71449a4be85f5ef /config | |
parent | e5f8a95eeea5a8f4261f8e5bcff95a4cd5cc9b79 (diff) |
linux-gen: pktio: add pktin frame offset config option
Added config file option to control frame start offset in
packet input.
Signed-off-by: Petri Savolainen <petri.savolainen@nokia.com>
Reviewed-by: Matias Elo <matias.elo@nokia.com>
Diffstat (limited to 'config')
-rw-r--r-- | config/odp-linux-generic.conf | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/config/odp-linux-generic.conf b/config/odp-linux-generic.conf index 4b19c102d..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.11" +config_file_version = "0.1.12" # Shared memory options shm: { @@ -74,6 +74,16 @@ pool: { } } +# 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 |