Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/hyperv/
Dnetvsc_drv.c251 const struct net_device_context *ndc) in netvsc_get_hash() argument
280 if (pkt_proto & ndc->l4_hash) { in netvsc_get_hash()
299 const struct net_device_context *ndc = netdev_priv(ndev); in netvsc_get_tx_queue() local
303 q_idx = ndc->tx_table[netvsc_get_hash(skb, ndc) & in netvsc_get_tx_queue()
345 struct net_device_context *ndc = netdev_priv(ndev); in netvsc_select_queue() local
350 vf_netdev = rcu_dereference(ndc->vf_netdev); in netvsc_select_queue()
1069 struct net_device_context *ndc = netdev_priv(dev); in netvsc_init_settings() local
1071 ndc->l4_hash = HV_DEFAULT_L4HASH; in netvsc_init_settings()
1073 ndc->speed = SPEED_UNKNOWN; in netvsc_init_settings()
1074 ndc->duplex = DUPLEX_FULL; in netvsc_init_settings()
[all …]
Drndis_filter.c863 struct net_device_context *ndc; in rndis_filter_query_link_speed() local
871 ndc = netdev_priv(dev->ndev); in rndis_filter_query_link_speed()
876 ndc->speed = link_speed / 10000; in rndis_filter_query_link_speed()
/Linux-v5.4/net/core/
Dneighbour.c2058 struct ndt_config ndc = { in neightbl_fill_info() local
2069 ndc.ndtc_hash_rnd = nht->hash_rnd[0]; in neightbl_fill_info()
2070 ndc.ndtc_hash_mask = ((1 << nht->hash_shift) - 1); in neightbl_fill_info()
2073 if (nla_put(skb, NDTA_CONFIG, sizeof(ndc), &ndc)) in neightbl_fill_info()