[dpdk-dev] [PATCH v2 0/2] support Direct Rules flows over shared IB context

Viacheslav Ovsiienko viacheslavo at mellanox.com
Thu Apr 4 15:04:23 CEST 2019


The Direct Rules/Direct Verbs flows support is going
to be added [1]. The master/representor over multiport
IB device is added [2]. This patchset adds support for
DR/DV flows with shared IB context over multiport IB
device.

The DV/DR flows applied to the master/representors on the
same IB device share the following entinies:
  - rx/tx namespaces
  - rx/tx flow tables
  - matchers
  - encap/decap action resources
  - flow tags (MARK actions)
  - modify action resources
  - jump tables

[1] "net/mlx5: Add Direct Rule support"
    http://patches.dpdk.org/cover/51856/
    
[2] "net/mlx5: add support for multiport IB devices"
    http://patches.dpdk.org/cover/51800/

v2:
  - mutex reverted to non-counting type (because there is
    no DV flow functions intercalls and reentrances)
  - some commits are squashed to make patchset more consistent
  - conditional directives cleanup

v1:
  http://patches.dpdk.org/cover/52053/

Viacheslav Ovsiienko (2):
  net/mlx5: add Direct Rules flow data alloc/free routines
  net/mlx5: share Direct Rules/Verbs flow related structures

 drivers/net/mlx5/mlx5.c         | 119 ++++++++++++++++++++++++++----
 drivers/net/mlx5/mlx5.h         |  45 +++++++-----
 drivers/net/mlx5/mlx5_flow_dv.c | 159 ++++++++++++++++++++++++++++++++--------
 3 files changed, 259 insertions(+), 64 deletions(-)

-- 
1.8.3.1



More information about the dev mailing list