[dpdk-dev] [PATCH 0/5] new ntuple filter replaces 2tuple and 5tuple filters

Jingjing Wu jingjing.wu at intel.com
Thu Jan 15 02:45:56 CET 2015


The patch set uses new filter_ctrl API to replace old 2tuple and 5tuple filter APIs.
It defines ntuple filter to combine 2tuple and 5tuple types. 
It uses new functions and structure to replace old ones in igb/ixgbe driver,
new commands to replace old ones in testpmd, and removes the old APIs.
It removes the filter's index parameters from user interface, only the
filter's key and assigned queue are visible to user.

Jingjing Wu (5):
  ethdev: define ntuple filter type and its structure
  ixgbe: ntuple filter functions replace old ones for 5tuple filter
  e1000: ntuple filter functions replace old ones for 2tuple and 5tuple
    filter
  testpmd: new commands for ntuple filter
  ethdev: remove old APIs and structures of 5tuple and 2tuple filters

 app/test-pmd/cmdline.c              | 406 ++++++++--------
 app/test-pmd/config.c               |  65 ---
 lib/librte_ether/rte_eth_ctrl.h     |  57 +++
 lib/librte_ether/rte_ethdev.c       | 116 -----
 lib/librte_ether/rte_ethdev.h       | 193 --------
 lib/librte_pmd_e1000/e1000_ethdev.h |  79 +++-
 lib/librte_pmd_e1000/igb_ethdev.c   | 892 +++++++++++++++++++++++++-----------
 lib/librte_pmd_ixgbe/ixgbe_ethdev.c | 489 +++++++++++++++-----
 lib/librte_pmd_ixgbe/ixgbe_ethdev.h |  62 ++-
 9 files changed, 1344 insertions(+), 1015 deletions(-)

-- 
1.9.3



More information about the dev mailing list