mbox

[v3,0/6] net/mlx5: flow counters support for Linux-rdma v19

Message ID 1539962470-10950-1-git-send-email-viacheslavo@mellanox.com (mailing list archive)
Headers

Message

Slava Ovsiienko Oct. 19, 2018, 3:21 p.m. UTC
  Mellanox mlx5 PMD supports Flow counters via Verbs library.
The current implementation is based on the Mellanox proprietary
Verbs library included in MLNX OFED packages. The Flow counter
support is recently added into linux-rdma release (v19),
so the mlx5 PMD update is needed to provide Counter feature
on the base of linux-rdma.

mlx5 PMD can be compiled with MLNX OFED or linux-rdma v19+
and provide flow counters for both.

Signed-off-by: Viacheslav Ovsiienko <viacheslavo@mellanox.com>

---
v3:
- mlx5 glue issue resolved correctly
- patch is reorganized info small isolated parts
  
v2:
- http://patches.dpdk.org/patch/46989/
- rebased on top of master-net-mlx branch
- new compilation flags are introduced:
  - HAVE_IBV_DEVICE_COUNTERS_SET_SUPPORT_V42, kernel/verbs
    library provides the flow counter support in style of
    MLNX_OFED_4.2 to MLNX_OFED_4.4
  - HAVE_IBV_DEVICE_COUNTERS_SET_SUPPORT_V45, kernel/verbs
    library provides the flow counter support in style of
    MLNX_OFED_4.5 or higher

v1:
- http://patches.dpdk.org/patch/45972/
*** BLURB HERE ***

Viacheslav Ovsiienko (6):
  net/mlx5: flow counters object create function bugfix
  net/mlx5: flow counters new configuration flags
  net/mlx5: flow counters simplifying runtime support check
  net/mlx5: flow counters mlx5 glue library update
  net/mlx5: flow counters query function move and rename
  net/mlx5: flow counters Verbs interface functions update

 drivers/net/mlx5/Makefile          |   9 +-
 drivers/net/mlx5/meson.build       |   6 +-
 drivers/net/mlx5/mlx5.c            |  17 ++-
 drivers/net/mlx5/mlx5.h            |   1 -
 drivers/net/mlx5/mlx5_flow.c       |  16 +--
 drivers/net/mlx5/mlx5_flow.h       |   6 +
 drivers/net/mlx5/mlx5_flow_verbs.c | 230 ++++++++++++++++++++++++-------------
 drivers/net/mlx5/mlx5_glue.c       |  68 ++++++++++-
 drivers/net/mlx5/mlx5_glue.h       |  19 ++-
 9 files changed, 269 insertions(+), 103 deletions(-)