diff options
| author | Jesse Brandeburg <[email protected]> | 2014-04-01 09:07:20 +0000 |
|---|---|---|
| committer | Jeff Kirsher <[email protected]> | 2014-04-19 00:42:45 +0000 |
| commit | 059dab69652da3525d320d77ac5422ec708ced14 (patch) | |
| tree | d4efdfc6e31e663ba1197aa6c88ca7a59e422435 /drivers/net/ethernet/intel/igb/igb_main.c | |
| parent | i40e: remove open-coded skb_cow_head (diff) | |
| download | kernel-059dab69652da3525d320d77ac5422ec708ced14.tar.gz kernel-059dab69652da3525d320d77ac5422ec708ced14.zip | |
i40e: fix TCP flag replication for hardware offload
As reported by Eric Dumazet, the i40e driver was allowing the hardware
to replicate the PSH flag on all segments of a TSO operation.
This patch fixes the first/middle/last TCP flags settings which
makes the TSO operations work correctly.
With this change we are now configuring the CWR bit to only be set
in the first packet of a TSO, so this patch also enables TSO_ECN,
in order to advertise to the stack that we do the right thing
on the wire.
Reported-by: Eric Dumazet <[email protected]>
Signed-off-by: Jesse Brandeburg <[email protected]>
Tested-by: Kavindya Deegala <[email protected]>
Signed-off-by: Jeff Kirsher <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/igb/igb_main.c')
0 files changed, 0 insertions, 0 deletions
