mirror of
https://github.com/torvalds/linux.git
synced 2026-06-06 05:27:07 +02:00
net/mlx5e: Fix the calling of update_buffer_lossy() API
commitc4d963a588upstream. The arguments of update_buffer_lossy() is in a wrong order. Fix it. Fixes:88b3d5c90e("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>
This commit is contained in:
parent
e07c13fbdd
commit
2455331591
|
|
@ -309,8 +309,8 @@ int mlx5e_port_manual_buffer_config(struct mlx5e_priv *priv,
|
||||||
if (err)
|
if (err)
|
||||||
return err;
|
return err;
|
||||||
|
|
||||||
err = update_buffer_lossy(max_mtu, curr_pfc_en, prio2buffer, port_buff_cell_sz,
|
err = update_buffer_lossy(max_mtu, curr_pfc_en, prio2buffer, xoff,
|
||||||
xoff, &port_buffer, &update_buffer);
|
port_buff_cell_sz, &port_buffer, &update_buffer);
|
||||||
if (err)
|
if (err)
|
||||||
return err;
|
return err;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user