[dpdk-dev] [PATCH v4 0/4] NIC filters support for generic filter

Jingjing Wu jingjing.wu at intel.com
Mon Jun 16 09:31:42 CEST 2014


--- the v4 patchset changes:
--- change the type of rx_queue to uint16_t
--- change the parameter of rte_eth_dev_add_syn_filter API

--- the v3 patchset changes:
--- comments alignment

--- the v2 patchset changes:
--- add NIC filter support for 82576
--- rework for the whitespace and tab warning if using git apply to apply patch

A generic filter mechanism for handling special packet is required.
It will allow filters to be set in HW when available so that specific
packet may be filtered by NICs to specific descriptor queues for
processing. Currently only Flow Director for Intel's 10GbE 82599
devices is available. Other types of filter are not support.
NIC filters list below are implemented in this patchset:
  ethertype filter, syn filter, 2tuple filter and flex filter for 82580 and i350
  ethertype filter, syn filter, 5tuple filter for 82576 
  ethertype filter, syn filter and 5tuple filter for 82599

jingjing.wu (4):
  ethdev: add ethdev APIs for NIC filters of generic filter
  e1000: add igb NIC filters of generic filter feature
  ixgbe: add ixgbe NIC filters of generic filter feature
  app/test-pmd: add commands in testpmd for NIC filters

 app/test-pmd/cmdline.c              | 909 +++++++++++++++++++++++++++++++++++-
 app/test-pmd/config.c               | 147 ++++++
 app/test-pmd/testpmd.h              |   5 +
 lib/librte_ether/rte_ethdev.c       | 275 +++++++++++
 lib/librte_ether/rte_ethdev.h       | 428 +++++++++++++++++
 lib/librte_pmd_e1000/e1000_ethdev.h |  53 +++
 lib/librte_pmd_e1000/igb_ethdev.c   | 768 ++++++++++++++++++++++++++++++
 lib/librte_pmd_ixgbe/ixgbe_ethdev.c | 440 +++++++++++++++++
 lib/librte_pmd_ixgbe/ixgbe_ethdev.h |  34 ++
 9 files changed, 3058 insertions(+), 1 deletion(-)

-- 
1.8.1.4



More information about the dev mailing list