diff options
author | Matias Elo <matias.elo@nokia.com> | 2019-10-08 13:38:21 +0300 |
---|---|---|
committer | Matias Elo <matias.elo@nokia.com> | 2019-10-23 11:35:58 +0300 |
commit | c723055094546df3890efb0f6a5f02b59cb4cb34 (patch) | |
tree | 9f1ecf5a674cea4e1ebbfaf27f72e684599e9a1b /config | |
parent | 7610aab45d2a307d883c62ee56fbc0430fabf2b2 (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.conf | 5 |
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 |