vmxnet3: turn off lro when rxcsum is disabled
Currently, when rx csum is disabled, vmxnet3 driver does not turn off lro, which can cause performance issues if user does not turn off lro explicitly. This patch adds fix_features support which is used to turn off LRO whenever RXCSUM is disabled. Signed-off-by: Ronak Doshi <doshir@vmware.com> Acked-by: Rishi Mehta <rmehta@vmware.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
9ec49a7e58
commit
3dd7400b41
@@ -3247,6 +3247,7 @@ vmxnet3_probe_device(struct pci_dev *pdev,
|
||||
.ndo_start_xmit = vmxnet3_xmit_frame,
|
||||
.ndo_set_mac_address = vmxnet3_set_mac_addr,
|
||||
.ndo_change_mtu = vmxnet3_change_mtu,
|
||||
.ndo_fix_features = vmxnet3_fix_features,
|
||||
.ndo_set_features = vmxnet3_set_features,
|
||||
.ndo_get_stats64 = vmxnet3_get_stats64,
|
||||
.ndo_tx_timeout = vmxnet3_tx_timeout,
|
||||
|
Reference in New Issue
Block a user