[dpdk-dev] [PATCH v2 0/7] Support flow director programming on fortville
jingjing.wu at intel.com
Wed Aug 27 04:13:47 CEST 2014
The patch set supports flow director programming on fortville.
- reserve i40e resources for flow director, such as queue and vsi.
- support the new ethdev API rx_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 to get flow diretor information.
- support match statistics and FD ID report.
- fix the the Marco conflict between rte_ip.h and netinet/in.h.
- create real fdir vsi and assign queue 0 pair to it.
- check filter status report on the rx queue 0
- add flexible payload comprasion as flow director's input
- support sctpv4 and sctpv6 PCTYPEs
flow director resource reserve and initialize on i40e
define new ethdev API rx_classification_filter_ctl
function implement in i40e for flow director filter programming
function implement in i40e for flow director flush and info get
fix the Marco conflict
support FD ID report and match counter for i40e flow director
add commands and config functions for i40e flow director support
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 | 65 ++++
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 | 137 +++++++-
lib/librte_pmd_i40e/i40e_ethdev.h | 32 +-
lib/librte_pmd_i40e/i40e_fdir.c | 500 +++++++++++++++++++++++++++
lib/librte_pmd_i40e/i40e_rxtx.c | 176 +++++++++-
lib/librte_pmd_i40e/rte_i40e.h | 125 +++++++
15 files changed, 1906 insertions(+), 67 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