> -----Original Message----- > From: Intel-wired-lan <[email protected]> On Behalf Of > Ranganatha Rao > Sent: Wednesday, November 22, 2023 4:47 AM > To: [email protected] > Cc: Gardocki, PiotrX <[email protected]>; [email protected]; > Rao, Ranganatha <[email protected]>; Zaremba, Larysa > <[email protected]> > Subject: [Intel-wired-lan] [PATCH iwl-net v1 2/2] iavf: Handle ntuple on/off > based on new state machines for flow director > > From: Piotr Gardocki <[email protected]> > > 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: 0dbfbabb840d ("iavf: Add framework to enable ethtool ntuple filters") > Signed-off-by: Piotr Gardocki <[email protected]> > Reviewed-by: Larysa Zaremba <[email protected]> > Signed-off-by: Ranganatha Rao <[email protected]> > --- > drivers/net/ethernet/intel/iavf/iavf_main.c | 59 +++++++++++++++++++++ > 1 file changed, 59 insertions(+) > > diff --git a/drivers/net/ethernet/intel/iavf/iavf_main.c > b/drivers/net/ethernet/intel/iavf/iavf_main.c > index 567435e23936..98116872f6bd 100644 > --- a/drivers/net/ethernet/intel/iavf/iavf_main.c > +++ b/drivers/net/ethernet/intel/iavf/iavf_main.c
Tested-by: Rafal Romanowski <[email protected]> _______________________________________________ Intel-wired-lan mailing list [email protected] https://lists.osuosl.org/mailman/listinfo/intel-wired-lan
