mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-16 22:39:48 +00:00
net/mlx5: Fix rate limit packet pacing naming and struct
[ Upstream commit37e92a9d4f] In mlx5_ifc, struct size was not complete, and thus driver was sending garbage after the last defined field. Fixed it by adding reserved field to complete the struct size. In addition, rename all set_rate_limit to set_pp_rate_limit to be compliant with the Firmware <-> Driver definition. Fixes:7486216b3a("{net,IB}/mlx5: mlx5_ifc updates") Fixes:1466cc5b23("net/mlx5: Rate limit tables support") Signed-off-by: Eran Ben Elisha <eranbe@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
e74fe7268e
commit
1387239123
3 changed files with 18 additions and 16 deletions
Loading…
Add table
Add a link
Reference in a new issue