> -----Original Message-----
> From: Intel-wired-lan <[email protected]> On Behalf Of
> Michal Swiatkowski
> Sent: Thursday, February 20, 2025 11:27 PM
> To: Keller, Jacob E <[email protected]>
> Cc: Nguyen, Anthony L <[email protected]>; Kitszel, Przemyslaw
> <[email protected]>; Michal Swiatkowski
> <[email protected]>; [email protected];
> [email protected]; Greenwalt, Paul <[email protected]>
> Subject: Re: [Intel-wired-lan] [PATCH iwl-net v2] ice: fix Get Tx Topology AQ
> command error on E830
> 
> On Thu, Feb 20, 2025 at 03:15:24PM -0800, Jacob Keller wrote:
> > From: Paul Greenwalt <[email protected]>
> >
> > The Get Tx Topology AQ command (opcode 0x0418) has different read flag
> > requriements depending on the hardware/firmware. For E810, E822, and
> E823
> > firmware the read flag must be set, and for newer hardware (E825 and
> E830)
> > it must not be set.
> >
> > This results in failure to configure Tx topology and the following warning
> > message during probe:
> >
> >   DDP package does not support Tx scheduling layers switching feature -
> >   please update to the latest DDP package and try again
> >
> > The current implementation only handles E825-C but not E830. It is
> > confusing as we first check ice_is_e825c() and then set the flag in the set
> > case. Finally, we check ice_is_e825c() again and set the flag for all other
> > hardware in both the set and get case.
> >
> > Instead, notice that we always need the read flag for set, but only need
> > the read flag for get on E810, E822, and E823 firmware. Fix the logic to
> > check the MAC type and set the read flag in get only on the older devices
> > which require it.
> >
> > Fixes: ba1124f58afd ("ice: Add E830 device IDs, MAC type and registers")
> > Signed-off-by: Paul Greenwalt <[email protected]>
> > Signed-off-by: Jacob Keller <[email protected]>
> > ---
> > Changes in v2:
> > - Update commit message to include the warning users see
> > - Rework code to set the flag for E810 and E822 instead of to *not* set it
> >   for E825-C and E830. We anticipate that future hardware and firmware
> >   versions will behave like E830.
> > - Link to v1: https://lore.kernel.org/r/20250218-jk-e830-ddp-loading-fix-
> [email protected]
> > ---
> >  drivers/net/ethernet/intel/ice/ice_ddp.c | 10 +++++-----
> >  1 file changed, 5 insertions(+), 5 deletions(-)
> >
> > diff --git a/drivers/net/ethernet/intel/ice/ice_ddp.c
> b/drivers/net/ethernet/intel/ice/ice_ddp.c
> > index
> 03988be03729b76e96188864896527060c8c4d5b..59323c019544fc1f75dc
> b8a5d31e0b0c82932fe1 100644
> > --- a/drivers/net/ethernet/intel/ice/ice_ddp.c
> > +++ b/drivers/net/ethernet/intel/ice/ice_ddp.c

Tested-by: Krishneil Singh <[email protected]>


Reply via email to