Home
last modified time | relevance | path

Searched refs:vf_netdev (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.10/drivers/net/hyperv/
Dnetvsc_drv.c66 struct net_device *vf_netdev = rtnl_dereference(ndev_ctx->vf_netdev); in netvsc_change_rx_flags() local
69 if (!vf_netdev) in netvsc_change_rx_flags()
74 dev_set_promiscuity(vf_netdev, inc); in netvsc_change_rx_flags()
79 dev_set_allmulti(vf_netdev, inc); in netvsc_change_rx_flags()
86 struct net_device *vf_netdev; in netvsc_set_rx_mode() local
90 vf_netdev = rcu_dereference(ndev_ctx->vf_netdev); in netvsc_set_rx_mode()
91 if (vf_netdev) { in netvsc_set_rx_mode()
92 dev_uc_sync(vf_netdev, net); in netvsc_set_rx_mode()
93 dev_mc_sync(vf_netdev, net); in netvsc_set_rx_mode()
114 struct net_device *vf_netdev = rtnl_dereference(ndev_ctx->vf_netdev); in netvsc_open() local
[all …]
Dnetvsc_bpf.c135 int netvsc_vf_setxdp(struct net_device *vf_netdev, struct bpf_prog *prog) in netvsc_vf_setxdp() argument
143 if (!vf_netdev) in netvsc_vf_setxdp()
146 ndo_bpf = vf_netdev->netdev_ops->ndo_bpf; in netvsc_vf_setxdp()
158 ret = ndo_bpf(vf_netdev, &xdp); in netvsc_vf_setxdp()
170 struct net_device *vf_netdev = rtnl_dereference(ndevctx->vf_netdev); in netvsc_bpf() local
185 ret = netvsc_vf_setxdp(vf_netdev, bpf->prog); in netvsc_bpf()
Dhyperv_net.h211 int netvsc_vf_setxdp(struct net_device *vf_netdev, struct bpf_prog *prog);
972 struct net_device __rcu *vf_netdev; member