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: DR, Few fixes #1418

Merged
merged 2 commits into from Jan 16, 2024
Merged

mlx5: DR, Few fixes #1418

merged 2 commits into from Jan 16, 2024

Conversation

yishaih
Copy link
Member

@yishaih yishaih commented Jan 11, 2024

This series in the DR area includes the below two fixes.

  • Use the correct destination vport while considering whether the function is ECPF or PF.
  • Allow two different domains on the same GVMI to share the same ASO CT action.

jiaweiwsz and others added 2 commits January 11, 2024 09:43
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: 161d5ad ("mlx5: DR, Add support for destination array action")
Signed-off-by: Jiawei Wang <jiaweiw@nvidia.com>
Reviewed-by: Hamdan Igbaria <hamdani@nvidia.com>
Signed-off-by: Yishai Hadas <yishaih@nvidia.com>
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: 730329f ("mlx5: DR, Support ASO CT cross domain")
Signed-off-by: Hamdan Igbaria <hamdani@nvidia.com>
Reviewed-by: Erez Shitrit <erezsh@nvidia.com>
Signed-off-by: Yishai Hadas <yishaih@nvidia.com>
@yishaih yishaih merged commit c08a376 into linux-rdma:master Jan 16, 2024
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants