Home
last modified time | relevance | path

Searched refs:nvdev (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.4/drivers/net/hyperv/
Dnetvsc_drv.c86 struct netvsc_device *nvdev; in netvsc_set_rx_mode() local
95 nvdev = rcu_dereference(ndev_ctx->nvdev); in netvsc_set_rx_mode()
96 if (nvdev) in netvsc_set_rx_mode()
97 rndis_filter_update(nvdev); in netvsc_set_rx_mode()
114 struct netvsc_device *nvdev = rtnl_dereference(ndev_ctx->nvdev); in netvsc_open() local
121 ret = rndis_filter_open(nvdev); in netvsc_open()
127 rdev = nvdev->extension; in netvsc_open()
130 netvsc_tx_enable(nvdev, net); in netvsc_open()
147 static int netvsc_wait_until_empty(struct netvsc_device *nvdev) in netvsc_wait_until_empty() argument
156 for (i = 0; i < nvdev->num_chn; i++) { in netvsc_wait_until_empty()
[all …]
Drndis_filter.c261 struct netvsc_device *nvdev, in rndis_filter_receive_response() argument
264 struct rndis_device *dev = nvdev->extension; in rndis_filter_receive_response()
379 struct netvsc_device *nvdev, in rndis_filter_receive_data() argument
449 ret = netvsc_recv_callback(ndev, nvdev, nvchan); in rndis_filter_receive_data()
498 struct netvsc_device *nvdev, in rndis_filter_query_device() argument
527 u32 nvsp_version = nvdev->nvsp_version; in rndis_filter_query_device()
644 int rndis_filter_set_device_mac(struct netvsc_device *nvdev, in rndis_filter_set_device_mac() argument
647 struct rndis_device *rdev = nvdev->extension; in rndis_filter_set_device_mac()
710 struct netvsc_device *nvdev, in rndis_filter_set_offload_params() argument
713 struct rndis_device *rdev = nvdev->extension; in rndis_filter_set_offload_params()
[all …]
Dnetvsc.c37 struct netvsc_device *nv_dev = rtnl_dereference(net_device_ctx->nvdev); in netvsc_switch_datapath()
63 struct netvsc_device *nvdev = in netvsc_subchan_work() local
74 rdev = nvdev->extension; in netvsc_subchan_work()
76 ret = rndis_set_subchannel(rdev->ndev, nvdev, NULL); in netvsc_subchan_work()
81 for (i = 1; i < nvdev->num_chn; i++) in netvsc_subchan_work()
82 netif_napi_del(&nvdev->chan_table[i].napi); in netvsc_subchan_work()
84 nvdev->max_chn = 1; in netvsc_subchan_work()
85 nvdev->num_chn = 1; in netvsc_subchan_work()
116 struct netvsc_device *nvdev in free_netvsc_device() local
120 kfree(nvdev->extension); in free_netvsc_device()
[all …]
Dhyperv_net.h197 struct netvsc_device *nvdev,
203 struct netvsc_device *nvdev,
205 int rndis_filter_open(struct netvsc_device *nvdev);
206 int rndis_filter_close(struct netvsc_device *nvdev);
209 void rndis_filter_update(struct netvsc_device *nvdev);
211 struct netvsc_device *nvdev);
215 struct netvsc_device *nvdev,
923 struct netvsc_device __rcu *nvdev; member