aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/ibm/ibmvnic.c
diff options
context:
space:
mode:
authorThomas Falcon <tlfalcon@linux.ibm.com>2019-04-10 11:06:59 -0500
committerDavid S. Miller <davem@davemloft.net>2019-04-10 12:29:37 -0700
commitb66b7bd2bdc1a74c46a0a470f9ac19629320d212 (patch)
tree735c55a0c9db6ab48a1ae6dbea988d5575552423 /drivers/net/ethernet/ibm/ibmvnic.c
parentMerge branch 'mlxsw-Various-fixes' (diff)
downloadlinux-dev-b66b7bd2bdc1a74c46a0a470f9ac19629320d212.tar.xz
linux-dev-b66b7bd2bdc1a74c46a0a470f9ac19629320d212.zip
ibmvnic: Enable GRO
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>
Diffstat (limited to 'drivers/net/ethernet/ibm/ibmvnic.c')
-rw-r--r--drivers/net/ethernet/ibm/ibmvnic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/ibm/ibmvnic.c b/drivers/net/ethernet/ibm/ibmvnic.c
index 51cfe95f3e24..cc22c5351513 100644
--- 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_GSO;
+ adapter->netdev->hw_features = NETIF_F_SG | NETIF_F_GSO | NETIF_F_GRO;
if (buf->tcp_ipv4_chksum || buf->udp_ipv4_chksum)
adapter->netdev->features |= NETIF_F_IP_CSUM;