examples/l3fwd: support separate buffer pool per port
authorShreyansh Jain <shreyansh.jain@nxp.com>
Thu, 25 Apr 2019 09:40:19 +0000 (15:10 +0530)
committerThomas Monjalon <thomas@monjalon.net>
Thu, 2 May 2019 22:47:58 +0000 (00:47 +0200)
Traditionally, only a single buffer pool per port
(or, per-port-per-socket) is created in l3fwd application.

If separate pools are created per-port, it might lead to gain in
performance as packet alloc/dealloc requests would be isolated
across ports (and their corresponding lcores).

This patch adds an argument '--per-port-pool' to the l3fwd application.
By default, old mode of single pool per port (split on sockets) is
active.

L3fwd user guide is also updated by this patch.

Signed-off-by: Shreyansh Jain <shreyansh.jain@nxp.com>
Acked-by: Ruifeng Wang <ruifeng.wang@arm.com>

No differences found