aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorMatias Elo <matias.elo@nokia.com>2019-10-08 13:38:21 +0300
committerMatias Elo <matias.elo@nokia.com>2019-11-21 14:45:29 +0200
commitff1c81eb04a5d79dc66d8642f930b339d46e49b1 (patch)
treecad62515e2fd076e19442c5ff424e76119634b9e /config
parent3a1d85380b09263ba63a5ec452abedb1c112282d (diff)
linux-gen: dpdk: make storing packet flow hash configurable
Make saving RX RSS hash as ODP flow hash optional (disabled by default). This improves performance by removing a write operation to an additional cache line. Signed-off-by: Matias Elo <matias.elo@nokia.com> Reviewed-by: Petri Savolainen <petri.savolainen@nokia.com>
Diffstat (limited to 'config')
-rw-r--r--config/odp-linux-generic.conf5
1 files changed, 4 insertions, 1 deletions
diff --git a/config/odp-linux-generic.conf b/config/odp-linux-generic.conf
index 4fec05047..4e24ef82d 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.8"
+config_file_version = "0.1.9"
# Shared memory options
shm: {
@@ -70,6 +70,9 @@ pktio_dpdk: {
num_tx_desc = 512
rx_drop_en = 0
+ # Store RX RSS hash result as ODP flow hash
+ set_flow_hash = 0
+
# Driver specific options (use PMD names from DPDK)
net_ixgbe: {
rx_drop_en = 1