Searched refs:net_device_ctx (Results 1 – 3 of 3) sorted by relevance
/Linux-v5.4/drivers/net/hyperv/ |
D | netvsc_drv.c | 198 struct net_device_context *net_device_ctx = netdev_priv(net); in netvsc_close() local 200 = rtnl_dereference(net_device_ctx->vf_netdev); in netvsc_close() 201 struct netvsc_device *nvdev = rtnl_dereference(net_device_ctx->nvdev); in netvsc_close() 524 struct net_device_context *net_device_ctx = netdev_priv(net); in netvsc_start_xmit() local 537 vf_netdev = rcu_dereference_bh(net_device_ctx->vf_netdev); in netvsc_start_xmit() 551 ++net_device_ctx->eth_stats.tx_scattered; in netvsc_start_xmit() 558 ++net_device_ctx->eth_stats.tx_too_big; in netvsc_start_xmit() 648 if (net_checksum_info(skb) & net_device_ctx->tx_checksum_mask) { in netvsc_start_xmit() 694 ++net_device_ctx->eth_stats.tx_busy; in netvsc_start_xmit() 699 ++net_device_ctx->eth_stats.tx_no_space; in netvsc_start_xmit() [all …]
|
D | netvsc.c | 35 struct net_device_context *net_device_ctx = netdev_priv(ndev); in netvsc_switch_datapath() local 36 struct hv_device *dev = net_device_ctx->device_ctx; in netvsc_switch_datapath() 37 struct netvsc_device *nv_dev = rtnl_dereference(net_device_ctx->nvdev); in netvsc_switch_datapath() 617 struct net_device_context *net_device_ctx = netdev_priv(ndev); in netvsc_device_remove() local 619 = rtnl_dereference(net_device_ctx->nvdev); in netvsc_device_remove() 634 RCU_INIT_POINTER(net_device_ctx->nvdev, NULL); in netvsc_device_remove() 1115 struct net_device_context *net_device_ctx = netdev_priv(ndev); in netvsc_receive() local 1127 netif_err(net_device_ctx, rx_err, ndev, in netvsc_receive() 1134 netif_err(net_device_ctx, rx_err, ndev, in netvsc_receive() 1153 netif_err(net_device_ctx, rx_err, ndev, in netvsc_receive() [all …]
|
D | rndis_filter.c | 465 struct net_device_context *net_device_ctx = netdev_priv(ndev); in rndis_filter_receive() local 468 if (netif_msg_rx_status(net_device_ctx)) in rndis_filter_receive() 1187 struct net_device_context *net_device_ctx = netdev_priv(net); in rndis_netdev_set_hwcaps() local 1206 net_device_ctx->tx_checksum_mask = 0; in rndis_netdev_set_hwcaps() 1215 net_device_ctx->tx_checksum_mask |= TRANSPORT_INFO_IPV4_TCP; in rndis_netdev_set_hwcaps() 1229 net_device_ctx->tx_checksum_mask |= TRANSPORT_INFO_IPV4_UDP; in rndis_netdev_set_hwcaps() 1237 net_device_ctx->tx_checksum_mask |= TRANSPORT_INFO_IPV6_TCP; in rndis_netdev_set_hwcaps() 1250 net_device_ctx->tx_checksum_mask |= TRANSPORT_INFO_IPV6_UDP; in rndis_netdev_set_hwcaps()
|