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

vattunuru at marvell.com vattunuru at marvell.com
Sat Sep 14 07:52:44 CEST 2019


From: Vamsi Attunuru <vattunuru at marvell.com>

***
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.

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

-- 
2.8.4



More information about the dev mailing list