Skip to content

Introduce vector CALC support

Leon Romanovsky linux-rdma 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 12 repliesIn review

Changes in v1 from the cover letter

- Fixed author part of patch #3
- Updated hca_cap field in ipoib to be u64 and not u32.
- Enrich commit message of patch #7

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8net/mlx5_core: Fix caching ATOMIC endian mode capabilitydrivers/net/ethernet/mellanox/mlx5/core/main.c+4 -00 replies
2/8net/mlx5_core: Refactor device capability functiondrivers/net/ethernet/mellanox/mlx5/core/fw.c drivers/net/ethernet/mellanox/mlx5/core/main.c include/linux/mlx5/driver.h+24 -620 replies
3/8net/mlx5_core: Introduce offload arithmetic hardware capabilitiesdrivers/net/ethernet/mellanox/mlx5/core/fw.c include/linux/mlx5/device.h include/linux/mlx5/mlx5_ifc.h+42 -10 replies
4/8IB/core: Replace setting the zero values in ib_uverbs_ex_query_devicedrivers/infiniband/core/uverbs_cmd.c+3 -120 replies
5/8IB/{core,ulp} Support above 32 possible device capability flagsdrivers/infiniband/core/uverbs_cmd.c drivers/infiniband/ulp/ipoib/ipoib.h include/rdma/ib_verbs.h+3 -30 replies
6/8IB/core: Add offload arithmetic operations supportdrivers/infiniband/core/uverbs_cmd.c include/rdma/ib_verbs.h include/uapi/rdma/ib_user_verbs.h+15 -10 replies
7/8IB/core: Advertise supported vector CALC capabilitiesdrivers/infiniband/core/uverbs_cmd.c include/rdma/ib_verbs.h include/uapi/rdma/ib_user_verbs.h+36 -06 replies
8/8IB/mlx5: Exposure offload arithmetic operationsdrivers/infiniband/hw/mlx5/main.c+3 -00 replies

Reviews trailers per patch

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

PatchSaeed MahameedMatan Barak
1/8R-b
2/8R-b
3/8R-b
4/8R-b
5/8R-b
6/8R-b
7/8R-b
8/8R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH rdma-next V1 0/8] Introduce vector CALC support

From: Leon Romanovsky <leonro-VPRAkNaXOzVWk0Htik3J/[email protected]>

This patch set introduces vector CALC support.

This feature takes as input several vectors of equal length, combines them with a single operation type, producing result vectors which are sent to the destination.

The proposed operations are "add, and, or, xor, max, min" and "swap endianness".

The hardware processes the data an MTU of at a time, processing the elements of each segment in parallel.

This patch set depends on commit b4ff3a36d3e4 ("net/mlx5: Use offset based reserved field names in the IFC header file") which is part of net tree.

The series consists from two parts: IB and net.

NET part (patches #1-3)
* Patch #1 fixes ATOMIC capability mode. This change has no impact on
* the system, since MAX property is not in use for ATOMIC.
* Patch #2 merges two device capability calls in one.
* Patch #3 adds infrastructure to support vector CALC querying.

IB part (patches #4-8)
* Patch #4 refactors device query code by eliminating the unnecessary zeroing of variables
* Patch #5 converts device capability mask from u32 to be u64 and support more than 32 device capabilities.
* Patch #6 adds vector CALC device capability flag.
* Patch #7 exports all possible supported operations.
* Patch #8 advertises the mlx5 driver support of vector CALC.

Changes since v0:
- Fixed author part of patch #3
- Updated hca_cap field in ipoib to be u64 and not u32.
- Enrich commit message of patch #7

Leon Romanovsky (7):
net/mlx5_core: Fix caching ATOMIC endian mode capability net/mlx5_core: Refactor device capability function IB/core: Replace setting the zero values in ib_uverbs_ex_query_device IB/{core,ulp} Support above 32 possible device capability flags IB/core: Add offload arithmetic operations support IB/core: Advertise supported vector CALC capabilities IB/mlx5: Exposure offload arithmetic operations

Sagi Grimberg (1):
net/mlx5_core: Introduce offload arithmetic hardware capabilities

 drivers/infiniband/core/uverbs_cmd.c           | 29 +++++++------
 drivers/infiniband/hw/mlx5/main.c              |  3 ++
 drivers/infiniband/ulp/ipoib/ipoib.h           |  2 +-
 drivers/net/ethernet/mellanox/mlx5/core/fw.c   | 57 ++++++--------------------
 drivers/net/ethernet/mellanox/mlx5/core/main.c | 24 +++++++----
 include/linux/mlx5/device.h                    |  6 +++
 include/linux/mlx5/driver.h                    |  3 +-
 include/linux/mlx5/mlx5_ifc.h                  | 31 +++++++++++++-
 include/rdma/ib_verbs.h                        | 29 ++++++++++++-
 include/uapi/rdma/ib_user_verbs.h              | 13 ++++++
 10 files changed, 124 insertions(+), 73 deletions(-)
Signature · 6 lines
2.1.4

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html