Re: [PATCH net 5/5] net/ncsi: Fix length of GVI response packet

From: David Miller
Date: Fri Oct 20 2017 - 20:57:34 EST


From: Samuel Mendoza-Jonas <sam@xxxxxxxxxxxxxxxx>
Date: Thu, 19 Oct 2017 13:43:09 +1100

> From: Gavin Shan <gwshan@xxxxxxxxxxxxxxxxxx>
>
> 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@xxxxxxxxxxxxxxxxxx>
> Signed-off-by: Samuel Mendoza-Jonas <sam@xxxxxxxxxxxxxxxx>

Applied.