[dpdk-dev] [PATCH 0/8] add flow action map

Ori Kam orika at mellanox.com
Thu Jun 4 08:05:30 CEST 2020


Hi Bernard,

Can you please explain more what is the pctype, the flow type,
What is the general idea beyond this patch set?
How will the application uses it? 
is it only for i40?

Thanks,
Ori

> -----Original Message-----
> From: Bernard Iremonger <bernard.iremonger at intel.com>
> Sent: Wednesday, June 3, 2020 5:20 PM
> To: dev at dpdk.org; beilei.xing at intel.com; qi.z.zhang at intel.com;
> declan.doherty at intel.com; Ori Kam <orika at mellanox.com>
> Cc: Bernard Iremonger <bernard.iremonger at intel.com>
> Subject: [PATCH 0/8] add flow action map
> 
> Add map action to rte_flow API to map a Packet Classification type (pctype)
> to a flowtype for the i40e PMD.
> 
> This feature requires changes to be made to the rte_flow code in librte_ethdev,
> testpmd and the i40e PMD.
> 
> 
> Bernard Iremonger (8):
>   librte_ethdev: add new flow types and action
>   librte_ethdev: add map filter type
>   librte_ethdev: add map action
>   app/testpmd: parse map actions
>   net/i40e: add map filter
>   net/i40e: add map functions
>   net/i40e: parse map pattern and action
>   doc: release note
> 
>  app/test-pmd/cmdline_flow.c                 |  85 ++++++++++++
>  doc/guides/prog_guide/rte_flow.rst          |  55 ++++++++
>  doc/guides/rel_notes/release_20_08.rst      |  18 +++
>  doc/guides/testpmd_app_ug/testpmd_funcs.rst |  27 ++++
>  drivers/net/i40e/i40e_ethdev.c              |  56 ++++++++
>  drivers/net/i40e/i40e_ethdev.h              |  24 ++++
>  drivers/net/i40e/i40e_flow.c                | 196 ++++++++++++++++++++++++++++
>  lib/librte_ethdev/rte_eth_ctrl.h            |   1 +
>  lib/librte_ethdev/rte_flow.c                |  14 ++
>  lib/librte_ethdev/rte_flow.h                |  78 +++++++++++
>  10 files changed, 554 insertions(+)
> 
> --
> 2.7.4



More information about the dev mailing list