net/mlx5e: Fix the calling of update_buffer_lossy() API
authorMark Zhang <markzhang@nvidia.com>
Wed, 6 Apr 2022 07:30:21 +0000 (10:30 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 12 May 2022 10:30:13 +0000 (12:30 +0200)
commit9d6d76f5f19051cb1fea16faf142d2ced5500ce3
treef0c1168b53e29742b50ca7c0eb97e4741a83dcb2
parentd9b4965d24012eda91d88437945bbeca1ebc429c
net/mlx5e: Fix the calling of update_buffer_lossy() API

commit c4d963a588a6e7c4ef31160e80697ae8e5a47746 upstream.

The arguments of update_buffer_lossy() is in a wrong order. Fix it.

Fixes: 88b3d5c90e96 ("net/mlx5e: Fix port buffers cell size value")
Signed-off-by: Mark Zhang <markzhang@nvidia.com>
Reviewed-by: Maor Gottlieb <maorg@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/ethernet/mellanox/mlx5/core/en/port_buffer.c