[EXTERNAL] [PATCH v2] examples/l3fwd: adjust Tx burst size based on Rx burst
Pavan Nikhilesh Bhagavatula
pbhagavatula at marvell.com
Tue Jun 10 16:29:42 CEST 2025
>Previously, the TX burst size was fixed at 256, leading to performance
>degradation in certain scenarios.
>
>This patch introduces logic to set the TX burst size to match the
>configured RX burst size (--burst option, default 32, max 512)
>for better efficiency.
>
>Fixes: d5c4897ecfb2 ("examples/l3fwd: add option to set Rx burst size")
>Cc: haijie1 at huawei.com
>Cc: stable at dpdk.org
>
>Signed-off-by: Sivaprasad Tummala <sivaprasad.tummala at amd.com>
>Tested-by: Venkat Kumar Ande <VenkatKumar.Ande at amd.com>
>Tested-by: Dengdui Huang <huangdengdui at huawei.com>
It would be good if the selected burst sizes of Rx and Tx are logged.
On CN10K platform we see upto 5% improvement, and upto 30% improvement on CN9K.
Tested-by: Pavan Nikhilesh <pbhagavatula at marvell.com>
>---
> examples/l3fwd/l3fwd.h | 8 ++------
> examples/l3fwd/l3fwd_common.h | 11 +++++++----
> examples/l3fwd/main.c | 2 ++
> 3 files changed, 11 insertions(+), 10 deletions(-)
More information about the dev
mailing list