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 dest-root-table action for NIC TX
[ Upstream commit aaf3eea ] The devx query function does not set the ICM address correctly to tx_icm for NIC TX table. The correct logic is: for NIC_RX or NIC_TX, icm_address_0 should be used, for FDB, icm_address_0 used for RX and icm_address_1 for TX. As a result when forwarding traffic to a a NIC TX FW FT using dest-root-table action an incorrect ICM address would be used. Fixes: 8eac40c ("mlx5: DR, Add query support for FW owned FT") Signed-off-by: Alex Vesker <[email protected]> Reviewed-by: Erez Shitrit <[email protected]> Signed-off-by: Yishai Hadas <[email protected]> Signed-off-by: Nicolas Morey <[email protected]>
- Loading branch information