tg3: Fix TSO loopback test
Subsystems (2)
PATCH 7/13 tg3: Fix TSO loopback test
Commit bb158d696489244f79fd4c3abd47968a06b48c79, entitled "tg3: Add TSO loopback test", mistakenly inverted the checksum field test from the receive BD. This patch corrects the problem.
Signed-off-by Matt Carlson <[email protected]>
Reviewed-by Michael Chan <[email protected]>
--- drivers/net/tg3.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/net/tg3.c +1 -1
@@ -11195,7 +11195,7 @@ static int tg3_run_loopback(struct tg3 *tp, u32 pktsz, int loopback_mode) } }else if ((desc->type_flags &RXD_FLAG_TCPUDP_CSUM ) && (desc->ip_tcp_csum &RXD_TCPCSUM_MASK ) - >>RXD_TCPCSUM_SHIFT ==0xffff ) { + >>RXD_TCPCSUM_SHIFT !=0xffff ) { goto out; }
Signature · 1 line
1.7.3.4