> -----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>; Dariusz Sosnowski <dsosnow...@nvidia.com> > Subject: [PATCH v6 09/18] net/mlx5: support DR action template API > > From: Dariusz Sosnowski <dsosnow...@nvidia.com> > > This patch adapts mlx5 PMD to changes in mlx5dr API regarding action > templates. It changes the following: > > 1. Actions template creation: > > - Flow actions types are translated to mlx5dr action types in order > to create mlx5dr_action_template object. > - An offset is assigned to each flow action. This offset is used to > predetermine action's location in rule_acts array passed on rule > creation. > > 2. Template table creation: > > - Fixed actions are created and put in rule_acts cache using > predetermined offsets > - mlx5dr matcher is parametrized by action templates bound to > template table. > - mlx5dr matcher is configured to optimize rule creation based on > passed rule indices. > > 3. Flow rule creation: > > - mlx5dr rule is parametrized by action template on which these > rule's actions are based. > - Rule index hint is provided to mlx5dr. > > Signed-off-by: Dariusz Sosnowski <dsosnow...@nvidia.com> Acked-by: Viacheslav Ovsiienko <viachesl...@nvidia.com>
- RE: [PATCH v6 03/18] net/mlx5: add shared header refo... Slava Ovsiienko
- [PATCH v6 08/18] net/mlx5: add HW steering counter action Suanming Mou
- RE: [PATCH v6 08/18] net/mlx5: add HW steering counte... Slava Ovsiienko
- [PATCH v6 05/18] net/mlx5: add HW steering port action Suanming Mou
- RE: [PATCH v6 05/18] net/mlx5: add HW steering port a... Slava Ovsiienko
- [PATCH v6 10/18] net/mlx5: add HW steering connection trac... Suanming Mou
- RE: [PATCH v6 10/18] net/mlx5: add HW steering connec... Slava Ovsiienko
- [PATCH v6 07/18] net/mlx5: add HW steering meter action Suanming Mou
- RE: [PATCH v6 07/18] net/mlx5: add HW steering meter ... Slava Ovsiienko
- [PATCH v6 09/18] net/mlx5: support DR action template API Suanming Mou
- RE: [PATCH v6 09/18] net/mlx5: support DR action temp... Slava Ovsiienko
- [PATCH v6 12/18] net/mlx5: implement METER MARK indirect a... Suanming Mou
- RE: [PATCH v6 12/18] net/mlx5: implement METER MARK i... Slava Ovsiienko
- [PATCH v6 14/18] net/mlx5: add async action push and pull ... Suanming Mou
- RE: [PATCH v6 14/18] net/mlx5: add async action push ... Slava Ovsiienko
- [PATCH v6 16/18] net/mlx5: support device control for E-Sw... Suanming Mou
- RE: [PATCH v6 16/18] net/mlx5: support device control... Slava Ovsiienko
- [PATCH v6 11/18] net/mlx5: add HW steering VLAN push, pop ... Suanming Mou
- RE: [PATCH v6 11/18] net/mlx5: add HW steering VLAN p... Slava Ovsiienko
- [PATCH v6 15/18] net/mlx5: support flow integrity in HWS g... Suanming Mou
- RE: [PATCH v6 15/18] net/mlx5: support flow integrity... Slava Ovsiienko