Home
last modified time | relevance | path

Searched refs:vmdq_conf (Results 1 – 4 of 4) sorted by relevance

/f-stack/dpdk/examples/vmdq_dcb/
H A Dmain.c137 struct rte_eth_vmdq_rx_conf vmdq_conf; in get_eth_conf() local
143 vmdq_conf.nb_queue_pools = (enum rte_eth_nb_pools)num_pools; in get_eth_conf()
146 vmdq_conf.nb_pool_maps = num_pools; in get_eth_conf()
148 vmdq_conf.enable_default_pool = 0; in get_eth_conf()
150 vmdq_conf.default_pool = 0; in get_eth_conf()
154 vmdq_conf.pool_map[i].vlan_id = vlan_tags[i]; in get_eth_conf()
156 vmdq_conf.pool_map[i].pools = 1UL << i; in get_eth_conf()
169 (void)(rte_memcpy(&eth_conf->rx_adv_conf.vmdq_rx_conf, &vmdq_conf, in get_eth_conf()
170 sizeof(vmdq_conf))); in get_eth_conf()
/f-stack/dpdk/doc/guides/sample_app_ug/
H A Dvmdq_dcb_forwarding.rst178 struct rte_eth_vmdq_rx_conf vmdq_conf;
184 vmdq_conf.nb_queue_pools = (enum rte_eth_nb_pools)num_pools;
187 vmdq_conf.nb_pool_maps = num_pools;
189 vmdq_conf.enable_default_pool = 0;
191 vmdq_conf.default_pool = 0;
195 vmdq_conf.pool_map[i].vlan_id = vlan_tags[i];
197 vmdq_conf.pool_map[i].pools = 1UL << i;
210 (void)(rte_memcpy(&eth_conf->rx_adv_conf.vmdq_rx_conf, &vmdq_conf,
211 sizeof(vmdq_conf)));
/f-stack/dpdk/drivers/net/fm10k/
H A Dfm10k_ethdev.c411 struct rte_eth_vmdq_rx_conf *vmdq_conf; in fm10k_check_mq_mode() local
430 if (vmdq_conf->nb_queue_pools > in fm10k_check_mq_mode()
432 vmdq_conf->nb_queue_pools > nb_rx_q) { in fm10k_check_mq_mode()
434 vmdq_conf->nb_queue_pools); in fm10k_check_mq_mode()
472 struct rte_eth_vmdq_rx_conf *vmdq_conf; in fm10k_dev_vmdq_rx_configure() local
477 for (i = 0; i < vmdq_conf->nb_pool_maps; i++) { in fm10k_dev_vmdq_rx_configure()
478 if (!vmdq_conf->pool_map[i].pools) in fm10k_dev_vmdq_rx_configure()
590 struct rte_eth_vmdq_rx_conf *vmdq_conf; in fm10k_dev_mq_rx_configure() local
606 nb_queue_pools = vmdq_conf->nb_queue_pools; in fm10k_dev_mq_rx_configure()
1615 struct rte_eth_vmdq_rx_conf *vmdq_conf; in fm10k_MAC_filter_set_vmdq() local
[all …]
/f-stack/dpdk/drivers/net/i40e/
H A Di40e_ethdev.c6488 struct rte_eth_vmdq_rx_conf *vmdq_conf; in i40e_vmdq_setup() local
6523 vmdq_conf = &conf->rx_adv_conf.vmdq_rx_conf; in i40e_vmdq_setup()
6528 vmdq_conf->enable_loop_back); in i40e_vmdq_setup()
6541 loop = sizeof(vmdq_conf->pool_map[0].pools) * CHAR_BIT; in i40e_vmdq_setup()
6542 for (i = 0; i < vmdq_conf->nb_pool_maps; i++) { in i40e_vmdq_setup()
6544 if (vmdq_conf->pool_map[i].pools & (1UL << j)) { in i40e_vmdq_setup()
6546 vmdq_conf->pool_map[i].vlan_id, j); in i40e_vmdq_setup()
6549 vmdq_conf->pool_map[i].vlan_id); in i40e_vmdq_setup()