-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net/mlx5: fix LACP redirection in Rx domain
[ upstream commit 49dffad ] When the "lacp_by_user" is not set from the application in bond mode, the LACP traffic should be handled by the kernel driver by default. This commit adds the missing support in the template API when "dv_flow_en=2". The behavior will be the same as that in the DV mode with "dv_flow_en=1". The LACP packets will be redirected to the kernel when starting the steering in the NIC Rx domain. With this commit, the DEFAULT_MISS action usage is refactored a bit. In the HWS, one unique action can be created with supported bits set in the "flag" per port. The *ROOT_FDB and *HWS_FDB flag bits will only be set when the port is in switchdev mode and working as the E-Switch manager proxy port. The SF/VF and all other representors won't have the FDB flag bits when creating the DEFAULT_MISS action. Fixes: 9fa7c1c ("net/mlx5: create control flow rules with HWS") Cc: [email protected] Signed-off-by: Bing Zhao <[email protected]> Acked-by: Suanming Mou <[email protected]>
- Loading branch information
1 parent
6ef77f2
commit 4307659
Showing
5 changed files
with
253 additions
and
9 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
Oops, something went wrong.