| /f-stack/dpdk/examples/vmdq_dcb/ |
| H A D | main.c | 134 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(ð_conf->rx_adv_conf.vmdq_dcb_conf, &conf, in get_eth_conf() 167 (void)(rte_memcpy(ð_conf->rx_adv_conf.dcb_rx_conf, &dcb_conf, in get_eth_conf() 169 (void)(rte_memcpy(ð_conf->rx_adv_conf.vmdq_rx_conf, &vmdq_conf, in get_eth_conf() 171 (void)(rte_memcpy(ð_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 D | main.c | 129 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(ð_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 D | vmdq_dcb_forwarding.rst | 175 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(ð_conf->rx_adv_conf.vmdq_dcb_conf, &conf, 208 (void)(rte_memcpy(ð_conf->rx_adv_conf.dcb_rx_conf, &dcb_conf, 210 (void)(rte_memcpy(ð_conf->rx_adv_conf.vmdq_rx_conf, &vmdq_conf, 212 (void)(rte_memcpy(ð_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 D | vmdq_forwarding.rst | 140 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(ð_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 D | dpaa_ethdev.c | 204 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 D | ixgbe_tm.c | 118 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 D | ixgbe_pf.c | 626 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 = ð_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 D | rte_pmd_ixgbe.c | 716 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 D | txgbe_pf.c | 585 struct rte_eth_conf *eth_conf; in txgbe_get_vf_queues() local 613 eth_conf = ð_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 = ð_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 D | dpaa2_ethdev.c | 283 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 D | testpmd.c | 3595 ð_conf->rx_adv_conf.vmdq_dcb_conf; in get_eth_dcb_conf() 3597 ð_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 ð_conf->rx_adv_conf.dcb_rx_conf; in get_eth_dcb_conf() 3627 ð_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 D | main.c | 203 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(ð_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 D | test_link_bonding_rssconf.c | 124 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 D | enetc_ethdev.c | 705 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 D | rte_ethdev.h | 2102 uint16_t nb_tx_queue, const struct rte_eth_conf *eth_conf);
|