diff options
author | Gavin Shan <gwshan@linux.vnet.ibm.com> | 2017-10-19 13:43:09 +1100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-10-21 01:56:38 +0100 |
commit | 0a90e251988ceedc528c8db98f25b051cf190f44 (patch) | |
tree | 5a090916c47e7d470a0a8f6cf83a97116e5c1d94 /net/core/lwt_bpf.c | |
parent | 52b4c8627f9f0d882e969967a207a27a80c9c753 (diff) |
net/ncsi: Fix length of GVI response packet
The length of GVI (GetVersionInfo) response packet should be 40 instead
of 36. This issue was found from /sys/kernel/debug/ncsi/eth0/stats.
# ethtool --ncsi eth0 swstats
:
RESPONSE OK TIMEOUT ERROR
=======================================
GVI 0 0 2
With this applied, no error reported on GVI response packets:
# ethtool --ncsi eth0 swstats
:
RESPONSE OK TIMEOUT ERROR
=======================================
GVI 2 0 0
Signed-off-by: Gavin Shan <gwshan@linux.vnet.ibm.com>
Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/lwt_bpf.c')
0 files changed, 0 insertions, 0 deletions