diff options
author | Rajesh Borundia <rajesh.borundia@qlogic.com> | 2012-06-06 07:35:06 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-06-07 13:18:53 -0700 |
commit | cae82d499979d99fc061f939d451244971024864 (patch) | |
tree | d3b971e44a39d0db9728c80167bd5b1ce062d145 /drivers/hid/hid-saitek.c | |
parent | c3001b773bb63afd403bae37febf3f09826912cb (diff) | |
download | talos-op-linux-cae82d499979d99fc061f939d451244971024864.tar.gz talos-op-linux-cae82d499979d99fc061f939d451244971024864.zip |
qlcnic: 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: Anirban Chakraborty <anirban.chakraborty@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/hid/hid-saitek.c')
0 files changed, 0 insertions, 0 deletions