DPDK patches and discussions
 help / color / mirror / Atom feed
From: <vattunuru@marvell.com>
To: <dev@dpdk.org>
Cc: <arybchenko@solarflare.com>, <jerinj@marvell.com>,
	<ferruh.yigit@intel.com>, <thomas@monjalon.net>,
	Vamsi Attunuru <vattunuru@marvell.com>
Subject: [dpdk-dev]  [PATCH v2 0/3] add ethdev op to get hash index
Date: Tue, 15 Oct 2019 15:22:04 +0530	[thread overview]
Message-ID: <20191015095207.13249-1-vattunuru@marvell.com> (raw)
In-Reply-To: <20190914055247.3841-2-vattunuru@marvell.com>

From: Vamsi Attunuru <vattunuru@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.

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

-- 
2.8.4


  parent reply	other threads:[~2019-10-15  9:52 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-14  5:52 [dpdk-dev] [PATCH v1 " vattunuru
2019-09-14  5:52 ` [dpdk-dev] [PATCH v1 1/3] lib/ethdev: " vattunuru
2019-10-03 13:00   ` Andrew Rybchenko
2019-10-07  4:45     ` [dpdk-dev] [EXT] " Vamsi Krishna Attunuru
2019-10-15  9:52   ` vattunuru [this message]
2019-10-15  9:52     ` [dpdk-dev] [PATCH v2 " vattunuru
2019-10-15 16:47       ` Ferruh Yigit
2019-10-15 17:28         ` Vamsi Krishna Attunuru
2019-10-16 17:47           ` Ferruh Yigit
2019-10-16 17:48       ` Ferruh Yigit
2019-10-15  9:52     ` [dpdk-dev] [PATCH v2 2/3] app/test: add hash index verify autotest vattunuru
2019-10-15 16:49       ` Ferruh Yigit
2019-10-15  9:52     ` [dpdk-dev] [PATCH v2 3/3] net/octeontx2: add eth dev op callback to get hash index vattunuru
2019-09-14  5:52 ` [dpdk-dev] [PATCH v1 2/3] app/test: add hash index verify autotest vattunuru
2019-09-14  5:52 ` [dpdk-dev] [PATCH v1 3/3] net/octeontx2: add eth dev op callback to get hash index vattunuru

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20191015095207.13249-1-vattunuru@marvell.com \
    --to=vattunuru@marvell.com \
    --cc=arybchenko@solarflare.com \
    --cc=dev@dpdk.org \
    --cc=ferruh.yigit@intel.com \
    --cc=jerinj@marvell.com \
    --cc=thomas@monjalon.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).