android_kernel_motorola_sm6375/net/ncsi
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Gavin Shan 0a90e25198 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 <[email protected]>
Signed-off-by: Samuel Mendoza-Jonas <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
2017-10-21 01:56:38 +01:00
..
internal.h net/ncsi: Don't limit vids based on hot_channel 2017-10-11 20:10:37 -07:00
Kconfig
Makefile
ncsi-aen.c net/ncsi: Fix AEN HNCDSC packet length 2017-10-21 01:56:38 +01:00
ncsi-cmd.c net/ncsi: Fix several packet definitions 2017-08-28 16:49:49 -07:00
ncsi-manage.c net/ncsi: Enforce failover on link monitor timeout 2017-10-21 01:56:38 +01:00
ncsi-pkt.h net/ncsi: Fix several packet definitions 2017-08-28 16:49:49 -07:00
ncsi-rsp.c net/ncsi: Fix length of GVI response packet 2017-10-21 01:56:38 +01:00