Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/net/hyperv/
Dnetvsc_drv.c63 struct net_device_context *ndev_ctx = netdev_priv(net); in netvsc_change_rx_flags() local
64 struct net_device *vf_netdev = rtnl_dereference(ndev_ctx->vf_netdev); in netvsc_change_rx_flags()
83 struct net_device_context *ndev_ctx = netdev_priv(net); in netvsc_set_rx_mode() local
88 vf_netdev = rcu_dereference(ndev_ctx->vf_netdev); in netvsc_set_rx_mode()
94 nvdev = rcu_dereference(ndev_ctx->nvdev); in netvsc_set_rx_mode()
111 struct net_device_context *ndev_ctx = netdev_priv(net); in netvsc_open() local
112 struct net_device *vf_netdev = rtnl_dereference(ndev_ctx->vf_netdev); in netvsc_open()
113 struct netvsc_device *nvdev = rtnl_dereference(ndev_ctx->nvdev); in netvsc_open()
498 struct net_device_context *ndev_ctx = netdev_priv(net); in netvsc_vf_xmit() local
508 = this_cpu_ptr(ndev_ctx->vf_stats); in netvsc_vf_xmit()
[all …]
Dnetvsc.c754 struct net_device_context *ndev_ctx = netdev_priv(ndev); in netvsc_send_tx_complete() local
802 ndev_ctx->eth_stats.wake_queue++; in netvsc_send_tx_complete()
964 struct net_device_context *ndev_ctx = netdev_priv(ndev); in netvsc_send_pkt() local
1010 ndev_ctx->eth_stats.stop_queue++; in netvsc_send_pkt()
1014 ndev_ctx->eth_stats.stop_queue++; in netvsc_send_pkt()
1026 ndev_ctx->eth_stats.wake_queue++; in netvsc_send_pkt()
1074 struct net_device_context *ndev_ctx = netdev_priv(ndev); in netvsc_send() local
1076 = rcu_dereference_bh(ndev_ctx->nvdev); in netvsc_send()
1077 struct hv_device *device = ndev_ctx->device_ctx; in netvsc_send()
1121 ++ndev_ctx->eth_stats.tx_send_full; in netvsc_send()
[all …]
Drndis_filter.c1237 struct net_device_context *ndev_ctx = netdev_priv(ndev); in netvsc_sc_open() local
1246 nvscdev = rcu_dereference_raw(ndev_ctx->nvdev); in netvsc_sc_open()
1286 struct net_device_context *ndev_ctx = netdev_priv(ndev); in rndis_set_subchannel() local
1287 struct hv_device *hv_dev = ndev_ctx->device_ctx; in rndis_set_subchannel()
1329 ndev_ctx->tx_table[i] = i % nvdev->num_chn; in rndis_set_subchannel()