[dpdk-dev] [PATCH 0/6] Support flow director programming on fortville
min.cao at intel.com
Fri Aug 15 03:33:21 CEST 2014
Tested-by: Cao Min <Min.Cao at intel.com>
This patch add i40e flow director fucntion, testpmd can works OK with it.
It is ready to be integrated to dpdk.org.
From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Jingjing Wu
Sent: Friday, August 01, 2014 3:09 PM
To: dev at dpdk.org
Subject: [dpdk-dev] [PATCH 0/6] Support flow director programming on fortville
The patch set supports flow director programming on fortville.
- reserve i40e resources for flow director, such as queue and vsi.
- support the new ethdev AP Irx_classification_filter_ctl for all
the configuration or queries for receive classification filters.
- support programming 6 flow types for the flow director filters,
which is called PCTYPE in fortville: ipv4, tcpv4, udpv4, ipv6,
- support flushing flow director table (all filters).
- support match statistics and FD ID report.
- all fix the the Marco conflict between rte_ip.h and netinet/in.h.
i40e: flow director resource reserve and initialize on i40e
lib/librte_net: fix the Marco conflict between rte_ip.h and netinet/in.h
ethdev: define new ethdev API rx_classification_filter_ctl
i40e: function implement in i40e for flow director filter programming
app/test-pmd: add commands and config functions for i40e flow director support
i40e: support FD ID report and match counter for i40e flow director
app/test-pmd/cmdline.c | 665 ++++++++++++++++++++++++++++++++++++
app/test-pmd/config.c | 54 ++-
app/test-pmd/testpmd.c | 22 ++
app/test-pmd/testpmd.h | 57 ++++
lib/librte_ether/Makefile | 3 +-
lib/librte_ether/rte_eth_features.h | 64 ++++
lib/librte_ether/rte_ethdev.c | 19 +-
lib/librte_ether/rte_ethdev.h | 108 +++---
lib/librte_net/rte_ip.h | 5 +-
lib/librte_pmd_i40e/Makefile | 5 +
lib/librte_pmd_i40e/i40e_ethdev.c | 98 +++++-
lib/librte_pmd_i40e/i40e_ethdev.h | 32 +-
lib/librte_pmd_i40e/i40e_fdir.c | 355 +++++++++++++++++++
lib/librte_pmd_i40e/i40e_rxtx.c | 176 +++++++++-
lib/librte_pmd_i40e/rte_i40e.h | 125 +++++++
15 files changed, 1727 insertions(+), 61 deletions(-)
create mode 100644 lib/librte_ether/rte_eth_features.h
create mode 100644 lib/librte_pmd_i40e/i40e_fdir.c
create mode 100644 lib/librte_pmd_i40e/rte_i40e.h
More information about the dev