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>
This commit is contained in:
parent
fdb061056f
commit
aa0bf8510d
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user