[dpdk-dev] [PATCH v4 4/5] app/testpmd: add new commands to manipulate with pctype mapping

Ferruh Yigit ferruh.yigit at intel.com
Tue Oct 3 23:42:53 CEST 2017


On 10/2/2017 4:09 PM, Kirill Rybalchenko wrote:
> Add new commands to manipulate with dynamic flow type to
> pctype mapping table in i40e PMD.
> Commands allow to print table, modify it and reset to default value.
> 
> v3:
> changed command syntax from 'pctype mapping...' to
> 'port config pctype mapping...' and 'show port pctype mapping'
> 
> v4:
> Fix typos in cmdline.c and documentation.
> Move variable declaration to the beginning of function.
> 
> Signed-off-by: Kirill Rybalchenko <kirill.rybalchenko at intel.com>

<...>

>  
> @@ -1310,6 +1318,27 @@ Reset ptype mapping table::
>  
>     testpmd> ptype mapping reset (port_id)
>  
> +pctype mapping
> +~~~~~~~~~~~~~~
> +
> +List all items from the pctype mapping table::
> +
> +   testpmd> pctype mapping get (port_id)
> +
> +Update hardware defined pctype to software defined flow type mapping table::
> +
> +   testpmd> pctype mapping update (port_id) (pctype_id_0[,pctype_id_1]*) (flow_type_d)
> +
> +where:
> +
> +* ``pctype_id_x``: hardware pctype id as index of bit in bitmask value of the pctype mapping table.
> +
> +* ``flow_type_id``: software flow type id as the index of the pctype mapping table.
> +
> +Reset pctype mapping table::
> +
> +   testpmd> pctype mapping reset (port_id)
> +

This part looks like outdated and coming from prev version of the patch?

>  Port Functions
>  --------------
>  

<...>



More information about the dev mailing list