> -----Original Message----- > From: Intel-wired-lan <[email protected]> On Behalf Of > Ahmed Zaki > Sent: Monday, May 27, 2024 8:58 PM > To: [email protected] > Cc: [email protected]; Zaki, Ahmed <[email protected]>; Marcin > Szycik <[email protected]>; Nguyen, Anthony L > <[email protected]>; Keller, Jacob E <[email protected]>; Guo, > Junfeng <[email protected]> > Subject: [Intel-wired-lan] [PATCH iwl-next v2 10/13] ice: add method to > disable > FDIR SWAP option > > From: Junfeng Guo <[email protected]> > > The SWAP Flag in the FDIR Programming Descriptor doesn't work properly, it is > always set and cannot be unset (hardware bug). Thus, add a method to > effectively > disable the FDIR SWAP option by setting the FDSWAP instead of FDINSET > registers. > > Reviewed-by: Marcin Szycik <[email protected]> > Signed-off-by: Junfeng Guo <[email protected]> > Signed-off-by: Ahmed Zaki <[email protected]> > --- > .../net/ethernet/intel/ice/ice_flex_pipe.c | 50 ++++++++++++++++++- > .../net/ethernet/intel/ice/ice_flex_pipe.h | 4 +- > drivers/net/ethernet/intel/ice/ice_flow.c | 2 +- > 3 files changed, 52 insertions(+), 4 deletions(-) > > diff --git a/drivers/net/ethernet/intel/ice/ice_flex_pipe.c > b/drivers/net/ethernet/intel/ice/ice_flex_pipe.c > index 20d5db88c99f..99f420663e38 100644 > --- a/drivers/net/ethernet/intel/ice/ice_flex_pipe.c > +++ b/drivers/net/ethernet/intel/ice/ice_flex_pipe.c > @@ -2981,6 +2981,49 @@ ice_add_prof_attrib(struct ice_prof_map *prof, u8 > ptg, u16 ptype, }
Tested-by: Rafal Romanowski <[email protected]>
