ethdev: deprecate legacy filter API
authorThomas Monjalon <thomas@monjalon.net>
Wed, 17 Apr 2019 00:36:27 +0000 (02:36 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 19 Apr 2019 12:51:54 +0000 (14:51 +0200)
commitb7ed955a20eee5979eaecc9fab500a176e2741c5
treeff439d30ef2fe15868dc044ac031f72e407104f8
parenta1db738273f90e4e0ae98e64c222c52879a75c35
ethdev: deprecate legacy filter API

As stated in the deprecation notice from December 2016,
"the legacy filter API, including rte_eth_dev_filter_supported(),
rte_eth_dev_filter_ctrl() as well as filter types MACVLAN, ETHERTYPE,
FLEXIBLE, SYN, NTUPLE, TUNNEL, FDIR, HASH and L2_TUNNEL, is superseded
by the generic flow API (rte_flow)".

After a long wait of more than two years, the legacy filter API
is marked as deprecated, while still tested with testpmd and
the tep_termination example.

The next step will be to announce a deadline for complete removal.
As preparation of the removal of rte_eth_ctrl.h,
RTE_ETH_FLOW_*, RTE_TUNNEL_TYPE_* and RTE_ETH_HASH_FUNCTION_* definitions
are moved to rte_ethdev.h and rte_flow.h.

Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
Acked-by: Shahaf Shuler <shahafs@mellanox.com>
Acked-by: Andrew Rybchenko <arybchenko@solarflare.com>
Acked-by: Jerin Jacob <jerinj@marvell.com>
Acked-by: Stephen Hemminger <stephen@networkplumber.org>
Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com>
Acked-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>
Acked-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
20 files changed:
app/test-pmd/cmdline.c
app/test-pmd/cmdline_flow.c
drivers/net/dpaa2/dpaa2_flow.c
drivers/net/dpaa2/dpaa2_mux.c
drivers/net/enic/enic_clsf.c
drivers/net/failsafe/failsafe_ops.c
drivers/net/i40e/i40e_ethdev.c
drivers/net/i40e/i40e_ethdev.h
drivers/net/i40e/i40e_flow.c
drivers/net/mlx4/mlx4_flow.c
drivers/net/mlx4/mlx4_flow.h
drivers/net/mlx5/mlx5_flow.c
drivers/net/mlx5/mlx5_flow_dv.c
drivers/net/mlx5/mlx5_flow_verbs.c
drivers/net/sfc/sfc_flow.c
examples/tep_termination/Makefile
examples/tep_termination/meson.build
lib/librte_ethdev/rte_eth_ctrl.h
lib/librte_ethdev/rte_ethdev.h
lib/librte_ethdev/rte_flow.h