Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

cxgb3: Fix lro switch

The LRO switch is always set to 1 in the rx processing loop.
It breaks the accelerated iSCSI receive traffic.
Fix its computation.

Signed-off-by: Divy Le Ray <divy@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by

Divy Le Ray and committed by
David S. Miller
65ab8385 55128bc2

+1 -2
+1 -2
drivers/net/cxgb3/sge.c
··· 2276 2276 } else if ((len = ntohl(r->len_cq)) != 0) { 2277 2277 struct sge_fl *fl; 2278 2278 2279 - if (eth) 2280 - lro = qs->lro_enabled && is_eth_tcp(rss_hi); 2279 + lro &= eth && is_eth_tcp(rss_hi); 2281 2280 2282 2281 fl = (len & F_RSPD_FLQ) ? &qs->fl[1] : &qs->fl[0]; 2283 2282 if (fl->use_pages) {