diff options
author | Aya Levin | 2021-08-29 13:41:08 +0300 |
---|---|---|
committer | Saeed Mahameed | 2021-09-07 14:17:02 -0700 |
commit | 8db6a54f3cae6a803b2cbf5390662bca641f7da8 (patch) | |
tree | a9be6b12ca2096c2e97d7aff502d905bd18f49cf /drivers/net/dsa | |
parent | c91c1da72b47fc4c5e353cdd9099ba94ae07d2fa (diff) |
net/mlx5e: Fix condition when retrieving PTP-rqn
When activating the PTP-RQ, redirect the RQT from drop-RQ to PTP-RQ.
Use mlx5e_channels_get_ptp_rqn to retrieve the rqn. This helper returns
a boolean (not status), hence caller should consider return value 0 as a
fail. Change the caller interpretation of the return value.
Fixes: 43ec0f41fa73 ("net/mlx5e: Hide all implementation details of mlx5e_rx_res")
Signed-off-by: Aya Levin <ayal@nvidia.com>
Reviewed-by: Tariq Toukan <tariqt@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'drivers/net/dsa')
0 files changed, 0 insertions, 0 deletions