]> 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)
commit43b1fad84d0508b4806015b4d7dc5b2a986ea2e2
tree299bad8dae01ef115cf5e6a9dd3f08d65f1ca449
parentdb63dd87d843429f7f10d2461448ee086843bebd
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