| /dpdk/examples/vmdq_dcb/ |
| H A D | main.c | 135 get_eth_conf(struct rte_eth_conf *eth_conf) in get_eth_conf() argument 165 (void)(rte_memcpy(eth_conf, &vmdq_dcb_conf_default, sizeof(*eth_conf))); in get_eth_conf() 166 (void)(rte_memcpy(ð_conf->rx_adv_conf.vmdq_dcb_conf, &conf, in get_eth_conf() 168 (void)(rte_memcpy(ð_conf->rx_adv_conf.dcb_rx_conf, &dcb_conf, in get_eth_conf() 170 (void)(rte_memcpy(ð_conf->rx_adv_conf.vmdq_rx_conf, &vmdq_conf, in get_eth_conf() 172 (void)(rte_memcpy(ð_conf->tx_adv_conf.vmdq_dcb_tx_conf, &tx_conf, in get_eth_conf() 175 eth_conf->rxmode.mq_mode = RTE_ETH_MQ_RX_VMDQ_DCB_RSS; in get_eth_conf() 176 eth_conf->rx_adv_conf.rss_conf.rss_hf = RTE_ETH_RSS_IP | in get_eth_conf()
|
| /dpdk/examples/vmdq/ |
| H A D | main.c | 140 get_eth_conf(struct rte_eth_conf *eth_conf, uint32_t num_pools) in get_eth_conf() argument 155 (void)(rte_memcpy(eth_conf, &vmdq_conf_default, sizeof(*eth_conf))); in get_eth_conf() 156 (void)(rte_memcpy(ð_conf->rx_adv_conf.vmdq_rx_conf, &conf, in get_eth_conf() 157 sizeof(eth_conf->rx_adv_conf.vmdq_rx_conf))); in get_eth_conf() 159 eth_conf->rxmode.mq_mode = RTE_ETH_MQ_RX_VMDQ_RSS; in get_eth_conf() 160 eth_conf->rx_adv_conf.rss_conf.rss_hf = RTE_ETH_RSS_IP | in get_eth_conf()
|
| /dpdk/drivers/net/dpaa/ |
| H A D | dpaa_ethdev.c | 195 struct rte_eth_conf *eth_conf = &dev->data->dev_conf; in dpaa_eth_dev_configure() local 196 uint64_t rx_offloads = eth_conf->rxmode.offloads; in dpaa_eth_dev_configure() 197 uint64_t tx_offloads = eth_conf->txmode.offloads; in dpaa_eth_dev_configure() 241 max_rx_pktlen = eth_conf->rxmode.mtu + RTE_ETHER_HDR_LEN + in dpaa_eth_dev_configure() 260 eth_conf->rx_adv_conf.rss_conf.rss_hf)) { in dpaa_eth_dev_configure() 298 if (eth_conf->link_speeds == RTE_ETH_LINK_SPEED_AUTONEG) { in dpaa_eth_dev_configure() 602 struct rte_eth_conf *eth_conf = &dev->data->dev_conf; in dpaa_dev_rx_burst_mode_get() local 634 struct rte_eth_conf *eth_conf = &dev->data->dev_conf; in dpaa_dev_tx_burst_mode_get() local 1442 struct rte_eth_conf *eth_conf = &data->dev_conf; in dpaa_dev_rss_hash_update() local 1464 struct rte_eth_conf *eth_conf = &data->dev_conf; in dpaa_dev_rss_hash_conf_get() local [all …]
|
| /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 == RTE_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 == RTE_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 | 643 struct rte_eth_conf *eth_conf; in ixgbe_get_vf_queues() local 675 eth_conf = &dev->data->dev_conf; in ixgbe_get_vf_queues() 676 switch (eth_conf->txmode.mq_mode) { in ixgbe_get_vf_queues() 681 eth_conf->txmode.mq_mode); in ixgbe_get_vf_queues() 685 vmdq_dcb_tx_conf = ð_conf->tx_adv_conf.vmdq_dcb_tx_conf; in ixgbe_get_vf_queues() 715 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 == RTE_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 == RTE_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()
|
| /dpdk/drivers/net/txgbe/ |
| H A D | txgbe_pf.c | 584 struct rte_eth_conf *eth_conf; in txgbe_get_vf_queues() local 612 eth_conf = ð_dev->data->dev_conf; in txgbe_get_vf_queues() 613 switch (eth_conf->txmode.mq_mode) { in txgbe_get_vf_queues() 618 eth_conf->txmode.mq_mode); in txgbe_get_vf_queues() 622 vmdq_dcb_tx_conf = ð_conf->tx_adv_conf.vmdq_dcb_tx_conf; in txgbe_get_vf_queues() 652 eth_conf->txmode.mq_mode); in txgbe_get_vf_queues()
|
| H A D | txgbe_tm.c | 117 struct rte_eth_conf *eth_conf; in txgbe_tc_nb_get() local 120 eth_conf = &dev->data->dev_conf; in txgbe_tc_nb_get() 121 if (eth_conf->txmode.mq_mode == RTE_ETH_MQ_TX_DCB) { in txgbe_tc_nb_get() 122 nb_tcs = eth_conf->tx_adv_conf.dcb_tx_conf.nb_tcs; in txgbe_tc_nb_get() 123 } else if (eth_conf->txmode.mq_mode == RTE_ETH_MQ_TX_VMDQ_DCB) { in txgbe_tc_nb_get() 124 if (eth_conf->tx_adv_conf.vmdq_dcb_tx_conf.nb_queue_pools == in txgbe_tc_nb_get()
|
| /dpdk/drivers/net/dpaa2/ |
| H A D | dpaa2_ethdev.c | 292 struct rte_eth_conf *eth_conf = &dev->data->dev_conf; in dpaa2_dev_rx_burst_mode_get() local 312 if (eth_conf->rxmode.offloads & rx_offload_map[i].flags) { in dpaa2_dev_rx_burst_mode_get() 327 struct rte_eth_conf *eth_conf = &dev->data->dev_conf; in dpaa2_dev_tx_burst_mode_get() local 539 struct rte_eth_conf *eth_conf = &dev->data->dev_conf; in dpaa2_eth_dev_configure() local 540 uint64_t rx_offloads = eth_conf->rxmode.offloads; in dpaa2_eth_dev_configure() 541 uint64_t tx_offloads = eth_conf->txmode.offloads; in dpaa2_eth_dev_configure() 582 if (eth_conf->rxmode.mq_mode == RTE_ETH_MQ_RX_RSS) { in dpaa2_eth_dev_configure() 585 eth_conf->rx_adv_conf.rss_conf.rss_hf, in dpaa2_eth_dev_configure() 672 if (eth_conf->lpbk_mode) { in dpaa2_eth_dev_configure() 2189 struct rte_eth_conf *eth_conf = &data->dev_conf; in dpaa2_dev_rss_hash_update() local [all …]
|
| /dpdk/drivers/net/enetfec/ |
| H A D | enet_rxtx.c | 31 struct rte_eth_conf *eth_conf = &rxq->fep->dev->data->dev_conf; in enetfec_recv_pkts() local 32 uint64_t rx_offloads = eth_conf->rxmode.offloads; in enetfec_recv_pkts()
|
| /dpdk/app/test-pmd/ |
| H A D | testpmd.c | 3885 ð_conf->rx_adv_conf.vmdq_dcb_conf; in get_eth_dcb_conf() 3887 ð_conf->tx_adv_conf.vmdq_dcb_tx_conf; in get_eth_dcb_conf() 3909 eth_conf->rxmode.mq_mode = in get_eth_dcb_conf() 3912 eth_conf->txmode.mq_mode = RTE_ETH_MQ_TX_VMDQ_DCB; in get_eth_dcb_conf() 3915 ð_conf->rx_adv_conf.dcb_rx_conf; in get_eth_dcb_conf() 3917 ð_conf->tx_adv_conf.dcb_tx_conf; in get_eth_dcb_conf() 3933 eth_conf->rxmode.mq_mode = in get_eth_dcb_conf() 3936 eth_conf->rx_adv_conf.rss_conf = rss_conf; in get_eth_dcb_conf() 3937 eth_conf->txmode.mq_mode = RTE_ETH_MQ_TX_DCB; in get_eth_dcb_conf() 3941 eth_conf->dcb_capability_en = in get_eth_dcb_conf() [all …]
|
| /dpdk/app/test/ |
| H A D | test_link_bonding_rssconf.c | 122 configure_ethdev(uint16_t port_id, struct rte_eth_conf *eth_conf, in configure_ethdev() argument 128 RXTX_QUEUE_COUNT, eth_conf) == 0, "Failed to configure device %u", in configure_ethdev()
|
| /dpdk/examples/vhost/ |
| H A D | main.c | 354 get_eth_conf(struct rte_eth_conf *eth_conf, uint32_t num_devices) in get_eth_conf() argument 372 (void)(rte_memcpy(eth_conf, &vmdq_conf_default, sizeof(*eth_conf))); in get_eth_conf() 373 (void)(rte_memcpy(ð_conf->rx_adv_conf.vmdq_rx_conf, &conf, in get_eth_conf() 374 sizeof(eth_conf->rx_adv_conf.vmdq_rx_conf))); in get_eth_conf()
|
| /dpdk/drivers/net/enetc/ |
| H A D | enetc_ethdev.c | 710 struct rte_eth_conf *eth_conf = &dev->data->dev_conf; in enetc_dev_configure() local 711 uint64_t rx_offloads = eth_conf->rxmode.offloads; in enetc_dev_configure()
|
| /dpdk/lib/ethdev/ |
| H A D | rte_ethdev.h | 2464 uint16_t nb_tx_queue, const struct rte_eth_conf *eth_conf);
|