Skip to content

add ethdev op to get hash index

[email protected] dpdk-dev 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 5 repliesIn review
  2. v13 patches 2 repliesSuperseded

Changes in v2 from the cover letter

* Updated description in the commit message.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3lib/ethdev: add ethdev op to get hash indexlib/librte_ethdev/rte_ethdev.c lib/librte_ethdev/rte_ethdev.h lib/librte_ethdev/rte_ethdev_core.h +1 more+41 -04 replies
2/3app/test: add hash index verify autotestapp/test/Makefile app/test/autotest_data.py app/test/meson.build +1 more+355 -01 reply
3/3net/octeontx2: add eth dev op callback to get hash indexdrivers/net/octeontx2/otx2_ethdev.c drivers/net/octeontx2/otx2_ethdev.h drivers/net/octeontx2/otx2_rss.c+22 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [dpdk-dev] [PATCH v2 0/3] add ethdev op to get hash index

From: Vamsi Attunuru <[email protected]>

---
Following patch set adds ethdev op to fetch hash index from ethdev pmd for a given hash value. It enables pmds to compute hash index using HW supported custom algos.

Patch set also adds autotest for these API to verify whether packet distribution is as per computed hash index or not.

V2 Change:
* Updated description in the commit message.

Vamsi Attunuru (3):
lib/ethdev: add ethdev op to get hash index app/test: add hash index verify autotest net/octeontx2: add eth dev op callback to get hash index

 app/test/Makefile                        |   1 +
 app/test/autotest_data.py                |   6 +
 app/test/meson.build                     |   1 +
 app/test/test_hash_index.c               | 347 +++++++++++++++++++++++++++++++
 drivers/net/octeontx2/otx2_ethdev.c      |   1 +
 drivers/net/octeontx2/otx2_ethdev.h      |   3 +
 drivers/net/octeontx2/otx2_rss.c         |  18 ++
 lib/librte_ethdev/rte_ethdev.c           |  13 ++
 lib/librte_ethdev/rte_ethdev.h           |  20 ++
 lib/librte_ethdev/rte_ethdev_core.h      |   5 +
 lib/librte_ethdev/rte_ethdev_version.map |   3 +
 11 files changed, 418 insertions(+)
 create mode 100644 app/test/test_hash_index.c
Signature · 1 line
2.8.4