Home
last modified time | relevance | path

Searched refs:ndc (Results 1 - 7 of 7) sorted by relevance

/kernel/linux/linux-6.6/drivers/net/hyperv/
H A 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()
1162 struct net_device_context *ndc = netdev_priv(dev); in netvsc_init_settings() local
1164 ndc->l4_hash = HV_DEFAULT_L4HASH; in netvsc_init_settings()
1166 ndc->speed = SPEED_UNKNOWN; in netvsc_init_settings()
1167 ndc->duplex = DUPLEX_FULL; in netvsc_init_settings()
1175 struct net_device_context *ndc in netvsc_get_link_ksettings() local
1193 struct net_device_context *ndc = netdev_priv(dev); netvsc_set_link_ksettings() local
1403 struct net_device_context *ndc = netdev_priv(ndev); netvsc_set_mac_addr() local
1485 struct net_device_context *ndc = netdev_priv(dev); netvsc_get_sset_count() local
1505 struct net_device_context *ndc = netdev_priv(dev); netvsc_get_ethtool_stats() local
1578 struct net_device_context *ndc = netdev_priv(dev); netvsc_get_strings() local
1615 netvsc_get_rss_hash_opts(struct net_device_context *ndc, struct ethtool_rxnfc *info) netvsc_get_rss_hash_opts() argument
1662 struct net_device_context *ndc = netdev_priv(dev); netvsc_get_rxnfc() local
1679 netvsc_set_rss_hash_opts(struct net_device_context *ndc, struct ethtool_rxnfc *info) netvsc_set_rss_hash_opts() argument
1739 struct net_device_context *ndc = netdev_priv(ndev); netvsc_set_rxnfc() local
1754 struct net_device_context *ndc = netdev_priv(dev); netvsc_rss_indir_size() local
1762 struct net_device_context *ndc = netdev_priv(dev); netvsc_get_rxfh() local
1788 struct net_device_context *ndc = netdev_priv(dev); netvsc_set_rxfh() local
1975 struct net_device_context *ndc = netdev_priv(netdev); netvsc_get_regs() local
[all...]
H A Drndis_filter.c926 struct net_device_context *ndc = netdev_priv(ndev); in rndis_set_rss_param_msg() local
931 4 * ndc->rx_table_sz + NETVSC_HASH_KEYLEN; in rndis_set_rss_param_msg()
957 rssp->indirect_tabsize = 4 * ndc->rx_table_sz; in rndis_set_rss_param_msg()
965 for (i = 0; i < ndc->rx_table_sz; i++) in rndis_set_rss_param_msg()
966 itab[i] = ndc->rx_table[i]; in rndis_set_rss_param_msg()
1020 struct net_device_context *ndc; in rndis_filter_query_link_speed() local
1028 ndc = netdev_priv(dev->ndev); in rndis_filter_query_link_speed()
1033 ndc->speed = link_speed / 10000; in rndis_filter_query_link_speed()
1474 struct net_device_context *ndc = netdev_priv(net); in rndis_filter_device_add() local
1554 ndc in rndis_filter_device_add()
1613 struct net_device_context *ndc; rndis_filter_device_remove() local
[all...]
H A Dhyperv_net.h1071 const struct net_device_context *ndc) in netvsc_get_hash()
1100 if (pkt_proto & ndc->l4_hash) { in netvsc_get_hash()
1070 netvsc_get_hash(struct sk_buff *skb, const struct net_device_context *ndc) netvsc_get_hash() argument
/kernel/linux/linux-5.10/drivers/net/hyperv/
H A Dnetvsc_drv.c252 const struct net_device_context *ndc) in netvsc_get_hash()
281 if (pkt_proto & ndc->l4_hash) { in netvsc_get_hash()
300 const struct net_device_context *ndc = netdev_priv(ndev); in netvsc_get_tx_queue() local
304 q_idx = ndc->tx_table[netvsc_get_hash(skb, ndc) & in netvsc_get_tx_queue()
346 struct net_device_context *ndc = netdev_priv(ndev); in netvsc_select_queue() local
351 vf_netdev = rcu_dereference(ndc->vf_netdev); in netvsc_select_queue()
1177 struct net_device_context *ndc = netdev_priv(dev); in netvsc_init_settings() local
1179 ndc->l4_hash = HV_DEFAULT_L4HASH; in netvsc_init_settings()
1181 ndc in netvsc_init_settings()
250 netvsc_get_hash( struct sk_buff *skb, const struct net_device_context *ndc) netvsc_get_hash() argument
1190 struct net_device_context *ndc = netdev_priv(dev); netvsc_get_link_ksettings() local
1208 struct net_device_context *ndc = netdev_priv(dev); netvsc_set_link_ksettings() local
1416 struct net_device_context *ndc = netdev_priv(ndev); netvsc_set_mac_addr() local
1498 struct net_device_context *ndc = netdev_priv(dev); netvsc_get_sset_count() local
1518 struct net_device_context *ndc = netdev_priv(dev); netvsc_get_ethtool_stats() local
1581 struct net_device_context *ndc = netdev_priv(dev); netvsc_get_strings() local
1626 netvsc_get_rss_hash_opts(struct net_device_context *ndc, struct ethtool_rxnfc *info) netvsc_get_rss_hash_opts() argument
1673 struct net_device_context *ndc = netdev_priv(dev); netvsc_get_rxnfc() local
1690 netvsc_set_rss_hash_opts(struct net_device_context *ndc, struct ethtool_rxnfc *info) netvsc_set_rss_hash_opts() argument
1750 struct net_device_context *ndc = netdev_priv(ndev); netvsc_set_rxnfc() local
1771 struct net_device_context *ndc = netdev_priv(dev); netvsc_get_rxfh() local
1797 struct net_device_context *ndc = netdev_priv(dev); netvsc_set_rxfh() local
1980 struct net_device_context *ndc = netdev_priv(netdev); netvsc_get_regs() local
[all...]
H A Drndis_filter.c832 struct net_device_context *ndc = netdev_priv(ndev); in rndis_set_rss_param_msg() local
872 itab[i] = ndc->rx_table[i]; in rndis_set_rss_param_msg()
926 struct net_device_context *ndc; in rndis_filter_query_link_speed() local
934 ndc = netdev_priv(dev->ndev); in rndis_filter_query_link_speed()
939 ndc->speed = link_speed / 10000; in rndis_filter_query_link_speed()
1372 struct net_device_context *ndc = netdev_priv(net); in rndis_filter_device_add() local
1461 ndc->rx_table[i] = ethtool_rxfh_indir_default( in rndis_filter_device_add()
/kernel/linux/linux-5.10/net/core/
H A Dneighbour.c2083 struct ndt_config ndc = { in neightbl_fill_info() local
2094 ndc.ndtc_hash_rnd = nht->hash_rnd[0]; in neightbl_fill_info()
2095 ndc.ndtc_hash_mask = ((1 << nht->hash_shift) - 1); in neightbl_fill_info()
2098 if (nla_put(skb, NDTA_CONFIG, sizeof(ndc), &ndc)) in neightbl_fill_info()
/kernel/linux/linux-6.6/net/core/
H A Dneighbour.c2190 struct ndt_config ndc = { in neightbl_fill_info() local
2201 ndc.ndtc_hash_rnd = nht->hash_rnd[0]; in neightbl_fill_info()
2202 ndc.ndtc_hash_mask = ((1 << nht->hash_shift) - 1); in neightbl_fill_info()
2205 if (nla_put(skb, NDTA_CONFIG, sizeof(ndc), &ndc)) in neightbl_fill_info()

Completed in 22 milliseconds