>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: haij...@huawei.com >Cc: sta...@dpdk.org > >Signed-off-by: Sivaprasad Tummala <sivaprasad.tumm...@amd.com> >Tested-by: Venkat Kumar Ande <venkatkumar.a...@amd.com> >Tested-by: Dengdui Huang <huangdeng...@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 <pbhagavat...@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(-)