Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/hyperv/
Dnetvsc_drv.c252 const struct net_device_context *ndc = netdev_priv(ndev); in netvsc_get_tx_queue() local
256 q_idx = ndc->tx_table[netvsc_get_hash(skb, ndc) & in netvsc_get_tx_queue()
298 struct net_device_context *ndc = netdev_priv(ndev); in netvsc_select_queue() local
303 vf_netdev = rcu_dereference(ndc->vf_netdev); in netvsc_select_queue()
1163 struct net_device_context *ndc = netdev_priv(dev); in netvsc_init_settings() local
1165 ndc->l4_hash = HV_DEFAULT_L4HASH; in netvsc_init_settings()
1167 ndc->speed = SPEED_UNKNOWN; in netvsc_init_settings()
1168 ndc->duplex = DUPLEX_FULL; in netvsc_init_settings()
1176 struct net_device_context *ndc = netdev_priv(dev); in netvsc_get_link_ksettings() local
1179 vf_netdev = rtnl_dereference(ndc->vf_netdev); in netvsc_get_link_ksettings()
[all …]
Drndis_filter.c925 struct net_device_context *ndc = netdev_priv(ndev); in rndis_set_rss_param_msg() local
930 4 * ndc->rx_table_sz + NETVSC_HASH_KEYLEN; in rndis_set_rss_param_msg()
956 rssp->indirect_tabsize = 4 * ndc->rx_table_sz; in rndis_set_rss_param_msg()
964 for (i = 0; i < ndc->rx_table_sz; i++) in rndis_set_rss_param_msg()
965 itab[i] = ndc->rx_table[i]; in rndis_set_rss_param_msg()
1019 struct net_device_context *ndc; in rndis_filter_query_link_speed() local
1027 ndc = netdev_priv(dev->ndev); in rndis_filter_query_link_speed()
1032 ndc->speed = link_speed / 10000; in rndis_filter_query_link_speed()
1473 struct net_device_context *ndc = netdev_priv(net); in rndis_filter_device_add() local
1553 ndc->rx_table_sz = rsscap.num_indirect_tabent; in rndis_filter_device_add()
[all …]
Dhyperv_net.h1071 const struct net_device_context *ndc) in netvsc_get_hash() argument
1100 if (pkt_proto & ndc->l4_hash) { in netvsc_get_hash()
/linux-6.12.1/net/core/
Dneighbour.c2198 struct ndt_config ndc = { in neightbl_fill_info() local
2209 ndc.ndtc_hash_rnd = nht->hash_rnd[0]; in neightbl_fill_info()
2210 ndc.ndtc_hash_mask = ((1 << nht->hash_shift) - 1); in neightbl_fill_info()
2213 if (nla_put(skb, NDTA_CONFIG, sizeof(ndc), &ndc)) in neightbl_fill_info()