projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f8d49be
)
ibmvnic: Enable GRO
author
Thomas Falcon
<tlfalcon@linux.ibm.com>
Wed, 10 Apr 2019 16:06:59 +0000
(11:06 -0500)
committer
David S. Miller
<davem@davemloft.net>
Wed, 10 Apr 2019 19:29:37 +0000
(12:29 -0700)
Enable Generic Receive Offload in the ibmvnic driver.
Signed-off-by: Thomas Falcon <tlfalcon@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ibm/ibmvnic.c
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/ibm/ibmvnic.c
b/drivers/net/ethernet/ibm/ibmvnic.c
index 51cfe95f3e247d9fd025bc474964289337b4c4d0..cc22c5351513911c639857bc15bffeebe15bd887 100644
(file)
--- a/
drivers/net/ethernet/ibm/ibmvnic.c
+++ b/
drivers/net/ethernet/ibm/ibmvnic.c
@@
-3837,7
+3837,7
@@
static void handle_query_ip_offload_rsp(struct ibmvnic_adapter *adapter)
adapter->ip_offload_ctrl.large_rx_ipv4 = 0;
adapter->ip_offload_ctrl.large_rx_ipv6 = 0;
- adapter->netdev->
features = NETIF_F_SG | NETIF_F_GS
O;
+ adapter->netdev->
hw_features = NETIF_F_SG | NETIF_F_GSO | NETIF_F_GR
O;
if (buf->tcp_ipv4_chksum || buf->udp_ipv4_chksum)
adapter->netdev->features |= NETIF_F_IP_CSUM;