| /f-stack/dpdk/drivers/net/txgbe/ |
| H A D | txgbe_pf.c | 79 RTE_ETH_DEV_SRIOV(eth_dev).active = 0; in txgbe_pf_host_init() 107 RTE_ETH_DEV_SRIOV(eth_dev).active = ETH_64_POOLS; in txgbe_pf_host_init() 110 RTE_ETH_DEV_SRIOV(eth_dev).active = ETH_32_POOLS; in txgbe_pf_host_init() 113 RTE_ETH_DEV_SRIOV(eth_dev).active = ETH_16_POOLS; in txgbe_pf_host_init() 117 RTE_ETH_DEV_SRIOV(eth_dev).def_vmdq_idx = vf_num; in txgbe_pf_host_init() 118 RTE_ETH_DEV_SRIOV(eth_dev).def_pool_q_idx = in txgbe_pf_host_init() 140 RTE_ETH_DEV_SRIOV(eth_dev).active = 0; in txgbe_pf_host_uninit() 141 RTE_ETH_DEV_SRIOV(eth_dev).nb_q_per_pool = 0; in txgbe_pf_host_uninit() 142 RTE_ETH_DEV_SRIOV(eth_dev).def_vmdq_idx = 0; in txgbe_pf_host_uninit() 143 RTE_ETH_DEV_SRIOV(eth_dev).def_pool_q_idx = 0; in txgbe_pf_host_uninit() [all …]
|
| H A D | txgbe_ethdev.c | 1097 RTE_ETH_DEV_SRIOV(dev).active = ETH_64_POOLS; in txgbe_check_vf_rss_rxq_num() 1100 RTE_ETH_DEV_SRIOV(dev).active = ETH_32_POOLS; in txgbe_check_vf_rss_rxq_num() 1106 RTE_ETH_DEV_SRIOV(dev).nb_q_per_pool = in txgbe_check_vf_rss_rxq_num() 1107 TXGBE_MAX_RX_QUEUE_NUM / RTE_ETH_DEV_SRIOV(dev).active; in txgbe_check_vf_rss_rxq_num() 1108 RTE_ETH_DEV_SRIOV(dev).def_pool_q_idx = in txgbe_check_vf_rss_rxq_num() 1120 if (RTE_ETH_DEV_SRIOV(dev).active != 0) { in txgbe_check_mq_mode() 1135 if (nb_rx_q <= RTE_ETH_DEV_SRIOV(dev).nb_q_per_pool) in txgbe_check_mq_mode() 1176 RTE_ETH_DEV_SRIOV(dev).nb_q_per_pool); in txgbe_check_mq_mode() 1328 nb_q_per_pool = RTE_ETH_DEV_SRIOV(dev).nb_q_per_pool; in txgbe_set_vf_rate_limit() 1437 !RTE_ETH_DEV_SRIOV(dev).active) && in txgbe_dev_start() [all …]
|
| H A D | txgbe_rxtx.c | 1901 struct rte_eth_dev_sriov *sriov = &RTE_ETH_DEV_SRIOV(dev); in txgbe_get_rx_port_offloads() 2259 txq->reg_idx = (uint16_t)((RTE_ETH_DEV_SRIOV(dev).active == 0) ? in txgbe_dev_tx_queue_setup() 2260 queue_idx : RTE_ETH_DEV_SRIOV(dev).def_pool_q_idx + queue_idx); in txgbe_dev_tx_queue_setup() 2510 rxq->reg_idx = (uint16_t)((RTE_ETH_DEV_SRIOV(dev).active == 0) ? in txgbe_dev_rx_queue_setup() 2511 queue_idx : RTE_ETH_DEV_SRIOV(dev).def_pool_q_idx + queue_idx); in txgbe_dev_rx_queue_setup() 3249 if (RTE_ETH_DEV_SRIOV(dev).active == 0) { in txgbe_dcb_rx_hw_config() 3762 switch (RTE_ETH_DEV_SRIOV(dev).active) { in txgbe_config_vf_rss() 3789 switch (RTE_ETH_DEV_SRIOV(dev).active) { in txgbe_config_vf_default() 3815 if (RTE_ETH_DEV_SRIOV(dev).active == 0) { in txgbe_dev_mq_rx_configure() 3882 if (RTE_ETH_DEV_SRIOV(dev).active == 0) { in txgbe_dev_mq_tx_configure() [all …]
|
| /f-stack/dpdk/drivers/net/e1000/ |
| H A D | igb_pf.c | 75 RTE_ETH_DEV_SRIOV(eth_dev).active = 0; in igb_pf_host_init() 91 RTE_ETH_DEV_SRIOV(eth_dev).active = ETH_8_POOLS; in igb_pf_host_init() 92 RTE_ETH_DEV_SRIOV(eth_dev).nb_q_per_pool = nb_queue; in igb_pf_host_init() 93 RTE_ETH_DEV_SRIOV(eth_dev).def_vmdq_idx = vf_num; in igb_pf_host_init() 94 RTE_ETH_DEV_SRIOV(eth_dev).def_pool_q_idx = (uint16_t)(vf_num * nb_queue); in igb_pf_host_init() 113 RTE_ETH_DEV_SRIOV(dev).active = 0; in igb_pf_host_uninit() 114 RTE_ETH_DEV_SRIOV(dev).nb_q_per_pool = 0; in igb_pf_host_uninit() 115 RTE_ETH_DEV_SRIOV(dev).def_vmdq_idx = 0; in igb_pf_host_uninit() 116 RTE_ETH_DEV_SRIOV(dev).def_pool_q_idx = 0; in igb_pf_host_uninit() 143 vtctl |= RTE_ETH_DEV_SRIOV(eth_dev).def_vmdq_idx in igb_pf_host_configure() [all …]
|
| H A D | igb_rxtx.c | 1555 txq->reg_idx = (uint16_t)((RTE_ETH_DEV_SRIOV(dev).active == 0) ? in eth_igb_tx_queue_setup() 1556 queue_idx : RTE_ETH_DEV_SRIOV(dev).def_pool_q_idx + queue_idx); in eth_igb_tx_queue_setup() 1729 rxq->reg_idx = (uint16_t)((RTE_ETH_DEV_SRIOV(dev).active == 0) ? in eth_igb_rx_queue_setup() 1730 queue_idx : RTE_ETH_DEV_SRIOV(dev).def_pool_q_idx + queue_idx); in eth_igb_rx_queue_setup() 2284 if (RTE_ETH_DEV_SRIOV(dev).active == ETH_8_POOLS) { in igb_dev_mq_rx_configure() 2293 } else if(RTE_ETH_DEV_SRIOV(dev).active == 0) { in igb_dev_mq_rx_configure()
|
| H A D | igb_ethdev.c | 1093 if (RTE_ETH_DEV_SRIOV(dev).active != 0) { in igb_check_mq_mode() 1102 RTE_ETH_DEV_SRIOV(dev).nb_q_per_pool = 1; in igb_check_mq_mode() 1262 !RTE_ETH_DEV_SRIOV(dev).active) && in eth_igb_start()
|
| /f-stack/dpdk/drivers/net/ixgbe/ |
| H A D | ixgbe_pf.c | 85 RTE_ETH_DEV_SRIOV(eth_dev).active = 0; in ixgbe_pf_host_init() 112 RTE_ETH_DEV_SRIOV(eth_dev).active = ETH_64_POOLS; in ixgbe_pf_host_init() 115 RTE_ETH_DEV_SRIOV(eth_dev).active = ETH_32_POOLS; in ixgbe_pf_host_init() 118 RTE_ETH_DEV_SRIOV(eth_dev).active = ETH_16_POOLS; in ixgbe_pf_host_init() 122 RTE_ETH_DEV_SRIOV(eth_dev).def_vmdq_idx = vf_num; in ixgbe_pf_host_init() 144 RTE_ETH_DEV_SRIOV(eth_dev).active = 0; in ixgbe_pf_host_uninit() 145 RTE_ETH_DEV_SRIOV(eth_dev).nb_q_per_pool = 0; in ixgbe_pf_host_uninit() 146 RTE_ETH_DEV_SRIOV(eth_dev).def_vmdq_idx = 0; in ixgbe_pf_host_uninit() 147 RTE_ETH_DEV_SRIOV(eth_dev).def_pool_q_idx = 0; in ixgbe_pf_host_uninit() 231 vtctl |= RTE_ETH_DEV_SRIOV(eth_dev).def_vmdq_idx in ixgbe_pf_host_configure() [all …]
|
| H A D | ixgbe_rxtx.c | 2725 txq->reg_idx = (uint16_t)((RTE_ETH_DEV_SRIOV(dev).active == 0) ? in ixgbe_dev_tx_queue_setup() 2726 queue_idx : RTE_ETH_DEV_SRIOV(dev).def_pool_q_idx + queue_idx); in ixgbe_dev_tx_queue_setup() 3002 !RTE_ETH_DEV_SRIOV(dev).active) in ixgbe_get_rx_port_offloads() 3068 rxq->reg_idx = (uint16_t)((RTE_ETH_DEV_SRIOV(dev).active == 0) ? in ixgbe_dev_rx_queue_setup() 3069 queue_idx : RTE_ETH_DEV_SRIOV(dev).def_pool_q_idx + queue_idx); in ixgbe_dev_rx_queue_setup() 3997 if (RTE_ETH_DEV_SRIOV(dev).active == 0) { in ixgbe_dcb_rx_hw_config() 4486 switch (RTE_ETH_DEV_SRIOV(dev).active) { in ixgbe_config_vf_rss() 4511 switch (RTE_ETH_DEV_SRIOV(dev).active) { in ixgbe_config_vf_default() 4543 if (RTE_ETH_DEV_SRIOV(dev).active == 0) { in ixgbe_dev_mq_rx_configure() 4614 if (RTE_ETH_DEV_SRIOV(dev).active == 0) { in ixgbe_dev_mq_tx_configure() [all …]
|
| H A D | ixgbe_ethdev.c | 2198 RTE_ETH_DEV_SRIOV(dev).active = ETH_64_POOLS; in ixgbe_check_vf_rss_rxq_num() 2201 RTE_ETH_DEV_SRIOV(dev).active = ETH_32_POOLS; in ixgbe_check_vf_rss_rxq_num() 2207 RTE_ETH_DEV_SRIOV(dev).nb_q_per_pool = in ixgbe_check_vf_rss_rxq_num() 2209 RTE_ETH_DEV_SRIOV(dev).def_pool_q_idx = in ixgbe_check_vf_rss_rxq_num() 2222 if (RTE_ETH_DEV_SRIOV(dev).active != 0) { in ixgbe_check_mq_mode() 2237 if (nb_rx_q <= RTE_ETH_DEV_SRIOV(dev).nb_q_per_pool) in ixgbe_check_mq_mode() 2276 RTE_ETH_DEV_SRIOV(dev).nb_q_per_pool); in ixgbe_check_mq_mode() 2451 nb_q_per_pool = RTE_ETH_DEV_SRIOV(dev).nb_q_per_pool; in ixgbe_set_vf_rate_limit() 2587 !RTE_ETH_DEV_SRIOV(dev).active) && in ixgbe_dev_start() 3821 if (RTE_ETH_DEV_SRIOV(dev).active == 0) { in ixgbe_dev_info_get() [all …]
|
| /f-stack/dpdk/lib/librte_ethdev/ |
| H A D | rte_ethdev.h | 1792 #define RTE_ETH_DEV_SRIOV(dev) ((dev)->data->sriov) macro
|
| /f-stack/dpdk/drivers/net/i40e/ |
| H A D | i40e_pf.c | 1555 RTE_ETH_DEV_SRIOV(dev).active = pf->vf_num; in i40e_pf_host_init()
|
| H A D | i40e_ethdev.c | 2396 !RTE_ETH_DEV_SRIOV(dev).active) && in i40e_dev_start()
|
| /f-stack/dpdk/drivers/net/atlantic/ |
| H A D | atl_ethdev.c | 514 !RTE_ETH_DEV_SRIOV(dev).active) && in atl_dev_start()
|
| /f-stack/dpdk/drivers/net/igc/ |
| H A D | igc_txrx.c | 1052 if (RTE_ETH_DEV_SRIOV(dev).active) { in igc_dev_mq_rx_configure()
|
| H A D | igc_ethdev.c | 312 if (RTE_ETH_DEV_SRIOV(dev).active != 0) { in igc_check_mq_mode()
|
| /f-stack/dpdk/drivers/net/hns3/ |
| H A D | hns3_ethdev_vf.c | 2103 !RTE_ETH_DEV_SRIOV(dev).active) { in hns3vf_map_rx_interrupt()
|
| H A D | hns3_ethdev.c | 4778 !RTE_ETH_DEV_SRIOV(dev).active) { in hns3_map_rx_interrupt()
|
| /f-stack/dpdk/drivers/net/bnxt/ |
| H A D | bnxt_ethdev.c | 766 !RTE_ETH_DEV_SRIOV(bp->eth_dev).active) && in bnxt_init_chip()
|
| /f-stack/dpdk/drivers/net/ice/ |
| H A D | ice_ethdev.c | 3396 !RTE_ETH_DEV_SRIOV(dev).active) && in ice_rxq_intr_setup()
|