mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
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>
This commit is contained in:
parent
55128bc23e
commit
65ab8385b6
1 changed files with 1 additions and 2 deletions
|
@ -2276,8 +2276,7 @@ no_mem:
|
||||||
} else if ((len = ntohl(r->len_cq)) != 0) {
|
} else if ((len = ntohl(r->len_cq)) != 0) {
|
||||||
struct sge_fl *fl;
|
struct sge_fl *fl;
|
||||||
|
|
||||||
if (eth)
|
lro &= eth && is_eth_tcp(rss_hi);
|
||||||
lro = qs->lro_enabled && is_eth_tcp(rss_hi);
|
|
||||||
|
|
||||||
fl = (len & F_RSPD_FLQ) ? &qs->fl[1] : &qs->fl[0];
|
fl = (len & F_RSPD_FLQ) ? &qs->fl[1] : &qs->fl[0];
|
||||||
if (fl->use_pages) {
|
if (fl->use_pages) {
|
||||||
|
|
Loading…
Reference in a new issue