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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 22 Jul 2018 12:27:36 +0000 (14:27 +0200)
commit14e9e6527a21eb37cecdc682c96979dbe7cf7e32
tree61960586c94ccad85655bc62725bcb86eb355ba0
parent5b3cc7f9b39a02a981a89e42df12dcbc610bff3f
net/mlx5: Fix wrong size allocation for QoS ETC TC regitster

[ Upstream commit d14fcb8d877caf1b8d6bd65d444bf62b21f2070c ]

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

Fixes: d8880795dabf ("net/mlx5e: Implement DCBNL IEEE max rate")
Signed-off-by: Shay Agroskin <shayag@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/ethernet/mellanox/mlx5/core/port.c