On Wed, Aug 05, 2026 at 10:09:16PM -0700, Stephen Hemminger wrote:
> There are leftover bits of legacy flow director that are
> still being used by drivers. Move the definitions contained
> in ethdev_driver.h and rte_eth_ctrl.h into a single file
> ethdev_fdir.h and only include it in the drivers that
> require it.
> 
> Change rte_ethdev.h to include the headers required
> which it was previously getting from rte_eth_ctrl.h -> rte_flow.h.
> 
> Since ethdev_fdir.h is internal for driver SDK only
> it does not have to include as many secondary headers.
> 
> Signed-off-by: Stephen Hemminger <[email protected]>
> ---
>  doc/api/doxy-api-index.md                     |  1 -
>  drivers/net/hinic/hinic_pmd_ethdev.h          |  2 +
>  drivers/net/hinic3/hinic3_ethdev.h            |  1 +
>  drivers/net/intel/cpfl/cpfl_flow_engine_fxp.c |  2 +-
>  drivers/net/intel/e1000/e1000_ethdev.h        |  1 +
>  drivers/net/intel/e1000/igc_filter.h          |  2 +-
>  drivers/net/intel/i40e/i40e_ethdev.h          |  1 +
>  drivers/net/intel/iavf/iavf_fsub.c            |  2 +-
>  drivers/net/intel/iavf/iavf_hash.c            |  2 +-
>  drivers/net/intel/ice/ice_acl_filter.c        |  2 +-
>  drivers/net/intel/ice/ice_ethdev.h            |  2 +
>  drivers/net/intel/ice/ice_generic_flow.c      |  1 +
>  drivers/net/intel/ice/ice_hash.c              |  2 +-
>  drivers/net/intel/ice/ice_switch_filter.c     |  2 +-
>  drivers/net/intel/ipn3ke/ipn3ke_flow.c        |  2 +-
>  drivers/net/intel/ixgbe/ixgbe_ethdev.h        |  1 +
>  drivers/net/nbl/nbl_include/nbl_include.h     |  1 +
>  drivers/net/txgbe/txgbe_ethdev.h              |  1 +
>  lib/ethdev/ethdev_driver.h                    | 36 -----------
>  lib/ethdev/{rte_eth_ctrl.h => ethdev_fdir.h}  | 62 +++++++++++++++----
>  lib/ethdev/meson.build                        |  2 +-
>  lib/ethdev/rte_ethdev.h                       | 13 +---
>  22 files changed, 71 insertions(+), 70 deletions(-)
>  rename lib/ethdev/{rte_eth_ctrl.h => ethdev_fdir.h} (90%)
> 

Acked-by: Bruce Richardson <[email protected]>

Reply via email to