Searched refs:ndc (Results 1 – 3 of 3) sorted by relevance
257 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()1656 ndc->l4_hash |= HV_TCP4_L4HASH; in netvsc_set_rxfh_fields()1660 ndc->l4_hash |= HV_TCP6_L4HASH; in netvsc_set_rxfh_fields()1664 ndc->l4_hash |= HV_UDP4_L4HASH; in netvsc_set_rxfh_fields()[all …]
951 itab[i] = ndc->rx_table[i]; in rndis_set_rss_param_msg()1005 struct net_device_context *ndc; in rndis_filter_query_link_speed() local1013 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() local1606 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 …]
1085 const struct net_device_context *ndc) in netvsc_get_hash() argument1114 if (pkt_proto & ndc->l4_hash) { in netvsc_get_hash()
Completed in 30 milliseconds