numam-dpdk/examples/l3fwd-power
Gregory Etelson 6184a02223 examples/l3fwd-power: check packet types after start
l3fwd-power uses `--parse-ptype' parameter to query egress packets
type.  Before that feature is enabled l3fwd-power verifies PMD ability
to advertise supported packet types with
rte_eth_dev_get_supported_ptypes().

The above ethdev function API contains this note:
"
Better to invoke this API after the device is already started or rx burst
function is decided, to obtain correct supported ptypes.
"

The patch updates code for PMDs that register supported types after
dev_start.

Fixes: 82bea46616 ("examples/l3fwd-power: add --parse-ptype option")
Cc: stable@dpdk.org

Signed-off-by: Gregory Etelson <getelson@nvidia.com>
2020-11-22 18:27:08 +01:00
..
main.c examples/l3fwd-power: check packet types after start 2020-11-22 18:27:08 +01:00
main.h examples/l3fwd-power: add high/regular perf cores options 2018-07-12 19:19:07 +02:00
Makefile examples: remove legacy sections of makefiles 2020-09-07 16:53:41 +02:00
meson.build build: replace use of old build macros 2020-10-19 22:15:44 +02:00
perf_core.c examples/l3fwd-power: fix updating lcore parameters 2020-07-22 01:44:37 +02:00
perf_core.h examples/l3fwd-power: add high/regular perf cores options 2018-07-12 19:19:07 +02:00