Searched refs:net_device_ctx (Results 1 – 3 of 3) sorted by relevance
197 struct net_device_context *net_device_ctx = netdev_priv(net); in netvsc_close() local199 = rtnl_dereference(net_device_ctx->vf_netdev); in netvsc_close()200 struct netvsc_device *nvdev = rtnl_dereference(net_device_ctx->nvdev); in netvsc_close()473 struct net_device_context *net_device_ctx = netdev_priv(net); in netvsc_xmit() local487 vf_netdev = rcu_dereference_bh(net_device_ctx->vf_netdev); in netvsc_xmit()490 net_device_ctx->data_path_is_vf) in netvsc_xmit()502 ++net_device_ctx->eth_stats.tx_scattered; in netvsc_xmit()509 ++net_device_ctx->eth_stats.tx_too_big; in netvsc_xmit()568 ++net_device_ctx->eth_stats.vlan_error; in netvsc_xmit()619 if (net_checksum_info(skb) & net_device_ctx->tx_checksum_mask) { in netvsc_xmit()[all …]
37 struct net_device_context *net_device_ctx = netdev_priv(ndev); in netvsc_switch_datapath() local38 struct hv_device *dev = net_device_ctx->device_ctx; in netvsc_switch_datapath()39 struct netvsc_device *nv_dev = rtnl_dereference(net_device_ctx->nvdev); in netvsc_switch_datapath()45 net_device_ctx->data_path_is_vf = vf; in netvsc_switch_datapath()88 net_device_ctx->data_path_is_vf = vf; in netvsc_switch_datapath()721 struct net_device_context *net_device_ctx = netdev_priv(ndev); in netvsc_device_remove() local723 = rtnl_dereference(net_device_ctx->nvdev); in netvsc_device_remove()738 RCU_INIT_POINTER(net_device_ctx->nvdev, NULL); in netvsc_device_remove()1414 struct net_device_context *net_device_ctx = netdev_priv(ndev); in netvsc_receive() local1428 netif_err(net_device_ctx, rx_err, ndev, in netvsc_receive()[all …]
592 struct net_device_context *net_device_ctx = netdev_priv(ndev); in rndis_filter_receive() local611 if (netif_msg_rx_status(net_device_ctx)) in rndis_filter_receive()1351 struct net_device_context *net_device_ctx = netdev_priv(net); in rndis_netdev_set_hwcaps() local1370 net_device_ctx->tx_checksum_mask = 0; in rndis_netdev_set_hwcaps()1380 net_device_ctx->tx_checksum_mask |= TRANSPORT_INFO_IPV4_TCP; in rndis_netdev_set_hwcaps()1394 net_device_ctx->tx_checksum_mask |= TRANSPORT_INFO_IPV4_UDP; in rndis_netdev_set_hwcaps()1402 net_device_ctx->tx_checksum_mask |= TRANSPORT_INFO_IPV6_TCP; in rndis_netdev_set_hwcaps()1415 net_device_ctx->tx_checksum_mask |= TRANSPORT_INFO_IPV6_UDP; in rndis_netdev_set_hwcaps()