net/ixgbe/base: fix host interface shadow RAM read
authorGuinan Sun <guinanx.sun@intel.com>
Thu, 9 Jul 2020 08:00:28 +0000 (08:00 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Sat, 11 Jul 2020 04:18:53 +0000 (06:18 +0200)
commit713fc4dd340e5eadd3bfa9a468446afaa5188624
treed7db7ae49a593ff42ed610a20dda601d9a7adb8d
parenta50d7cbbdad74c05aa9ac937ccf930a8b067e6b4
net/ixgbe/base: fix host interface shadow RAM read

Host interface Shadow RAM Read (0x31) command response
buffer length should be stored in two bytes, instead of one byte.
This patch fixes it.

Fixes: e6102361b1d4 ("net/ixgbe/base: use 2 bytes for flash read command")
Cc: stable@dpdk.org
Signed-off-by: Mateusz Kowalski <mateusz.kowalski@intel.com>
Signed-off-by: Guinan Sun <guinanx.sun@intel.com>
Reviewed-by: Wei Zhao <wei.zhao1@intel.com>
drivers/net/ixgbe/base/ixgbe_common.c
drivers/net/ixgbe/base/ixgbe_type.h