A set of RSS fixes and improvements for the dpaa2 PMD.

Patches 1 and 2 fix the RSS hash key: the L4 destination port was never
added (both extracts used the source port), and SCTP now uses the same L4
port extraction as TCP/UDP. Both are tagged for stable.

Patches 3 and 4 are small cleanups in the key builder (a dead num_extracts
increment, and the unset PPPoE guard flag).

Patch 5 honours RTE_ETH_RSS_LEVEL_INNERMOST so tunnelled traffic hashes on
the inner IP header. Patch 6 implements reta_query / reta_update as an
emulation over the HW distribution-size mechanism, since dpaa2 has no
software-visible indirection table.

Tested on LX2160A (lx2160acex7).

Maxime Leroy (6):
  net/dpaa2: add L4 destination port to the RSS hash key
  net/dpaa2: use L4 port extraction for SCTP RSS
  net/dpaa2: drop stray extract count bump in RSS key build
  net/dpaa2: set PPPoE configured flag in RSS key build
  net/dpaa2: support inner RSS level for tunnelled traffic
  net/dpaa2: implement RSS RETA query and update

 doc/guides/nics/features/dpaa2.ini     |   1 +
 doc/guides/rel_notes/release_26_07.rst |   5 +
 drivers/net/dpaa2/base/dpaa2_hw_dpni.c |  94 +++++++-----
 drivers/net/dpaa2/dpaa2_ethdev.c       | 204 ++++++++++++++++++++++++-
 drivers/net/dpaa2/dpaa2_ethdev.h       |   9 ++
 5 files changed, 272 insertions(+), 41 deletions(-)

-- 
2.43.0

Reply via email to