Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/net/hyperv/
Dnetvsc_drv.c197 struct net_device_context *net_device_ctx = netdev_priv(net); in netvsc_close() local
199 = 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() local
487 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 …]
Dnetvsc.c37 struct net_device_context *net_device_ctx = netdev_priv(ndev); in netvsc_switch_datapath() local
38 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() local
723 = 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() local
1428 netif_err(net_device_ctx, rx_err, ndev, in netvsc_receive()
[all …]
Drndis_filter.c592 struct net_device_context *net_device_ctx = netdev_priv(ndev); in rndis_filter_receive() local
611 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() local
1370 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()