By default, only 3 bytes of GRE key will be used for hash or FD calculation. Here adds selecting 3 or 4 bytes of GRE key for those purpose. Note that these patches are based on another patch set of "[PATCH v6 0/2] i40e: RSS/FD granularity configuration".
v2 changes: Updated with RSS/FD granularity code. v3 changes: Updated with RSS/FD granularity code. Updated documentation. Helin Zhang (3): i40e: add selecting GRE key length app/testpmd: add test commands for selecting different GRE key sizes doc: update release notes and testpmd guide app/test-pmd/cmdline.c | 52 +++++++++++++++++ doc/guides/rel_notes/release_2_2.rst | 2 + doc/guides/testpmd_app_ug/testpmd_funcs.rst | 11 ++++ drivers/net/i40e/i40e_ethdev.c | 87 ++++++++++++++++++++++++++++- lib/librte_ether/rte_eth_ctrl.h | 20 +++++++ 5 files changed, 169 insertions(+), 3 deletions(-) -- 1.9.3