[dpdk-dev] [PATCH] app/testpmd: add commands for TM to mark pkts

Dumitrescu, Cristian cristian.dumitrescu at intel.com
Mon Oct 8 18:04:51 CEST 2018



> -----Original Message-----
> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Krzysztof Kanas
> Sent: Friday, August 17, 2018 12:39 PM
> To: dev at dpdk.org
> Cc: krzysztof.kanas at caviumnetworks.com;
> Jerin.JacobKollanukkaran at cavium.com; Nithin.Dabilpuram at cavium.com
> Subject: [dpdk-dev] [PATCH] app/testpmd: add commands for TM to mark
> pkts
> 
> Add following testpmd run-time commands to support test of TM packet
> marking:
> 
> set port tm mark ip_ecn   <port_id> <green> <yellow> <red>
> set port tm mark ip_dscp  <port_id> <green> <yellow> <red>
> set port tm mark vlan_dei <port_id> <green> <yellow> <red>
> 
> Signed-off-by: Krzysztof Kanas <krzysztof.kanas at caviumnetworks.com>
> ---
>  app/test-pmd/cmdline.c                      |   3 +
>  app/test-pmd/cmdline_tm.c                   | 260 ++++++++++++++++++++
>  app/test-pmd/cmdline_tm.h                   |   3 +
>  doc/guides/testpmd_app_ug/testpmd_funcs.rst |  57 +++++
>  4 files changed, 323 insertions(+)
> 

Acked-by: Cristian Dumitrescu <cristian.dumitrescu at intel.com>

Applied to next-qos tree, thanks!



More information about the dev mailing list