v2 changes: change the return value if adding an existing filter from the filter's index to negative value.
The patch set uses new filter_ctrl API to replace old ethertype filter APIs. 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. Jingjing Wu (4): ixgbe: new functions replace old ones for ethertype filter e1000: new functions replace old ones for ethertype filter testpmd: new commands for ethertype filter ethdev: remove old APIs and structures of ethertype filter app/test-pmd/cmdline.c | 253 ++++++++++++-------------- app/test-pmd/config.c | 27 --- lib/librte_ether/rte_ethdev.c | 57 ------ lib/librte_ether/rte_ethdev.h | 88 --------- lib/librte_pmd_e1000/e1000_ethdev.h | 13 ++ lib/librte_pmd_e1000/igb_ethdev.c | 332 +++++++++++++++++++++------------ lib/librte_pmd_ixgbe/ixgbe_ethdev.c | 354 +++++++++++++++++++++++------------- lib/librte_pmd_ixgbe/ixgbe_ethdev.h | 13 ++ 8 files changed, 579 insertions(+), 558 deletions(-) -- 1.9.3