[dpdk-dev] [PATCH 0/3]net/mlx5: Add Direct Rule support

Ori Kam orika at mellanox.com
Wed Mar 20 16:38:58 CET 2019

This patch set adds support for Direct Rules API for MLX5 driver.

As more and more applications like OVS are inserting and removing large
number of flows, the flow insertion rate become more critical.

In current MLX5 PMD rules are inserted to the device using the FW,
this limits the max insertion rate. The solution is using a new set of API
that are part of RDMA-Core. which enables bypassing the FW and writing
the flows directly to the device, which results in a much faster
insertion rate. 

Ori Kam (3):
  net/mlx5: prepare Direct Verbs for Direct Rule
  net/mlx5: add Direct Rules API
  net/mlx5: add jump action support for NIC

 drivers/net/mlx5/Makefile       |   5 +
 drivers/net/mlx5/mlx5.c         |  21 ++
 drivers/net/mlx5/mlx5.h         |  23 ++
 drivers/net/mlx5/mlx5_flow.c    |   1 +
 drivers/net/mlx5/mlx5_flow.h    |  38 +++-
 drivers/net/mlx5/mlx5_flow_dv.c | 476 ++++++++++++++++++++++++++++++++++------
 drivers/net/mlx5/mlx5_glue.c    | 300 +++++++++++++++++++++----
 drivers/net/mlx5/mlx5_glue.h    |  50 +++--
 drivers/net/mlx5/mlx5_prm.h     |  24 +-
 9 files changed, 810 insertions(+), 128 deletions(-)


More information about the dev mailing list