[dpdk-dev] [PATCH v2] examples/l3fwd: pass flow arguments when start app

Stephen Hemminger stephen at networkplumber.org
Sun Oct 1 19:24:10 CEST 2017

On Sat, 30 Sep 2017 09:59:08 +0800
Xiaoyun Li <xiaoyun.li at intel.com> wrote:

> To make the performance can be tuning on different NICs or platforms. We
> need to make the number of descriptors and Rx/TX threshold as arguments
> when starting l3fwd application.
> Signed-off-by: Xiaoyun Li <xiaoyun.li at intel.com>

Not sure about this. The point of l3fwd is to make it as simple
an application as possible to help users.

Given that drivers can now supply default values for thresholds, I think
the l3fwd sample should get rid of all the special descriptor values it
is setting. Then if the values are not right for best performance that should
be pushed back to the driver writer to fix.

More information about the dev mailing list