Home
last modified time | relevance | path

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

/linux-6.15/drivers/net/hyperv/
H A Dnetvsc_drv.c257 q_idx = ndc->tx_table[netvsc_get_hash(skb, ndc) & in netvsc_get_tx_queue()
1132 ndc->l4_hash = HV_DEFAULT_L4HASH; in netvsc_init_settings()
1134 ndc->speed = SPEED_UNKNOWN; in netvsc_init_settings()
1135 ndc->duplex = DUPLEX_FULL; in netvsc_init_settings()
1151 cmd->base.speed = ndc->speed; in netvsc_get_link_ksettings()
1152 cmd->base.duplex = ndc->duplex; in netvsc_get_link_ksettings()
1173 &ndc->speed, &ndc->duplex); in netvsc_set_link_ksettings()
1654 ndc->l4_hash |= HV_TCP4_L4HASH; in netvsc_set_rss_hash_opts()
1658 ndc->l4_hash |= HV_TCP6_L4HASH; in netvsc_set_rss_hash_opts()
1662 ndc->l4_hash |= HV_UDP4_L4HASH; in netvsc_set_rss_hash_opts()
[all …]
H A Drndis_filter.c951 itab[i] = ndc->rx_table[i]; in rndis_set_rss_param_msg()
1005 struct net_device_context *ndc; in rndis_filter_query_link_speed() local
1013 ndc = netdev_priv(dev->ndev); in rndis_filter_query_link_speed()
1547 ndc->rx_table_sz = ITAB_NUM; in rndis_filter_device_add()
1549 ndc->rx_table = kcalloc(ndc->rx_table_sz, sizeof(u16), GFP_KERNEL); in rndis_filter_device_add()
1550 if (!ndc->rx_table) { in rndis_filter_device_add()
1604 struct net_device_context *ndc; in rndis_filter_device_remove() local
1606 ndc = netdev_priv(net); in rndis_filter_device_remove()
1613 ndc->rx_table_sz = 0; in rndis_filter_device_remove()
1614 kfree(ndc->rx_table); in rndis_filter_device_remove()
[all …]
H A Dhyperv_net.h1082 const struct net_device_context *ndc) in netvsc_get_hash() argument
1111 if (pkt_proto & ndc->l4_hash) { in netvsc_get_hash()
/linux-6.15/net/core/
H A Dneighbour.c2140 struct ndt_config ndc = { in neightbl_fill_info() local
2151 ndc.ndtc_hash_rnd = nht->hash_rnd[0]; in neightbl_fill_info()
2152 ndc.ndtc_hash_mask = ((1 << nht->hash_shift) - 1); in neightbl_fill_info()
2155 if (nla_put(skb, NDTA_CONFIG, sizeof(ndc), &ndc)) in neightbl_fill_info()