diff options
author | Thomas Falcon <tlfalcon@linux.vnet.ibm.com> | 2017-10-17 12:36:56 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-10-19 13:20:32 +0100 |
commit | aa0bf8510dac901badc6889b208fc0e7d9225924 (patch) | |
tree | 9f7e2ea3ce19549cf99ddeebc4c0593f434dbd2e /drivers/net/ethernet | |
parent | fdb061056f57e849a05cac072a4998c7f33d797e (diff) | |
download | linux-aa0bf8510dac901badc6889b208fc0e7d9225924.tar.bz2 |
ibmvnic: Let users change net device features
Signed-off-by: Thomas Falcon <tlfalcon@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet')
-rw-r--r-- | drivers/net/ethernet/ibm/ibmvnic.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/ethernet/ibm/ibmvnic.c b/drivers/net/ethernet/ibm/ibmvnic.c index aedb81c230a6..b991703319f9 100644 --- a/drivers/net/ethernet/ibm/ibmvnic.c +++ b/drivers/net/ethernet/ibm/ibmvnic.c @@ -3019,6 +3019,8 @@ static void handle_query_ip_offload_rsp(struct ibmvnic_adapter *adapter) if (buf->large_tx_ipv6) adapter->netdev->features |= NETIF_F_TSO6; + adapter->netdev->hw_features |= adapter->netdev->features; + memset(&crq, 0, sizeof(crq)); crq.control_ip_offload.first = IBMVNIC_CRQ_CMD; crq.control_ip_offload.cmd = CONTROL_IP_OFFLOAD; |