]> git.droids-corp.org - dpdk.git/commit
examples/l3fwd: print device name when adding routes
authorPavan Nikhilesh <pbhagavatula@marvell.com>
Fri, 5 Nov 2021 08:38:50 +0000 (14:08 +0530)
committerDavid Marchand <david.marchand@redhat.com>
Tue, 16 Nov 2021 10:24:22 +0000 (11:24 +0100)
commitfc89b4c8dd364a529a8857f4a6fcae7c4b481b3d
treeb12bf4032b810204a11c87caf5f90be048410923
parentcb94a679b7d1999c57ad97fc0e7a6aa011d91cb7
examples/l3fwd: print device name when adding routes

Since the number of Ethernet ports have gone up, print the device name
(which for PCI devices is the BDF triplet), along with the routes.
This is also helpful for cases where allow listing order is not honored.

Signed-off-by: Pavan Nikhilesh <pbhagavatula@marvell.com>
Reviewed-by: Conor Walsh <conor.walsh@intel.com>
Reviewed-by: David Marchand <david.marchand@redhat.com>
examples/l3fwd/l3fwd_fib.c
examples/l3fwd/l3fwd_lpm.c