Searched refs:ndc (Results 1 – 4 of 4) sorted by relevance
248 const struct net_device_context *ndc = netdev_priv(ndev); in netvsc_get_tx_queue() local252 q_idx = ndc->tx_table[netvsc_get_hash(skb, ndc) & in netvsc_get_tx_queue()294 struct net_device_context *ndc = netdev_priv(ndev); in netvsc_select_queue() local299 vf_netdev = rcu_dereference(ndc->vf_netdev); in netvsc_select_queue()1158 struct net_device_context *ndc = netdev_priv(dev); in netvsc_init_settings() local1160 ndc->l4_hash = HV_DEFAULT_L4HASH; in netvsc_init_settings()1162 ndc->speed = SPEED_UNKNOWN; in netvsc_init_settings()1163 ndc->duplex = DUPLEX_FULL; in netvsc_init_settings()1171 struct net_device_context *ndc = netdev_priv(dev); in netvsc_get_link_ksettings() local1174 vf_netdev = rtnl_dereference(ndc->vf_netdev); in netvsc_get_link_ksettings()[all …]
923 struct net_device_context *ndc = netdev_priv(ndev); in rndis_set_rss_param_msg() local963 itab[i] = ndc->rx_table[i]; in rndis_set_rss_param_msg()1017 struct net_device_context *ndc; in rndis_filter_query_link_speed() local1025 ndc = netdev_priv(dev->ndev); in rndis_filter_query_link_speed()1030 ndc->speed = link_speed / 10000; in rndis_filter_query_link_speed()1471 struct net_device_context *ndc = netdev_priv(net); in rndis_filter_device_add() local1560 ndc->rx_table[i] = ethtool_rxfh_indir_default( in rndis_filter_device_add()
1066 const struct net_device_context *ndc) in netvsc_get_hash() argument1095 if (pkt_proto & ndc->l4_hash) { in netvsc_get_hash()
2155 struct ndt_config ndc = { in neightbl_fill_info() local2166 ndc.ndtc_hash_rnd = nht->hash_rnd[0]; in neightbl_fill_info()2167 ndc.ndtc_hash_mask = ((1 << nht->hash_shift) - 1); in neightbl_fill_info()2170 if (nla_put(skb, NDTA_CONFIG, sizeof(ndc), &ndc)) in neightbl_fill_info()