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:25:38 +0000 (12:25 +0200)
commit24553315910c5548fce41e2a6469ca100ab09177
treec08a143b504b4be15bb3f6700da58c156bcc1394
parente07c13fbdded4e43e6a8235c8c82c82d23f5d57e
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