> -----Original Message----- > From: Suanming Mou <suanmi...@nvidia.com> > Sent: Thursday, October 20, 2022 18:42 > To: Matan Azrad <ma...@nvidia.com>; Slava Ovsiienko <viachesl...@nvidia.com> > Cc: dev@dpdk.org; Raslan Darawsheh <rasl...@nvidia.com>; Ori Kam > <or...@nvidia.com> > Subject: [PATCH v6 03/18] net/mlx5: add shared header reformat support > > As the rte_flow_async API defines, the action mask with field value not be 0 > means the action will be used as shared in all the flows in the table. > > The header reformat action with action mask field not be 0 will be created > as constant shared action. For encapsulation header reformat action, there > are two kinds of encapsulation data, raw_encap_data and rte_flow_item > encap_data. Both of these two kinds of data can be identified from the > action mask conf as constant or not. > > Examples: > 1. VXLAN encap (encap_data: rte_flow_item) > action conf (eth/ipv4/udp/vxlan_hdr) > > a. action mask conf (eth/ipv4/udp/vxlan_hdr) > - items are constant. > b. action mask conf (NULL) > - items will change. > > 2. RAW encap (encap_data: raw) > action conf (raw_data) > > a. action mask conf (not NULL) > - encap_data constant. > b. action mask conf (NULL) > - encap_data will change. > > Signed-off-by: Suanming Mou <suanmi...@nvidia.com> Acked-by: Viacheslav Ovsiienko <viachesl...@nvidia.com>
- [PATCH v6 00/18] net/mlx5: HW steering PMD update Suanming Mou
- [PATCH v6 01/18] net/mlx5: fix invalid flow attribute... Suanming Mou
- RE: [PATCH v6 01/18] net/mlx5: fix invalid flow a... Slava Ovsiienko
- [PATCH v6 02/18] net/mlx5: fix IPv6 and TCP RSS hash ... Suanming Mou
- RE: [PATCH v6 02/18] net/mlx5: fix IPv6 and TCP R... Slava Ovsiienko
- [PATCH v6 04/18] net/mlx5: add modify field hws suppo... Suanming Mou
- RE: [PATCH v6 04/18] net/mlx5: add modify field h... Slava Ovsiienko
- [PATCH v6 06/18] net/mlx5: add extended metadata mode... Suanming Mou
- RE: [PATCH v6 06/18] net/mlx5: add extended metad... Slava Ovsiienko
- [PATCH v6 03/18] net/mlx5: add shared header reformat... Suanming Mou
- RE: [PATCH v6 03/18] net/mlx5: add shared header ... Slava Ovsiienko
- [PATCH v6 08/18] net/mlx5: add HW steering counter ac... Suanming Mou
- RE: [PATCH v6 08/18] net/mlx5: add HW steering co... Slava Ovsiienko
- [PATCH v6 05/18] net/mlx5: add HW steering port actio... Suanming Mou
- RE: [PATCH v6 05/18] net/mlx5: add HW steering po... Slava Ovsiienko
- [PATCH v6 10/18] net/mlx5: add HW steering connection... Suanming Mou
- RE: [PATCH v6 10/18] net/mlx5: add HW steering co... Slava Ovsiienko
- [PATCH v6 07/18] net/mlx5: add HW steering meter acti... Suanming Mou
- RE: [PATCH v6 07/18] net/mlx5: add HW steering me... Slava Ovsiienko
- [PATCH v6 09/18] net/mlx5: support DR action template... Suanming Mou
- RE: [PATCH v6 09/18] net/mlx5: support DR action ... Slava Ovsiienko