[Intel-wired-lan] [PATCH iwl-net] ice: fix Get link status data length
Pucha, HimasekharX Reddy
himasekharx.reddy.pucha at intel.com
Mon Jan 1 07:50:43 UTC 2024
> -----Original Message-----
> From: Intel-wired-lan <intel-wired-lan-bounces at osuosl.org> On Behalf Of Paul Greenwalt
> Sent: Friday, December 22, 2023 3:10 AM
> To: intel-wired-lan at lists.osuosl.org
> Cc: Kitszel, Przemyslaw <przemyslaw.kitszel at intel.com>; Greenwalt, Paul <paul.greenwalt at intel.com>
> Subject: [Intel-wired-lan] [PATCH iwl-net] ice: fix Get link status data length
>
> Get link status version 2 (opcode 0x0607) is returning an error because FW
> expects a data length of 56 bytes, and this is causing the driver to fail
> probe.
>
> Update the get link status version 2 data length to 56 bytes by adding 5
> byte reserved5 field to the end of struct ice_aqc_get_link_status_data and
> passing it as parameter to offsetofend() to the fix error.
>
> Fixes: 2777d24ec6d1 ("ice: Add ice_get_link_status_datalen")
> Reviewed-by: Przemek Kitszel <przemyslaw.kitszel at intel.com>
> Signed-off-by: Paul Greenwalt <paul.greenwalt at intel.com>
> ---
> drivers/net/ethernet/intel/ice/ice_adminq_cmd.h | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
Tested-by: Pucha Himasekhar Reddy <himasekharx.reddy.pucha at intel.com> (A Contingent worker at Intel)
More information about the Intel-wired-lan
mailing list