diff options
| author | Haiyang Zhang <[email protected]> | 2018-09-21 18:20:36 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2018-09-23 00:23:16 +0000 |
| commit | d6792a5a07479d27147c01ff22041409d5e4ce4c (patch) | |
| tree | 9fa467aff34010e914bc3b5628407929727ed889 /drivers/net/hyperv/hyperv_net.h | |
| parent | hv_netvsc: Add support for LRO/RSC in the vSwitch (diff) | |
| download | kernel-d6792a5a07479d27147c01ff22041409d5e4ce4c.tar.gz kernel-d6792a5a07479d27147c01ff22041409d5e4ce4c.zip | |
hv_netvsc: Add handler for LRO setting change
This patch adds the handler for LRO setting change, so that a user
can use ethtool command to enable / disable LRO feature.
Signed-off-by: Haiyang Zhang <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/net/hyperv/hyperv_net.h')
| -rw-r--r-- | drivers/net/hyperv/hyperv_net.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/hyperv/hyperv_net.h b/drivers/net/hyperv/hyperv_net.h index 7f1603dc8128..ef6f766f6389 100644 --- a/drivers/net/hyperv/hyperv_net.h +++ b/drivers/net/hyperv/hyperv_net.h @@ -185,6 +185,7 @@ struct rndis_device { /* Interface */ struct rndis_message; +struct ndis_offload_params; struct netvsc_device; struct netvsc_channel; struct net_device_context; @@ -218,6 +219,9 @@ void rndis_filter_device_remove(struct hv_device *dev, struct netvsc_device *nvdev); int rndis_filter_set_rss_param(struct rndis_device *rdev, const u8 *key); +int rndis_filter_set_offload_params(struct net_device *ndev, + struct netvsc_device *nvdev, + struct ndis_offload_params *req_offloads); int rndis_filter_receive(struct net_device *ndev, struct netvsc_device *net_dev, struct netvsc_channel *nvchan, |
