rdma-core:stable-v47

Last commit made on 2024-04-02
Get this branch:
git clone -b stable-v47 https://git.launchpad.net/rdma-core

Branch merges

Branch information

Name:
stable-v47
Repository:
lp:rdma-core

Recent commits

8c1dbdf... by Itamar Gozlan <email address hidden>

mlx5: DR, Using sq ts format when RoCE is disabled

[ Upstream commit cebd491f520fbed90b19b01aad280bc43338ebaa ]

When creating a QP in SW steering, one of the attributes is TS format
(timestamp). In some devices, we have a limitation that all QPs should
have the same ts_format.

The qp_ts_format cap resides under the RoCE caps table, and the cap is
not queried when RoCE is disabled.
Consider the case when the system is configured to run with REAL_TIME_TS
format (0x2), some QPs are created, and we disable RoCE.
When trying to construct a new QP, we can't use the qp_ts_format, that
is queried from the RoCE caps table.
That leads to passing 0x0 (FREE_RUNNING_TS) as the value of the
qp_ts_format, which is different than the ts_format of the previous QPs
REAL_TIME_TS format (0x2) and the creation will fail.

To resolve this, we will read the sq_ts_format, which also reflect the
supported ts format for the QP when RoCE is disabled, and override it
with qp_ts_format from the RoCE caps table if RoCE is enabled.

Fixes: ed504ab47384 ("mlx5: DR, Set QP timestamp mode to default")
Signed-off-by: Itamar Gozlan <email address hidden>
Signed-off-by: Alex Vesker <email address hidden>
Signed-off-by: Yishai Hadas <email address hidden>
Signed-off-by: Nicolas Morey <email address hidden>

547e21e... by Honggang LI <honggangli@163.com>

librdmacm: adjust ECE function name in man page

[ Upstream commit 1a302c7df2ad7851b8d5886c773f93a9370edc88 ]

Replace `ibv_get_ece()` with `ibv_query_ece()`.

Fixes: 97f8668eb53e ("librdmacm: Document ECE API")
Signed-off-by: Honggang LI <honggangli@163.com>
Signed-off-by: Nicolas Morey <email address hidden>

1182e6b... by Kamal Heib <email address hidden>

providers/qedr: Fix qelr_alloc_context error flow

[ Upstream commit 7ffc47dd1ebe4c18c9a93bafbdbb408a5c2964d9 ]

Fix the error flow of qelr_alloc_context() by making sure to free the
allocated resources.

Fixes: cae4a99ae679 ("libqedr: add support for XRC-SRQ's.")
Signed-off-by: Kamal Heib <email address hidden>
Signed-off-by: Nicolas Morey <email address hidden>

2909210... by Nicolas Morey <email address hidden>

Bump to version 47.2

Signed-off-by: Nicolas Morey <email address hidden>

5d2cd85... by Hamdan Igbaria <email address hidden>

mlx5: DR, Fix ASO CT action applying in cross domain

[ Upstream commit e692a549428d5f8253955acc0597b5d3160d9d5c ]

Fix ASO CT action applying in cross domain, instead of checking if the
GVMI's of the domains are different, check if the domains are different,
since we can have both domains on the same GVMI.
This fix will allow two different domains on the same GVMI to share the
same ASO CT action.

Fixes: 730329f392f3 ("mlx5: DR, Support ASO CT cross domain")
Signed-off-by: Hamdan Igbaria <email address hidden>
Reviewed-by: Erez Shitrit <email address hidden>
Signed-off-by: Yishai Hadas <email address hidden>
Signed-off-by: Nicolas Morey <email address hidden>

d2a5769... by Jiawei Wang <email address hidden>

mlx5: DR, Fix the default miss vport

[ Upstream commit 68b272d7fb2fca010a368265d0423b7f47d0608f ]

For FDB sample flow, the termination table on sample destination path
must go to the eswitch manager vport. On BlueField, the eswitch manager
vport is 0xfffe rather than 0.

Change to set the correct destination vport depends on the current
eswitch function is ECPF or PF.

Fixes: 161d5ad37556 ("mlx5: DR, Add support for destination array action")
Signed-off-by: Jiawei Wang <email address hidden>
Reviewed-by: Hamdan Igbaria <email address hidden>
Signed-off-by: Yishai Hadas <email address hidden>
Signed-off-by: Nicolas Morey <email address hidden>

6b608a5... by Yevgeny Kliteynik <email address hidden>

mlx5: DR, Can't go to uplink vport on RX rule

[ Upstream commit 5afb79f9d86fd4ed7ff789515f021df2b056d3cf ]

Go-To-Vport action on RX is not allowed when the vport is uplink. If
this happens on RX domain, the rule insertion fails, as the rule is
illegal.
If this happens on RX side of the FDB domain, then the TX part of the
rule is legal, and the RX part will be replaced with drop.

Fixes: 828351a7da47 ("mlx5: Expose steering action functionality")
Signed-off-by: Yevgeny Kliteynik <email address hidden>
Reviewed-by: Erez Shitrit <email address hidden>
Signed-off-by: Yishai Hadas <email address hidden>
Signed-off-by: Nicolas Morey <email address hidden>

12b441b... by Yevgeny Kliteynik <email address hidden>

mlx5: DR, Use the right GVMI number for drop action

[ Upstream commit c16e771d900118180f8e3cdf22cc517ab72db75d ]

When FW provides ICM addresses for drop RX/TX, the provided capability
is 64 bits that contain its GVMI as well as the ICM address itself. In
case of TX DROP this GVMI is different from the GVMI that the domain is
operating on.

This patch fixes the action to use this GVMI ID, as provided by FW.

Fixes: 828351a7da47 ("mlx5: Expose steering action functionality")
Signed-off-by: Yevgeny Kliteynik <email address hidden>
Reviewed-by: Erez Shitrit <email address hidden>
Signed-off-by: Yishai Hadas <email address hidden>
Signed-off-by: Nicolas Morey <email address hidden>

53918f4... by Hamdan Igbaria <email address hidden>

mlx5: DR, Fix pattern compare

[ Upstream commit bf930ccbeceed95eb94ab9faec8c38850a652f20 ]

When comparing two patterns validate they have the same type.

Fixes: 9e305aa7c720 ("mlx5: DR, Support RX decap L3 action for STE V1 type")
Signed-off-by: Hamdan Igbaria <email address hidden>
Reviewed-by: Erez Shitrit <email address hidden>
Signed-off-by: Yishai Hadas <email address hidden>
Signed-off-by: Nicolas Morey <email address hidden>

107141c... by Mark Bloch <email address hidden>

mlx5: Add atomic/rdma read for DC comp mask to man page

[ Upstream commit 98dd40bf36f7549fc190ac4dd13b20955f3ccd15 ]

The cited commit didn't update the man page with the comp mask the user
needs to provide in order to get the atomic / rdma read for DC QPs.

Fixes: 450a398590dd ("mlx5: Expose max remote atomic/rdma read for DC")
Signed-off-by: Mark Bloch <email address hidden>
Signed-off-by: Yishai Hadas <email address hidden>
Signed-off-by: Nicolas Morey <email address hidden>