Searched refs:ndev_ctx (Results 1 – 3 of 3) sorted by relevance
65 struct net_device_context *ndev_ctx = netdev_priv(net); in netvsc_change_rx_flags() local66 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() local90 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() local114 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() local510 = this_cpu_ptr(ndev_ctx->vf_stats); in netvsc_vf_xmit()[all …]
699 struct net_device_context *ndev_ctx = netdev_priv(ndev); in netvsc_send_tx_complete() local737 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() local920 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() local966 = 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 …]
1152 struct net_device_context *ndev_ctx = netdev_priv(ndev); in netvsc_sc_open() local1161 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() local1197 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()