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: Few improvements in the DR area #792

Merged
merged 7 commits into from Jul 21, 2020
Merged

Conversation

yishaih
Copy link
Member

@yishaih yishaih commented Jul 15, 2020

This series introduces few improvements in the DR area as of removing unneeded checks, renaming to better general names, refactor in some places, etc.

Validity check is done by reading the next lu_type from the STE, this
check can be replaced by checking the refcount.
This will make the check independent on internal STE structure.

Signed-off-by: Alex Vesker <valex@mellanox.com>
Reviewed-by: Erez Shitrit <erezsh@mellanox.com>
Signed-off-by: Yishai Hadas <yishaih@mellanox.com>
Instead of getting the tag in each function, call the builder directly
with the tag. This will allow to use the same function for building the
tag and the bitmask.

Signed-off-by: Alex Vesker <valex@mellanox.com>
Reviewed-by: Erez Shitrit <erezsh@mellanox.com>
Signed-off-by: Yishai Hadas <yishaih@mellanox.com>
The mask value of source_vport must include all bits (-1), this check is
already done in dr_ste_build_pre_check during matcher creation.

Signed-off-by: Alex Vesker <valex@mellanox.com>
Reviewed-by: Erez Shitrit <erezsh@mellanox.com>
Signed-off-by: Yishai Hadas <yishaih@mellanox.com>
When we create a matcher we check that all fields are consumed.  There
is no need for this specific vlan check. This keeps the STE builder
functions simple and clean.

Signed-off-by: Alex Vesker <valex@mellanox.com>
Reviewed-by: Erez Shitrit <erezsh@mellanox.com>
Signed-off-by: Yishai Hadas <yishaih@mellanox.com>
This variable is not needed and can be dropped once the ICMP
macro is fixed.

Signed-off-by: Alex Vesker <valex@mellanox.com>
Reviewed-by: Erez Shitrit <erezsh@mellanox.com>
Signed-off-by: Yishai Hadas <yishaih@mellanox.com>
We will support multiple STE versions, the naming that was used was not
correct for newer versions, removed the HW specific details and renamed
with a more general name.

Signed-off-by: Alex Vesker <valex@mellanox.com>
Reviewed-by: Erez Shitrit <erezsh@mellanox.com>
Signed-off-by: Yishai Hadas <yishaih@mellanox.com>
Remove flex parser naming from matcher since the matcher should not be
aware of such HW specific details.

Signed-off-by: Alex Vesker <valex@mellanox.com>
Reviewed-by: Erez Shitrit <erezsh@mellanox.com>
Signed-off-by: Yishai Hadas <yishaih@mellanox.com>
@jgunthorpe
Copy link
Member

/AzurePipelines run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@yishaih yishaih merged commit f0b2d01 into linux-rdma:master Jul 21, 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
3 participants