Home
last modified time | relevance | path

Searched refs:netvsc_device (Results 1 – 5 of 5) sorted by relevance

/Linux-v5.15/drivers/net/hyperv/
Dnetvsc.c38 struct netvsc_device *nv_dev = rtnl_dereference(net_device_ctx->nvdev); in netvsc_switch_datapath()
98 struct netvsc_device *nvdev = in netvsc_subchan_work()
99 container_of(w, struct netvsc_device, subchan_work); in netvsc_subchan_work()
127 static struct netvsc_device *alloc_net_device(void) in alloc_net_device()
129 struct netvsc_device *net_device; in alloc_net_device()
131 net_device = kzalloc(sizeof(struct netvsc_device), GFP_KERNEL); in alloc_net_device()
151 struct netvsc_device *nvdev in free_netvsc_device()
152 = container_of(head, struct netvsc_device, rcu); in free_netvsc_device()
169 static void free_netvsc_device_rcu(struct netvsc_device *nvdev) in free_netvsc_device_rcu()
175 struct netvsc_device *net_device, in netvsc_revoke_recv_buf()
[all …]
Dhyperv_net.h214 struct netvsc_device;
220 struct netvsc_device *netvsc_device_add(struct hv_device *device,
222 int netvsc_alloc_recv_comp_ring(struct netvsc_device *net_device, u32 q_idx);
234 struct netvsc_device *nvdev,
242 struct bpf_prog *netvsc_xdp_get(struct netvsc_device *nvdev);
245 struct netvsc_device *nvdev);
250 struct netvsc_device *nvdev,
252 int rndis_filter_open(struct netvsc_device *nvdev);
253 int rndis_filter_close(struct netvsc_device *nvdev);
254 struct netvsc_device *rndis_filter_device_add(struct hv_device *dev,
[all …]
Drndis_filter.c289 struct netvsc_device *nvdev, in rndis_filter_receive_response()
481 struct netvsc_device *nvdev, in rndis_filter_receive_data()
584 struct netvsc_device *net_dev, in rndis_filter_receive()
637 struct netvsc_device *nvdev, in rndis_filter_query_device()
745 rndis_query_hwcaps(struct rndis_device *dev, struct netvsc_device *net_device, in rndis_query_hwcaps()
783 struct netvsc_device *net_device) in rndis_filter_query_device_mac()
795 int rndis_filter_set_device_mac(struct netvsc_device *nvdev, in rndis_filter_set_device_mac()
861 struct netvsc_device *nvdev, in rndis_filter_set_offload_params()
1000 struct netvsc_device *net_device) in rndis_filter_query_device_link_status()
1011 struct netvsc_device *net_device) in rndis_filter_query_link_speed()
[all …]
Dnetvsc_drv.c85 struct netvsc_device *nvdev; in netvsc_set_rx_mode()
100 static void netvsc_tx_enable(struct netvsc_device *nvscdev, in netvsc_tx_enable()
113 struct netvsc_device *nvdev = rtnl_dereference(ndev_ctx->nvdev); in netvsc_open()
146 static int netvsc_wait_until_empty(struct netvsc_device *nvdev) in netvsc_wait_until_empty()
184 static void netvsc_tx_disable(struct netvsc_device *nvscdev, in netvsc_tx_disable()
200 struct netvsc_device *nvdev = rtnl_dereference(net_device_ctx->nvdev); in netvsc_close()
920 struct netvsc_device *net_device, in netvsc_recv_callback()
989 struct netvsc_device *nvdev = rtnl_dereference(net_device_ctx->nvdev); in netvsc_get_channels()
1001 struct netvsc_device_info *netvsc_devinfo_get(struct netvsc_device *nvdev) in netvsc_devinfo_get()
1051 struct netvsc_device *nvdev) in netvsc_detach()
[all …]
Dnetvsc_bpf.c91 struct bpf_prog *netvsc_xdp_get(struct netvsc_device *nvdev) in netvsc_xdp_get()
98 struct netvsc_device *nvdev) in netvsc_xdp_set()
171 struct netvsc_device *nvdev = rtnl_dereference(ndevctx->nvdev); in netvsc_bpf()