mbox series

[v4,0/3] net/mlx5: Add Direct Rule support

Message ID 1554371628-170844-1-git-send-email-orika@mellanox.com (mailing list archive)
Headers
Series net/mlx5: Add Direct Rule support |

Message

Ori Kam April 4, 2019, 9:54 a.m. UTC
  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. 

v4:
* Fix small compilation issue.

v3:
* Address comments from ML.
* rebase.

v2:
* Small issues fixed.
* Rebased. 

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       |   7 +-
 drivers/net/mlx5/meson.build    |   2 +-
 drivers/net/mlx5/mlx5.c         |  16 ++
 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 | 507 ++++++++++++++++++++++++++++++++++------
 drivers/net/mlx5/mlx5_glue.c    | 300 ++++++++++++++++++++----
 drivers/net/mlx5/mlx5_glue.h    |  50 ++--
 drivers/net/mlx5/mlx5_prm.h     |  24 +-
 10 files changed, 836 insertions(+), 132 deletions(-)
  

Comments

Shahaf Shuler April 4, 2019, 11:01 a.m. UTC | #1
Thursday, April 4, 2019 12:54 PM, Ori Kam:
> Subject: [PATCH v4 0/3] net/mlx5: Add Direct Rule support
> 
> 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.
> 

Series applied to next-net-mlx, thanks.

> v4:
> * Fix small compilation issue.
> 
> v3:
> * Address comments from ML.
> * rebase.
> 
> v2:
> * Small issues fixed.
> * Rebased.
> 
> 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       |   7 +-
>  drivers/net/mlx5/meson.build    |   2 +-
>  drivers/net/mlx5/mlx5.c         |  16 ++
>  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 | 507
> ++++++++++++++++++++++++++++++++++------
>  drivers/net/mlx5/mlx5_glue.c    | 300 ++++++++++++++++++++----
>  drivers/net/mlx5/mlx5_glue.h    |  50 ++--
>  drivers/net/mlx5/mlx5_prm.h     |  24 +-
>  10 files changed, 836 insertions(+), 132 deletions(-)
> 
> --
> 1.8.3.1