[PATCH v2] examples/l3fwd: adjust Tx burst size based on Rx burst

Stephen Hemminger stephen at networkplumber.org
Mon Jun 9 17:21:54 CEST 2025


On Mon, 9 Jun 2025 09:58:27 +0000
Sivaprasad Tummala <sivaprasad.tummala at amd.com> wrote:

> 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>

What driver? Why not fix the driver.
If RX burst is small, there should be no way to get TX burst larger
than that to happen.


More information about the dev mailing list