Searched refs:ndev_ctx (Results 1 – 3 of 3) sorted by relevance
63 struct net_device_context *ndev_ctx = netdev_priv(net); in netvsc_change_rx_flags() local64 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() local88 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() local112 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() local508 = this_cpu_ptr(ndev_ctx->vf_stats); in netvsc_vf_xmit()[all …]
754 struct net_device_context *ndev_ctx = netdev_priv(ndev); in netvsc_send_tx_complete() local802 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() local1010 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() local1076 = 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 …]
1237 struct net_device_context *ndev_ctx = netdev_priv(ndev); in netvsc_sc_open() local1246 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() local1287 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()