]> git.baikalelectronics.ru Git - kernel.git/commit
qlcnic: fix estimation of receive MSS in case of LRO for 83xx adapter
authorShahed Shaikh <shahed.shaikh@qlogic.com>
Mon, 18 Feb 2013 12:06:16 +0000 (12:06 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 19 Feb 2013 05:47:01 +0000 (00:47 -0500)
commit0b883ed7ca38775de4822ebbb66a40254791102b
tree299bad8dae01ef115cf5e6a9dd3f08d65f1ca449
parent8665bb1318341a9c2d6d11509584dabeebb0e592
qlcnic: fix estimation of receive MSS in case of LRO for 83xx adapter

Set gso_size to MSS obtained from adapter to avoid incorrect estimation
of receive MSS, which would lead to delayed ACKs in some traffic patterns

Example:
Send two or three packets and wait for ack and only then send
remaining packets.

Signed-off-by: Shahed Shaikh <shahed.shaikh@qlogic.com>
Signed-off-by: Jitendra Kalsaria <jitendra.kalsaria@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.h
drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c
drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c