aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/dsa
diff options
context:
space:
mode:
authorAya Levin2021-08-29 13:41:08 +0300
committerSaeed Mahameed2021-09-07 14:17:02 -0700
commit8db6a54f3cae6a803b2cbf5390662bca641f7da8 (patch)
treea9be6b12ca2096c2e97d7aff502d905bd18f49cf /drivers/net/dsa
parentc91c1da72b47fc4c5e353cdd9099ba94ae07d2fa (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