linux/drivers/net/ethernet/intel/iavf
Piotr Gardocki 09d23b8918 iavf: Handle ntuple on/off based on new state machines for flow director
ntuple-filter feature on/off:
Default is on. If turned off, the filters will be removed from both
PF and iavf list. The removal is irrespective of current filter state.

Steps to reproduce:
-------------------

1. Ensure ntuple is on.

ethtool -K enp8s0 ntuple-filters on

2. Create a filter to receive the traffic into non-default rx-queue like 15
and ensure traffic is flowing into queue into 15.
Now, turn off ntuple. Traffic should not flow to configured queue 15.
It should flow to default RX queue.

Fixes: 0dbfbabb84 ("iavf: Add framework to enable ethtool ntuple filters")
Signed-off-by: Piotr Gardocki <piotrx.gardocki@intel.com>
Reviewed-by: Larysa Zaremba <larysa.zaremba@intel.com>
Signed-off-by: Ranganatha Rao <ranganatha.rao@intel.com>
Tested-by: Rafal Romanowski <rafal.romanowski@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
2023-12-12 11:21:30 -08:00
..
iavf.h iavf: Introduce new state machines for flow director 2023-12-12 11:20:40 -08:00
iavf_adminq.c
iavf_adminq.h
iavf_adminq_cmd.h
iavf_adv_rss.c
iavf_adv_rss.h
iavf_alloc.h
iavf_common.c
iavf_devids.h
iavf_ethtool.c iavf: Introduce new state machines for flow director 2023-12-12 11:20:40 -08:00
iavf_fdir.c
iavf_fdir.h iavf: Introduce new state machines for flow director 2023-12-12 11:20:40 -08:00
iavf_main.c iavf: Handle ntuple on/off based on new state machines for flow director 2023-12-12 11:21:30 -08:00
iavf_osdep.h
iavf_prototype.h
iavf_register.h
iavf_status.h
iavf_trace.h
iavf_txrx.c
iavf_txrx.h iavf: validate tx_coalesce_usecs even if rx_coalesce_usecs is zero 2023-12-05 10:51:22 -08:00
iavf_type.h
iavf_virtchnl.c iavf: Introduce new state machines for flow director 2023-12-12 11:20:40 -08:00
Makefile