Skip to content

ethdev: remove legacy filter API

Andrew Rybchenko dpdk-dev 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest14 patches 4 repliesIn review
  2. v114 patches 33 repliesSuperseded

Changes in v2 from the cover letter

- cleanup testpmd user guide
- try to improve descriptions a bit
- remove example/tep_termination mentions from patches description
- fix broken build because of unused static function left
- other chagnes are documented in specific patches

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/14ethdev: remove legacy MACVLAN filter type supportapp/test-pmd/cmdline.c doc/guides/rel_notes/deprecation.rst doc/guides/testpmd_app_ug/testpmd_funcs.rst +4 more+1 -2500 replies
2/14ethdev: move MAC filter type to i40e driverdrivers/net/i40e/i40e_ethdev.c drivers/net/i40e/i40e_ethdev.h drivers/net/i40e/i40e_pf.c +2 more+58 -580 replies
3/14ethdev: remove legacy EtherType filter type supportapp/test-pmd/cmdline.c doc/guides/nics/i40e.rst doc/guides/rel_notes/deprecation.rst +10 more+27 -5450 replies
4/14ethdev: remove legacy flexible filter type supportapp/test-pmd/cmdline.c doc/guides/rel_notes/deprecation.rst doc/guides/testpmd_app_ug/testpmd_funcs.rst +3 more+1 -3360 replies
5/14ethdev: move flexible filter type to e1000 driverdrivers/net/e1000/e1000_ethdev.h drivers/net/e1000/igb_ethdev.c drivers/net/e1000/igb_flow.c +1 more+39 -400 replies
6/14ethdev: remove legacy SYN filter type supportapp/test-pmd/cmdline.c doc/guides/rel_notes/deprecation.rst doc/guides/testpmd_app_ug/testpmd_funcs.rst +6 more+11 -2680 replies
7/14ethdev: remove legacy N-tuple filter type supportapp/test-pmd/cmdline.c doc/guides/rel_notes/deprecation.rst doc/guides/testpmd_app_ug/testpmd_funcs.rst +6 more+3 -9940 replies
8/14ethdev: remove legacy TUNNEL filter type supportapp/test-pmd/cmdline.c doc/guides/rel_notes/deprecation.rst doc/guides/testpmd_app_ug/testpmd_funcs.rst +6 more+54 -7370 replies
9/14ethdev: remove legacy HASH filter type supportapp/test-pmd/cmdline.c doc/guides/rel_notes/deprecation.rst doc/guides/testpmd_app_ug/testpmd_funcs.rst +4 more+6 -8340 replies
10/14ethdev: remove legacy L2_TUNNEL filter type supportapp/test-pmd/cmdline.c doc/guides/rel_notes/deprecation.rst doc/guides/testpmd_app_ug/testpmd_funcs.rst +2 more+1 -1810 replies
11/14ethdev: remove legacy global filter configuration supportapp/test-pmd/cmdline.c doc/guides/testpmd_app_ug/testpmd_funcs.rst drivers/net/i40e/i40e_ethdev.c +2 more+0 -1360 replies
12/14ethdev: remove legacy FDIR filter type supportapp/test-pmd/cmdline.c app/test-pmd/config.c app/test-pmd/testpmd.h +20 more+84 -31902 replies
13/14app/testpmd: remove command to set FDIR flexible filter maskapp/test-pmd/cmdline.c doc/guides/testpmd_app_ug/testpmd_funcs.rst+0 -1780 replies
14/14ethdev: remove legacy filter API functionsdoc/guides/rel_notes/deprecation.rst doc/guides/rel_notes/release_20_11.rst drivers/net/dpaa2/dpaa2_ethdev.c +8 more+27 -1170 replies

Reviews trailers per patch

8 of 14 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchAjit KhapardeHaiyue WangHyong Youb KimFerruh Yigit
SeriesR-b
1/14
2/14
3/14A-b A-b
4/14A-b
5/14A-b
6/14A-b
7/14A-b A-b
8/14A-b
9/14
10/14A-b
11/14
12/14A-b A-b A-b
13/14
14/14

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v2 thread

Cover letter [dpdk-dev] [PATCH v2 00/14] ethdev: remove legacy filter API

Removal is aggressive and tries to cleanup all dead code from drivers.

tep_termination example still uses TUNNEL filters. Functionality is broken when TUNNEL filter is removed and finally even build of the example is broken when API is removed. It is assumed that the example will be removed before the patch series applied.

v2:
- cleanup testpmd user guide
- try to improve descriptions a bit
- remove example/tep_termination mentions from patches description
- fix broken build because of unused static function left
- other chagnes are documented in specific patches

Andrew Rybchenko (14):
ethdev: remove legacy MACVLAN filter type support
ethdev: move MAC filter type to i40e driver
ethdev: remove legacy EtherType filter type support
ethdev: remove legacy flexible filter type support
ethdev: move flexible filter type to e1000 driver
ethdev: remove legacy SYN filter type support
ethdev: remove legacy N-tuple filter type support
ethdev: remove legacy TUNNEL filter type support
ethdev: remove legacy HASH filter type support
ethdev: remove legacy L2_TUNNEL filter type support
ethdev: remove legacy global filter configuration support
ethdev: remove legacy FDIR filter type support app/testpmd: remove command to set FDIR flexible filter mask
ethdev: remove legacy filter API functions

 app/test-pmd/cmdline.c                      | 2819 +------------------
 app/test-pmd/config.c                       |   15 +-
 app/test-pmd/testpmd.h                      |    2 +
 doc/guides/nics/i40e.rst                    |   16 +-
 doc/guides/rel_notes/deprecation.rst        |    8 -
 doc/guides/rel_notes/release_20_11.rst      |    3 +
 doc/guides/testpmd_app_ug/testpmd_funcs.rst |  461 +--
 drivers/net/bnxt/bnxt_ethdev.c              |  802 ------
 drivers/net/dpaa2/dpaa2_ethdev.c            |    4 -
 drivers/net/e1000/e1000_ethdev.h            |   22 +-
 drivers/net/e1000/igb_ethdev.c              |  391 +--
 drivers/net/e1000/igb_flow.c                |   36 +-
 drivers/net/enic/enic.h                     |    7 -
 drivers/net/enic/enic_clsf.c                |  168 --
 drivers/net/enic/enic_ethdev.c              |   48 -
 drivers/net/hinic/hinic_pmd_ethdev.h        |    1 +
 drivers/net/hns3/hns3_ethdev.h              |    1 +
 drivers/net/i40e/i40e_ethdev.c              |  828 +-----
 drivers/net/i40e/i40e_ethdev.h              |   26 +-
 drivers/net/i40e/i40e_fdir.c                |  539 ----
 drivers/net/i40e/i40e_pf.c                  |    2 +-
 drivers/net/i40e/rte_pmd_i40e.c             |   30 +-
 drivers/net/igc/igc_filter.h                |    1 +
 drivers/net/ixgbe/ixgbe_ethdev.c            |  305 +-
 drivers/net/ixgbe/ixgbe_ethdev.h            |    2 -
 drivers/net/ixgbe/ixgbe_fdir.c              |  220 --
 drivers/net/mlx5/mlx5.h                     |    1 -
 drivers/net/mlx5/mlx5_flow.c                |  516 ----
 drivers/net/mlx5/mlx5_flow.h                |    8 -
 drivers/net/qede/qede_ethdev.h              |    5 -
 drivers/net/qede/qede_filter.c              |  498 ----
 drivers/net/sfc/sfc_ethdev.c                |   27 -
 lib/librte_ethdev/rte_eth_ctrl.h            |  263 +-
 lib/librte_ethdev/rte_ethdev.c              |   28 -
 lib/librte_ethdev/rte_ethdev.h              |   41 -
 lib/librte_ethdev/rte_ethdev_driver.h       |  108 +
 lib/librte_ethdev/version.map               |    2 -
 37 files changed, 351 insertions(+), 7903 deletions(-)
Signature · 1 line
2.17.1