Home
last modified time | relevance | path

Searched refs:eth_conf (Results 1 – 15 of 15) sorted by relevance

/f-stack/dpdk/examples/vmdq_dcb/
H A Dmain.c134 get_eth_conf(struct rte_eth_conf *eth_conf) in get_eth_conf() argument
164 (void)(rte_memcpy(eth_conf, &vmdq_dcb_conf_default, sizeof(*eth_conf))); in get_eth_conf()
165 (void)(rte_memcpy(&eth_conf->rx_adv_conf.vmdq_dcb_conf, &conf, in get_eth_conf()
167 (void)(rte_memcpy(&eth_conf->rx_adv_conf.dcb_rx_conf, &dcb_conf, in get_eth_conf()
169 (void)(rte_memcpy(&eth_conf->rx_adv_conf.vmdq_rx_conf, &vmdq_conf, in get_eth_conf()
171 (void)(rte_memcpy(&eth_conf->tx_adv_conf.vmdq_dcb_tx_conf, &tx_conf, in get_eth_conf()
174 eth_conf->rxmode.mq_mode = ETH_MQ_RX_VMDQ_DCB_RSS; in get_eth_conf()
175 eth_conf->rx_adv_conf.rss_conf.rss_hf = ETH_RSS_IP | in get_eth_conf()
/f-stack/dpdk/examples/vmdq/
H A Dmain.c129 get_eth_conf(struct rte_eth_conf *eth_conf, uint32_t num_pools) in get_eth_conf() argument
144 (void)(rte_memcpy(eth_conf, &vmdq_conf_default, sizeof(*eth_conf))); in get_eth_conf()
145 (void)(rte_memcpy(&eth_conf->rx_adv_conf.vmdq_rx_conf, &conf, in get_eth_conf()
146 sizeof(eth_conf->rx_adv_conf.vmdq_rx_conf))); in get_eth_conf()
148 eth_conf->rxmode.mq_mode = ETH_MQ_RX_VMDQ_RSS; in get_eth_conf()
149 eth_conf->rx_adv_conf.rss_conf.rss_hf = ETH_RSS_IP | in get_eth_conf()
/f-stack/dpdk/doc/guides/sample_app_ug/
H A Dvmdq_dcb_forwarding.rst175 get_eth_conf(struct rte_eth_conf *eth_conf)
205 (void)(rte_memcpy(eth_conf, &vmdq_dcb_conf_default, sizeof(*eth_conf)));
206 (void)(rte_memcpy(&eth_conf->rx_adv_conf.vmdq_dcb_conf, &conf,
208 (void)(rte_memcpy(&eth_conf->rx_adv_conf.dcb_rx_conf, &dcb_conf,
210 (void)(rte_memcpy(&eth_conf->rx_adv_conf.vmdq_rx_conf, &vmdq_conf,
212 (void)(rte_memcpy(&eth_conf->tx_adv_conf.vmdq_dcb_tx_conf, &tx_conf,
215 eth_conf->rxmode.mq_mode= ETH_MQ_RX_VMDQ_DCB_RSS;
216 eth_conf->rx_adv_conf.rss_conf.rss_hf = ETH_RSS_IP |
H A Dvmdq_forwarding.rst140 get_eth_conf(struct rte_eth_conf *eth_conf, uint32_t num_pools)
155 (void)(rte_memcpy(eth_conf, &vmdq_conf_default, sizeof(*eth_conf)));
156 (void)(rte_memcpy(&eth_conf->rx_adv_conf.vmdq_rx_conf, &conf,
157 sizeof(eth_conf->rx_adv_conf.vmdq_rx_conf)));
/f-stack/dpdk/drivers/net/dpaa/
H A Ddpaa_ethdev.c204 struct rte_eth_conf *eth_conf = &dev->data->dev_conf; in dpaa_eth_dev_configure() local
205 uint64_t rx_offloads = eth_conf->rxmode.offloads; in dpaa_eth_dev_configure()
206 uint64_t tx_offloads = eth_conf->txmode.offloads; in dpaa_eth_dev_configure()
267 eth_conf->rx_adv_conf.rss_conf.rss_hf)) { in dpaa_eth_dev_configure()
304 if (eth_conf->link_speeds == ETH_LINK_SPEED_AUTONEG) { in dpaa_eth_dev_configure()
308 } else if (eth_conf->link_speeds & ETH_LINK_SPEED_FIXED) { in dpaa_eth_dev_configure()
309 switch (eth_conf->link_speeds & ~ETH_LINK_SPEED_FIXED) { in dpaa_eth_dev_configure()
609 struct rte_eth_conf *eth_conf = &dev->data->dev_conf; in dpaa_dev_rx_burst_mode_get() local
642 struct rte_eth_conf *eth_conf = &dev->data->dev_conf; in dpaa_dev_tx_burst_mode_get() local
1444 struct rte_eth_conf *eth_conf = &data->dev_conf; in dpaa_dev_rss_hash_update() local
[all …]
/f-stack/dpdk/drivers/net/ixgbe/
H A Dixgbe_tm.c118 struct rte_eth_conf *eth_conf; in ixgbe_tc_nb_get() local
121 eth_conf = &dev->data->dev_conf; in ixgbe_tc_nb_get()
122 if (eth_conf->txmode.mq_mode == ETH_MQ_TX_DCB) { in ixgbe_tc_nb_get()
123 nb_tcs = eth_conf->tx_adv_conf.dcb_tx_conf.nb_tcs; in ixgbe_tc_nb_get()
124 } else if (eth_conf->txmode.mq_mode == ETH_MQ_TX_VMDQ_DCB) { in ixgbe_tc_nb_get()
125 if (eth_conf->tx_adv_conf.vmdq_dcb_tx_conf.nb_queue_pools == in ixgbe_tc_nb_get()
H A Dixgbe_pf.c626 struct rte_eth_conf *eth_conf; in ixgbe_get_vf_queues() local
658 eth_conf = &dev->data->dev_conf; in ixgbe_get_vf_queues()
659 switch (eth_conf->txmode.mq_mode) { in ixgbe_get_vf_queues()
664 eth_conf->txmode.mq_mode); in ixgbe_get_vf_queues()
668 vmdq_dcb_tx_conf = &eth_conf->tx_adv_conf.vmdq_dcb_tx_conf; in ixgbe_get_vf_queues()
698 eth_conf->txmode.mq_mode); in ixgbe_get_vf_queues()
H A Drte_pmd_ixgbe.c716 struct rte_eth_conf *eth_conf; in rte_pmd_ixgbe_set_tc_bw_alloc() local
737 eth_conf = &dev->data->dev_conf; in rte_pmd_ixgbe_set_tc_bw_alloc()
739 if (eth_conf->txmode.mq_mode == ETH_MQ_TX_DCB) { in rte_pmd_ixgbe_set_tc_bw_alloc()
740 nb_tcs = eth_conf->tx_adv_conf.dcb_tx_conf.nb_tcs; in rte_pmd_ixgbe_set_tc_bw_alloc()
741 } else if (eth_conf->txmode.mq_mode == ETH_MQ_TX_VMDQ_DCB) { in rte_pmd_ixgbe_set_tc_bw_alloc()
742 if (eth_conf->tx_adv_conf.vmdq_dcb_tx_conf.nb_queue_pools == in rte_pmd_ixgbe_set_tc_bw_alloc()
/f-stack/dpdk/drivers/net/txgbe/
H A Dtxgbe_pf.c585 struct rte_eth_conf *eth_conf; in txgbe_get_vf_queues() local
613 eth_conf = &eth_dev->data->dev_conf; in txgbe_get_vf_queues()
614 switch (eth_conf->txmode.mq_mode) { in txgbe_get_vf_queues()
619 eth_conf->txmode.mq_mode); in txgbe_get_vf_queues()
623 vmdq_dcb_tx_conf = &eth_conf->tx_adv_conf.vmdq_dcb_tx_conf; in txgbe_get_vf_queues()
653 eth_conf->txmode.mq_mode); in txgbe_get_vf_queues()
/f-stack/dpdk/drivers/net/dpaa2/
H A Ddpaa2_ethdev.c283 struct rte_eth_conf *eth_conf = &dev->data->dev_conf; in dpaa2_dev_rx_burst_mode_get() local
304 if (eth_conf->rxmode.offloads & rx_offload_map[i].flags) { in dpaa2_dev_rx_burst_mode_get()
319 struct rte_eth_conf *eth_conf = &dev->data->dev_conf; in dpaa2_dev_tx_burst_mode_get() local
503 struct rte_eth_conf *eth_conf = &dev->data->dev_conf; in dpaa2_eth_dev_configure() local
504 uint64_t rx_offloads = eth_conf->rxmode.offloads; in dpaa2_eth_dev_configure()
505 uint64_t tx_offloads = eth_conf->txmode.offloads; in dpaa2_eth_dev_configure()
533 priv->token, eth_conf->rxmode.max_rx_pkt_len in dpaa2_eth_dev_configure()
549 if (eth_conf->rxmode.mq_mode == ETH_MQ_RX_RSS) { in dpaa2_eth_dev_configure()
552 eth_conf->rx_adv_conf.rss_conf.rss_hf, in dpaa2_eth_dev_configure()
2107 struct rte_eth_conf *eth_conf = &data->dev_conf; in dpaa2_dev_rss_hash_update() local
[all …]
/f-stack/dpdk/app/test-pmd/
H A Dtestpmd.c3595 &eth_conf->rx_adv_conf.vmdq_dcb_conf; in get_eth_dcb_conf()
3597 &eth_conf->tx_adv_conf.vmdq_dcb_tx_conf; in get_eth_dcb_conf()
3619 eth_conf->rxmode.mq_mode = in get_eth_dcb_conf()
3622 eth_conf->txmode.mq_mode = ETH_MQ_TX_VMDQ_DCB; in get_eth_dcb_conf()
3625 &eth_conf->rx_adv_conf.dcb_rx_conf; in get_eth_dcb_conf()
3627 &eth_conf->tx_adv_conf.dcb_tx_conf; in get_eth_dcb_conf()
3643 eth_conf->rxmode.mq_mode = in get_eth_dcb_conf()
3646 eth_conf->rx_adv_conf.rss_conf = rss_conf; in get_eth_dcb_conf()
3647 eth_conf->txmode.mq_mode = ETH_MQ_TX_DCB; in get_eth_dcb_conf()
3651 eth_conf->dcb_capability_en = in get_eth_dcb_conf()
[all …]
/f-stack/dpdk/examples/vhost/
H A Dmain.c203 get_eth_conf(struct rte_eth_conf *eth_conf, uint32_t num_devices) in get_eth_conf() argument
221 (void)(rte_memcpy(eth_conf, &vmdq_conf_default, sizeof(*eth_conf))); in get_eth_conf()
222 (void)(rte_memcpy(&eth_conf->rx_adv_conf.vmdq_rx_conf, &conf, in get_eth_conf()
223 sizeof(eth_conf->rx_adv_conf.vmdq_rx_conf))); in get_eth_conf()
/f-stack/dpdk/app/test/
H A Dtest_link_bonding_rssconf.c124 configure_ethdev(uint16_t port_id, struct rte_eth_conf *eth_conf, in configure_ethdev() argument
130 RXTX_QUEUE_COUNT, eth_conf) == 0, "Failed to configure device %u", in configure_ethdev()
/f-stack/dpdk/drivers/net/enetc/
H A Denetc_ethdev.c705 struct rte_eth_conf *eth_conf = &dev->data->dev_conf; in enetc_dev_configure() local
706 uint64_t rx_offloads = eth_conf->rxmode.offloads; in enetc_dev_configure()
/f-stack/dpdk/lib/librte_ethdev/
H A Drte_ethdev.h2102 uint16_t nb_tx_queue, const struct rte_eth_conf *eth_conf);