diff options
author | Thomas Falcon <tlfalcon@linux.ibm.com> | 2019-04-10 11:06:59 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-04-10 12:29:37 -0700 |
commit | b66b7bd2bdc1a74c46a0a470f9ac19629320d212 (patch) | |
tree | 735c55a0c9db6ab48a1ae6dbea988d5575552423 /drivers/net | |
parent | f8d49bee4a5e3bd7ce0026e4a83098fcc53b8e7d (diff) | |
download | linux-b66b7bd2bdc1a74c46a0a470f9ac19629320d212.tar.bz2 |
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')
-rw-r--r-- | drivers/net/ethernet/ibm/ibmvnic.c | 2 |
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; |