summaryrefslogtreecommitdiffstats
path: root/drivers/hid
diff options
context:
space:
mode:
authorRajesh Borundia <rajesh.borundia@qlogic.com>2012-05-09 05:55:30 +0000
committerDavid S. Miller <davem@davemloft.net>2012-05-09 22:53:04 -0400
commit01da0c2b0391443d98c2088121901d029f72a4f2 (patch)
tree086fb635feffda45ab629820127e8442e41ae16e /drivers/hid
parentd612698b6246032370b96abc9afe94c8a66772c2 (diff)
downloadop-kernel-dev-01da0c2b0391443d98c2088121901d029f72a4f2.zip
op-kernel-dev-01da0c2b0391443d98c2088121901d029f72a4f2.tar.gz
netxen_nic: Fix estimation of recv MSS in case of LRO
o Linux stack estimates MSS from skb->len or skb_shinfo(skb)->gso_size. In case of LRO skb->len is aggregate of len of number of packets hence MSS obtained using skb->len would be incorrect. Incorrect estimation of recv MSS would lead to delayed acks in some traffic patterns (which sends two or three packets and wait for ack and only then send remaining packets). This leads to drop in performance. Hence we need to set gso_size to MSS obtained from firmware. o This is fixed recently in firmware hence the MSS is obtained based on capability. If fw is capable of sending the MSS then only driver sets the gso_size. Signed-off-by: Rajesh Borundia <rajesh.borundia@qlogic.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/hid')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud