]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5: Fix wrong size allocation for QoS ETC TC regitster
authorShay Agroskin <shayag@mellanox.com>
Tue, 22 May 2018 11:14:02 +0000 (14:14 +0300)
committerSaeed Mahameed <saeedm@mellanox.com>
Tue, 26 Jun 2018 22:26:33 +0000 (15:26 -0700)
commitc261236c251aa99ba31fd34d228fc118d22eaedc
tree2aa6319158725e4dd920305b118d24d73a85acf9
parent7c526a2d9309e57ff20d925d05483b1332a15ddd
net/mlx5: Fix wrong size allocation for QoS ETC TC regitster

The driver allocates wrong size (due to wrong struct name) when issuing
a query/set request to NIC's register.

Fixes: 419ce694e13c ("net/mlx5e: Implement DCBNL IEEE max rate")
Signed-off-by: Shay Agroskin <shayag@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/port.c