[dpdk-dev] [PATCH v5 0/2] i40e: RSS/FD granularity configuration

Helin Zhang helin.zhang at intel.com
Thu Oct 29 05:09:02 CET 2015


The default input set of fields of a received packet are loaded from
firmware, which cannot be modified even users want to use different
fields for RSS or flow director. Here adds more flexibilities of
selecting or adding packet fields for hash calculation or flow
director to users. It also includes the modifications in testpmd to
support the testing.

v2 changes:
Solved the compilation issues.

v3 changes:
Support selecting more input set fields.

v4 changes:
Removed operation of 'delete', as it is not necessary.
Added FD granularity in both pmd and testpmd, as it is similar to
RSS granularity.

v5 changes:
Fixed issue of generating wrong input set for registers on ipv6-udp
and ipv6-tcp pc types.
Added clear masking operations during checking if MASK registers are
opcupied or not.
Reworked several annotations.

Helin Zhang (2):
  i40e: RSS/FD granularity configuration
  app/testpmd: add test commands for RSS/FD granularity

 app/test-pmd/cmdline.c          | 196 +++++++++++
 drivers/net/i40e/i40e_ethdev.c  | 742 ++++++++++++++++++++++++++++++++++++++++
 drivers/net/i40e/i40e_ethdev.h  |   7 +
 drivers/net/i40e/i40e_fdir.c    |  31 ++
 lib/librte_ether/rte_eth_ctrl.h | 114 +++++-
 5 files changed, 1086 insertions(+), 4 deletions(-)

-- 
1.9.3



More information about the dev mailing list