Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mlx5: Enable SW Steering RX/TX domains #788

Merged
merged 3 commits into from Jul 14, 2020
Merged

Conversation

yishaih
Copy link
Member

@yishaih yishaih commented Jul 9, 2020

This series enables SW Steering RX/TX domains when force-loopback is supported while RoCE is enabled.

When using loopback QP the gid index is not required and the code is safe from any gid change scenario, this enables opening the RX/TX domains paths.

Erez Shitrit added 3 commits July 9, 2020 10:47
These specific capabilities indicate the RoCE ability to use the
force-loopback on its QP.
When creating a QP with force-loopback enabled, the gid index
is not required.

Signed-off-by: Erez Shitrit <erezsh@mellanox.com>
Reviewed-by: Alex Vesker <valex@mellanox.com>
Signed-off-by: Yishai Hadas <yishaih@mellanox.com>
Check the capabilities of RoCE, and if it supports force-loopback while
RoCE is enabled, open the QP with force-loopback capability.
This will allow the QP to be immune from any gid aspects.

Signed-off-by: Erez Shitrit <erezsh@mellanox.com>
Reviewed-by: Alex Vesker <valex@mellanox.com>
Signed-off-by: Yishai Hadas <yishaih@mellanox.com>
Till the use of force-loopback QP we didn't support RX/TX DR-steering
due to a missing recovery mechanism in case the GID was changed by the
user.
Now when using loopback QP there is no need to worry about gid staff and
we able to support RX/TX steering like it's done with FDB steering.

Signed-off-by: Erez Shitrit <erezsh@mellanox.com>
Reviewed-by: Alex Vesker <valex@mellanox.com>
Signed-off-by: Yishai Hadas <yishaih@mellanox.com>
@yishaih yishaih merged commit e055d8c into linux-rdma:master Jul 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant