On Tue, Sep 25, 2018 at 3:17 PM, Iremonger, Bernard <bernard.iremon...@intel.com> wrote: > Hi David, > >> -----Original Message----- >> From: David Marchand [mailto:david.march...@6wind.com] >> Sent: Monday, September 10, 2018 6:46 AM >> To: dev@dpdk.org >> Cc: olivier.m...@6wind.com; Lu, Wenzhuo <wenzhuo...@intel.com>; Wu, >> Jingjing <jingjing...@intel.com>; Iremonger, Bernard >> <bernard.iremon...@intel.com> >> Subject: [PATCH 3/3] app/testpmd: add sanity checks on received/sent >> packets >> >> Make use of the newly introduced rte_mbuf_check() to (optionally) check all >> packets received/sent through a port. >> The idea behind this is to help to quickly identify badly formatted mbufs >> coming from the pmd on the rx side, and from the application on the tx side. >> Setting the verbose level to some > 0 value will dump all packets in the >> associated rx/tx callback to further help in the debugging. >> >> Signed-off-by: David Marchand <david.march...@6wind.com> >> --- >> app/test-pmd/cmdline.c | 63 +++++++++++++++++++ >> app/test-pmd/config.c | 23 +++++++ >> app/test-pmd/parameters.c | 7 +++ >> app/test-pmd/testpmd.c | 123 >> ++++++++++++++++++++++++++++++++++++++ >> app/test-pmd/testpmd.h | 9 +++ >> 5 files changed, 225 insertions(+) > > There should probably be an entry in section 4.6 of the Testpmd User Guide > for the > "port config all sanity_check" command.
Sure, will do. -- David Marchand