Home
last modified time | relevance | path

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

/openbmc/linux/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 = netdev_priv(dev); in netvsc_get_link_ksettings() local
1178 vf_netdev = rtnl_dereference(ndc->vf_netdev); in netvsc_get_link_ksettings()
[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->rx_table_sz = rsscap.num_indirect_tabent; in rndis_filter_device_add()
[all …]
H A 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()
/openbmc/qemu/hw/mem/
H A Dnvdimm.c187 NVDIMMClass *ndc = NVDIMM_GET_CLASS(nvdimm); in nvdimm_realize() local
193 if (ndc->realize) { in nvdimm_realize()
194 ndc->realize(nvdimm, errp); in nvdimm_realize()
201 NVDIMMClass *ndc = NVDIMM_GET_CLASS(nvdimm); in nvdimm_unrealize() local
203 if (ndc->unrealize) { in nvdimm_unrealize()
204 ndc->unrealize(nvdimm); in nvdimm_unrealize()
/openbmc/qemu/hw/display/
H A Dmacfb.c720 MacfbNubusDeviceClass *ndc = NUBUS_MACFB_GET_CLASS(dev); in macfb_nubus_realize() local
723 ndc->parent_realize(dev, errp); in macfb_nubus_realize()
741 MacfbNubusDeviceClass *ndc = NUBUS_MACFB_GET_CLASS(dev); in macfb_nubus_unrealize() local
744 ndc->parent_unrealize(dev); in macfb_nubus_unrealize()
813 MacfbNubusDeviceClass *ndc = NUBUS_MACFB_CLASS(klass); in macfb_nubus_class_init() local
816 &ndc->parent_realize); in macfb_nubus_class_init()
818 &ndc->parent_unrealize); in macfb_nubus_class_init()
/openbmc/linux/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()