Searched refs:ndc (Results 1 – 6 of 6) sorted by relevance
252 const struct net_device_context *ndc = netdev_priv(ndev); in netvsc_get_tx_queue() local256 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() local303 vf_netdev = rcu_dereference(ndc->vf_netdev); in netvsc_select_queue()1162 struct net_device_context *ndc = netdev_priv(dev); in netvsc_init_settings() local1164 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 = netdev_priv(dev); in netvsc_get_link_ksettings() local1178 vf_netdev = rtnl_dereference(ndc->vf_netdev); in netvsc_get_link_ksettings()[all …]
926 struct net_device_context *ndc = netdev_priv(ndev); in rndis_set_rss_param_msg() local931 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() local1028 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() local1554 ndc->rx_table_sz = rsscap.num_indirect_tabent; in rndis_filter_device_add()[all …]
1071 const struct net_device_context *ndc) in netvsc_get_hash() argument1100 if (pkt_proto & ndc->l4_hash) { in netvsc_get_hash()
187 NVDIMMClass *ndc = NVDIMM_GET_CLASS(nvdimm); in nvdimm_realize() local193 if (ndc->realize) { in nvdimm_realize()194 ndc->realize(nvdimm, errp); in nvdimm_realize()201 NVDIMMClass *ndc = NVDIMM_GET_CLASS(nvdimm); in nvdimm_unrealize() local203 if (ndc->unrealize) { in nvdimm_unrealize()204 ndc->unrealize(nvdimm); in nvdimm_unrealize()
720 MacfbNubusDeviceClass *ndc = NUBUS_MACFB_GET_CLASS(dev); in macfb_nubus_realize() local723 ndc->parent_realize(dev, errp); in macfb_nubus_realize()741 MacfbNubusDeviceClass *ndc = NUBUS_MACFB_GET_CLASS(dev); in macfb_nubus_unrealize() local744 ndc->parent_unrealize(dev); in macfb_nubus_unrealize()813 MacfbNubusDeviceClass *ndc = NUBUS_MACFB_CLASS(klass); in macfb_nubus_class_init() local816 &ndc->parent_realize); in macfb_nubus_class_init()818 &ndc->parent_unrealize); in macfb_nubus_class_init()
2190 struct ndt_config ndc = { in neightbl_fill_info() local2201 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()