]> git.baikalelectronics.ru Git - kernel.git/commit
sfc: fix IPID endianness in TSOv2
authorEdward Cree <ecree@solarflare.com>
Fri, 3 Mar 2017 15:22:27 +0000 (15:22 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 3 Mar 2017 18:06:38 +0000 (10:06 -0800)
commit4b49804158beb14a64418c61eaf927c1aea32a07
tree1f1da897d2cd785e1a8c303c752f363c2bb862c2
parent7478fafc30126822afaba7d77725936d8c8396f3
sfc: fix IPID endianness in TSOv2

The value we read from the header is in network byte order, whereas
 EFX_POPULATE_QWORD_* takes values in host byte order (which it then
 converts to little-endian, as MCDI is little-endian).

Fixes: b3818c9f8958 ("sfc: Firmware-Assisted TSO version 2")
Signed-off-by: Edward Cree <ecree@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/sfc/ef10.c