[dpdk-dev] [PATCH 1/2] app/testpmd: add a generic way for dumping packets

Thomas Monjalon thomas at monjalon.net
Wed Sep 12 17:00:34 CEST 2018


12/09/2018 10:06, Raslan Darawsheh:
> verbosity for the received/sent packets is needed in all of the
> forwarding engines so moving it to be in a separate function.
> 
> Signed-off-by: Raslan Darawsheh <rasland at mellanox.com>
> ---
>  app/test-pmd/Makefile  |   1 +
>  app/test-pmd/testpmd.h |   2 +
>  app/test-pmd/util.c    | 143 +++++++++++++++++++++++++++++++++++++++++++++++++
>  3 files changed, 146 insertions(+)

If you are moving code from app/test-pmd/rxonly.c, you should
update this file in the same patch, so it will appear more clearly as a move.
Then the second patch would be only about adding the feature to more engines.





More information about the dev mailing list