diff options
author | 2023-12-21 16:40:28 -0500 | |
---|---|---|
committer | 2024-01-03 11:19:47 -0800 | |
commit | 9fb266dcb6aab27867b22f7bc9e4ad6bd14b2ddc (patch) | |
tree | f8763f2c647bec51637e56b5a1e89b28775e36a6 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | i40e: Restore VF MSI-X state during PCI reset (diff) | |
download | linux-rng-9fb266dcb6aab27867b22f7bc9e4ad6bd14b2ddc.tar.xz linux-rng-9fb266dcb6aab27867b22f7bc9e4ad6bd14b2ddc.zip |
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@intel.com>
Signed-off-by: Paul Greenwalt <paul.greenwalt@intel.com>
Tested-by: Pucha Himasekhar Reddy <himasekharx.reddy.pucha@intel.com> (A Contingent worker at Intel)
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions