The ABI test failure is not related to this patch.
Thanks,
Honnappa
> -----Original Message-----
> From: Honnappa Nagarahalli <[email protected]>
> Sent: Monday, March 7, 2022 4:40 PM
> To: [email protected]; Honnappa Nagarahalli
> <[email protected]>; [email protected];
> [email protected]; [email protected];
> [email protected]; [email protected]; [email protected]
> Cc: Ruifeng Wang <[email protected]>; nd <[email protected]>;
> [email protected]; [email protected]; [email protected]
> Subject: [PATCH] examples/distributor: one Tx queue is enough
>
> Distributor application creates one Tx queue per core. However the transmit is
> done only from a single core. Hence creating one Tx queue is enough.
>
> Fixes: 07db4a975094 ("examples/distributor: new sample app")
> Cc: [email protected]
> Cc: [email protected]
> Cc: [email protected]
>
> Signed-off-by: Honnappa Nagarahalli <[email protected]>
> Reviewed-by: Ruifeng Wang <[email protected]>
> ---
> DTS test cases make this change to DPDK. However, I find that, one queue is
> enough. Hence we could make this change in DPDK.
>
> examples/distributor/main.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/examples/distributor/main.c b/examples/distributor/main.c index
> c681e237ea..02bf91f555 100644
> --- a/examples/distributor/main.c
> +++ b/examples/distributor/main.c
> @@ -108,7 +108,7 @@ static inline int
> port_init(uint16_t port, struct rte_mempool *mbuf_pool) {
> struct rte_eth_conf port_conf = port_conf_default;
> - const uint16_t rxRings = 1, txRings = rte_lcore_count() - 1;
> + const uint16_t rxRings = 1, txRings = 1;
> int retval;
> uint16_t q;
> uint16_t nb_rxd = RX_RING_SIZE;
> --
> 2.25.1