Skip to content

Expose ENCAP mode to mlx5_ib

Leon Romanovsky linux-rdma netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 11 repliesIn review

Changes in v1 from the cover letter

* Added patch to devlink to use declared enum for encap mode instead of u8
* Constify input argumetn to encap mode function
* fix encap variable type to be boolean

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4net/mlx5: Declare more strictly devlink encap modedrivers/net/ethernet/mellanox/mlx5/core/eswitch.h drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c include/net/devlink.h +1 more+17 -98 replies
2/4net/mlx5: Expose eswitch encap modedrivers/net/ethernet/mellanox/mlx5/core/eswitch.c include/linux/mlx5/eswitch.h+23 -01 reply
3/4RDMA/mlx5: Consider eswitch encap modedrivers/infiniband/hw/mlx5/main.c+14 -60 replies
4/4RDMA/mlx5: Enable decap and packet reformat on FDBdrivers/infiniband/hw/mlx5/main.c+5 -00 replies

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchPetr VorelParav PanditJiri Pirko
1/4R-b R-b A-b
2/4R-b R-b
3/4R-b
4/4R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [PATCH rdma-next v1 0/4] Expose ENCAP mode to mlx5_ib

From: Leon Romanovsky <[email protected]>

Changelog v0->v1:
* Added patch to devlink to use declared enum for encap mode instead of u8
* Constify input argumetn to encap mode function
* fix encap variable type to be boolean

---------------------------------------------------------------------
Hi,

This is short series from Maor to expose and use enacap mode inside mlx5_ib.

Thanks

Leon Romanovsky (1):
net/mlx5: Declare more strictly devlink encap mode

Maor Gottlieb (3):
net/mlx5: Expose eswitch encap mode RDMA/mlx5: Consider eswitch encap mode RDMA/mlx5: Enable decap and packet reformat on FDB

 drivers/infiniband/hw/mlx5/main.c             | 25 ++++++++++++++-----
 .../net/ethernet/mellanox/mlx5/core/eswitch.c | 11 ++++++++
 .../net/ethernet/mellanox/mlx5/core/eswitch.h |  8 +++---
 .../mellanox/mlx5/core/eswitch_offloads.c     |  6 +++--
 include/linux/mlx5/eswitch.h                  | 12 +++++++++
 include/net/devlink.h                         |  6 +++--
 net/core/devlink.c                            |  6 +++--
 7 files changed, 59 insertions(+), 15 deletions(-)