--- 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): add ethdev APIs for NIC filters of generic filter add igb NIC filters of generic filter feature add ixgbe NIC filters of generic filter feature add commands in testpmd for NIC filters app/test-pmd/cmdline.c | 907 +++++++++++++++++++++++++++++++++++- app/test-pmd/config.c | 145 ++++++ app/test-pmd/testpmd.h | 5 + lib/librte_ether/rte_ethdev.c | 281 +++++++++++ lib/librte_ether/rte_ethdev.h | 425 +++++++++++++++++ lib/librte_pmd_e1000/e1000_ethdev.h | 53 +++ lib/librte_pmd_e1000/igb_ethdev.c | 745 +++++++++++++++++++++++++++++ lib/librte_pmd_ixgbe/ixgbe_ethdev.c | 408 ++++++++++++++++ lib/librte_pmd_ixgbe/ixgbe_ethdev.h | 34 ++ 9 files changed, 3002 insertions(+), 1 deletion(-) -- 1.8.1.4