From: Helin Zhang <helin.zhang@intel.com>
To: dev@dpdk.org
Subject: [dpdk-dev] [PATCH v2 0/7] unified flow types and RSS offload types
Date: Wed, 4 Feb 2015 15:16:26 +0800 [thread overview]
Message-ID: <1423034193-26966-1-git-send-email-helin.zhang@intel.com> (raw)
In-Reply-To: <1421650577-25969-1-git-send-email-helin.zhang@intel.com>
It unifies the flow types and RSS offload types for all PMDs. Previously
flow types are defined specifically for i40e, and there has different RSS
offloads tyeps for 1/10G and 40G seperately. This is not so convenient
for application development, and not good for adding new PMDs.
In addition, it enables new RSS offloads of 'tcp' and 'all' in testpmd.
v2 changes:
* Integrated with configuring hash functions.
* Corrected the wrong help string of flow director parameters.
* Renamed the flow types from ETH_FLOW_TYPE_ to RTE_ETH_FLOW_.
* Removed useless annotations for flow type elements in rte_eth_ctrl.h.
Helin Zhang (7):
app/test-pmd: code style fix
ethdev: code style fix
i40e: code style fix
ethdev: fix of calculating the size of flow type mask array
ethdev: unification of flow types
ethdev: unification of RSS offload types
app/testpmd: support new rss offloads
app/test-pipeline/init.c | 2 +-
app/test-pmd/cmdline.c | 154 +++++++++++++++++++-----------
app/test-pmd/config.c | 137 +++++++++++++++++---------
examples/distributor/main.c | 9 +-
examples/ip_pipeline/init.c | 2 +-
examples/l3fwd-acl/main.c | 7 +-
lib/librte_ether/rte_eth_ctrl.h | 94 ++++++++++--------
lib/librte_ether/rte_ethdev.h | 147 ++++++++++++----------------
lib/librte_pmd_e1000/e1000_ethdev.h | 11 +++
lib/librte_pmd_e1000/igb_ethdev.c | 1 +
lib/librte_pmd_e1000/igb_rxtx.c | 27 ++----
lib/librte_pmd_i40e/i40e_ethdev.c | 164 +++++++++++++++++---------------
lib/librte_pmd_i40e/i40e_ethdev.h | 52 +++++-----
lib/librte_pmd_i40e/i40e_ethdev_vf.c | 1 +
lib/librte_pmd_i40e/i40e_fdir.c | 99 ++++++++++---------
lib/librte_pmd_ixgbe/ixgbe_ethdev.c | 1 +
lib/librte_pmd_ixgbe/ixgbe_ethdev.h | 11 +++
lib/librte_pmd_ixgbe/ixgbe_rxtx.c | 27 ++----
lib/librte_pmd_vmxnet3/vmxnet3_ethdev.c | 1 +
lib/librte_pmd_vmxnet3/vmxnet3_ethdev.h | 6 ++
lib/librte_pmd_vmxnet3/vmxnet3_rxtx.c | 10 +-
21 files changed, 525 insertions(+), 438 deletions(-)
--
1.9.3
next prev parent reply other threads:[~2015-02-04 7:16 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-19 6:56 [dpdk-dev] [PATCH 0/7] unification of " Helin Zhang
2015-01-19 6:56 ` [dpdk-dev] [PATCH 1/7] app/test-pmd: code style fix Helin Zhang
2015-01-19 6:56 ` [dpdk-dev] [PATCH 2/7] ethdev: " Helin Zhang
2015-01-19 6:56 ` [dpdk-dev] [PATCH 3/7] i40e: " Helin Zhang
2015-01-19 6:56 ` [dpdk-dev] [PATCH 4/7] ethdev: fix of calculating the size of flow type mask array Helin Zhang
[not found] ` <2108624.Ik2ARBIxyb@xps13>
2015-02-03 5:24 ` Zhang, Helin
2015-01-19 6:56 ` [dpdk-dev] [PATCH 5/7] ethdev: unification of flow types Helin Zhang
[not found] ` <98DB008FA2AC6644B40AD8C766FAB271014BDED15D@BOREAL.arubanetworks.com>
2015-01-27 5:20 ` Zhang, Helin
[not found] ` <5329819.johOmNX3Da@xps13>
2015-02-03 5:40 ` Zhang, Helin
2015-01-19 6:56 ` [dpdk-dev] [PATCH 6/7] ethdev: unification of RSS offload types Helin Zhang
2015-01-19 6:56 ` [dpdk-dev] [PATCH 7/7] app/testpmd: support new rss offloads Helin Zhang
2015-01-22 7:48 ` [dpdk-dev] [PATCH 0/7] unification of flow types and RSS offload types Wu, Jingjing
2015-02-04 7:16 ` Helin Zhang [this message]
2015-02-04 7:16 ` [dpdk-dev] [PATCH v2 1/7] app/test-pmd: code style fix Helin Zhang
2015-02-04 7:16 ` [dpdk-dev] [PATCH v2 2/7] ethdev: " Helin Zhang
2015-02-04 7:16 ` [dpdk-dev] [PATCH v2 3/7] i40e: " Helin Zhang
2015-02-04 7:16 ` [dpdk-dev] [PATCH v2 4/7] ethdev: fix of calculating the size of flow type mask array Helin Zhang
2015-02-04 7:16 ` [dpdk-dev] [PATCH v2 5/7] ethdev: unification of flow types Helin Zhang
2015-02-04 7:16 ` [dpdk-dev] [PATCH v2 6/7] ethdev: unification of RSS offload types Helin Zhang
2015-02-04 7:16 ` [dpdk-dev] [PATCH v2 7/7] app/testpmd: support new rss offloads Helin Zhang
2015-02-15 5:03 ` [dpdk-dev] [PATCH v2 0/7] unified flow types and RSS offload types Wu, Jingjing
2015-02-22 22:58 ` Thomas Monjalon
2015-02-24 13:45 ` Zhang, Helin
2015-02-24 15:01 ` Wu, Jingjing
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=1423034193-26966-1-git-send-email-helin.zhang@intel.com \
--to=helin.zhang@intel.com \
--cc=dev@dpdk.org \
/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).