Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/net/hyperv/
Dnetvsc_drv.c65 struct net_device_context *ndev_ctx = netdev_priv(net); in netvsc_change_rx_flags() local
66 struct net_device *vf_netdev = rtnl_dereference(ndev_ctx->vf_netdev); in netvsc_change_rx_flags()
85 struct net_device_context *ndev_ctx = netdev_priv(net); in netvsc_set_rx_mode() local
90 vf_netdev = rcu_dereference(ndev_ctx->vf_netdev); in netvsc_set_rx_mode()
96 nvdev = rcu_dereference(ndev_ctx->nvdev); in netvsc_set_rx_mode()
113 struct net_device_context *ndev_ctx = netdev_priv(net); in netvsc_open() local
114 struct net_device *vf_netdev = rtnl_dereference(ndev_ctx->vf_netdev); in netvsc_open()
115 struct netvsc_device *nvdev = rtnl_dereference(ndev_ctx->nvdev); in netvsc_open()
500 struct net_device_context *ndev_ctx = netdev_priv(net); in netvsc_vf_xmit() local
510 = this_cpu_ptr(ndev_ctx->vf_stats); in netvsc_vf_xmit()
[all …]
Dnetvsc.c699 struct net_device_context *ndev_ctx = netdev_priv(ndev); in netvsc_send_tx_complete() local
737 ndev_ctx->eth_stats.wake_queue++; in netvsc_send_tx_complete()
875 struct net_device_context *ndev_ctx = netdev_priv(ndev); in netvsc_send_pkt() local
920 ndev_ctx->eth_stats.stop_queue++; in netvsc_send_pkt()
924 ndev_ctx->eth_stats.stop_queue++; in netvsc_send_pkt()
936 ndev_ctx->eth_stats.wake_queue++; in netvsc_send_pkt()
964 struct net_device_context *ndev_ctx = netdev_priv(ndev); in netvsc_send() local
966 = rcu_dereference_bh(ndev_ctx->nvdev); in netvsc_send()
967 struct hv_device *device = ndev_ctx->device_ctx; in netvsc_send()
1011 ++ndev_ctx->eth_stats.tx_send_full; in netvsc_send()
[all …]
Drndis_filter.c1152 struct net_device_context *ndev_ctx = netdev_priv(ndev); in netvsc_sc_open() local
1161 nvscdev = rcu_dereference_raw(ndev_ctx->nvdev); in netvsc_sc_open()
1196 struct net_device_context *ndev_ctx = netdev_priv(ndev); in rndis_set_subchannel() local
1197 struct hv_device *hv_dev = ndev_ctx->device_ctx; in rndis_set_subchannel()
1234 ndev_ctx->tx_table[i] = i % nvdev->num_chn; in rndis_set_subchannel()