[dpdk-dev] [PATCH 0/4] support DR/DV flows over shared IB context

Viacheslav Ovsiienko viacheslavo at mellanox.com
Tue Apr 2 08:22:33 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/

Viacheslav Ovsiienko (4):
  net/mlx5: add DV/DR flow data alloc/free routines
  net/mlx5: add reference counter for DV/DR structures
  net/mlx5: share DV/DR flow related structures
  net/mlx5: add mutex for shared DV/DR structures

 drivers/net/mlx5/mlx5.c         | 118 ++++++++++++++++++++++++++----
 drivers/net/mlx5/mlx5.h         |  45 ++++++------
 drivers/net/mlx5/mlx5_flow_dv.c | 155 +++++++++++++++++++++++++++++++++-------
 3 files changed, 258 insertions(+), 60 deletions(-)

-- 
1.8.3.1



More information about the dev mailing list