-
Notifications
You must be signed in to change notification settings - Fork 653
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mlx5: DR, Fix SW steering dump tool dr_match_param structs
Added new fields to dr_match_param caused a shift in values of the dumped matcher mask, which led to incorrect parsing. We fix this by aligning dr_match_param to mlx5_ifc_dr_match_param_bits, So now adding new field is done by replacing a reserved field, this way the struct size and fields offsets are fixed. Fixes: 4b581d3 ("mlx5: DR, Add support for Internet Header Length") Signed-off-by: Muhammad Sammar <muhammads@nvidia.com> Reviewed-by: Yevgeny Kliteynik <kliteyn@nvidia.com> Signed-off-by: Yishai Hadas <yishaih@nvidia.com>
- Loading branch information
Muhammad Sammar
authored and
Yishai Hadas
committed
Jan 27, 2022
1 parent
b3b5d93
commit 5c4d000
Showing
4 changed files
with
71 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters