Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/net/hyperv/
H A 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()
64 container_of(w, struct netvsc_device, subchan_work); in netvsc_subchan_work()
92 static struct netvsc_device *alloc_net_device(void) in alloc_net_device()
94 struct netvsc_device *net_device; in alloc_net_device()
96 net_device = kzalloc(sizeof(struct netvsc_device), GFP_KERNEL); in alloc_net_device()
116 struct netvsc_device *nvdev in free_netvsc_device()
117 = container_of(head, struct netvsc_device, rcu); in free_netvsc_device()
133 static void free_netvsc_device_rcu(struct netvsc_device *nvdev) in free_netvsc_device_rcu()
139 struct netvsc_device *net_device, in netvsc_revoke_recv_buf()
[all …]
H A Dhyperv_net.h180 struct netvsc_device;
186 struct netvsc_device *netvsc_device_add(struct hv_device *device,
188 int netvsc_alloc_recv_comp_ring(struct netvsc_device *net_device, u32 q_idx);
199 struct netvsc_device *nvdev,
207 struct bpf_prog *netvsc_xdp_get(struct netvsc_device *nvdev);
210 struct netvsc_device *nvdev);
215 struct netvsc_device *nvdev,
217 int rndis_filter_open(struct netvsc_device *nvdev);
218 int rndis_filter_close(struct netvsc_device *nvdev);
219 struct netvsc_device *rndis_filter_device_add(struct hv_device *dev,
[all …]
H A Drndis_filter.c260 struct netvsc_device *nvdev, in rndis_filter_receive_response()
416 struct netvsc_device *nvdev, in rndis_filter_receive_data()
515 struct netvsc_device *net_dev, in rndis_filter_receive()
560 struct netvsc_device *nvdev, in rndis_filter_query_device()
656 rndis_query_hwcaps(struct rndis_device *dev, struct netvsc_device *net_device, in rndis_query_hwcaps()
694 struct netvsc_device *net_device) in rndis_filter_query_device_mac()
706 int rndis_filter_set_device_mac(struct netvsc_device *nvdev, in rndis_filter_set_device_mac()
772 struct netvsc_device *nvdev, in rndis_filter_set_offload_params()
911 struct netvsc_device *net_device) in rndis_filter_query_device_link_status()
922 struct netvsc_device *net_device) in rndis_filter_query_link_speed()
[all …]
H A Dnetvsc_drv.c87 struct netvsc_device *nvdev; in netvsc_set_rx_mode()
102 static void netvsc_tx_enable(struct netvsc_device *nvscdev, in netvsc_tx_enable()
115 struct netvsc_device *nvdev = rtnl_dereference(ndev_ctx->nvdev); in netvsc_open()
148 static int netvsc_wait_until_empty(struct netvsc_device *nvdev) in netvsc_wait_until_empty()
186 static void netvsc_tx_disable(struct netvsc_device *nvscdev, in netvsc_tx_disable()
202 struct netvsc_device *nvdev = rtnl_dereference(net_device_ctx->nvdev); in netvsc_close()
896 struct netvsc_device *net_device, in netvsc_recv_callback()
965 struct netvsc_device *nvdev = rtnl_dereference(net_device_ctx->nvdev); in netvsc_get_channels()
977 struct netvsc_device_info *netvsc_devinfo_get(struct netvsc_device *nvdev) in netvsc_devinfo_get()
1027 struct netvsc_device *nvdev) in netvsc_detach()
[all …]
H A Dnetvsc_bpf.c89 struct bpf_prog *netvsc_xdp_get(struct netvsc_device *nvdev) in netvsc_xdp_get()
96 struct netvsc_device *nvdev) in netvsc_xdp_set()
169 struct netvsc_device *nvdev = rtnl_dereference(ndevctx->nvdev); in netvsc_bpf()