mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
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 <haiyangz@microsoft.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
c8e4eff467
commit
d6792a5a07
3 changed files with 42 additions and 3 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue