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:28:45 +0000 (14:28 +0200)
commit7ae129dd6778aa9b573b17083b13674d4336fa22
tree8e0f93adc760167354066814fe5512dae9d1c5f4
parent46ff2bc7aeb1b3d2fc36b20ddda0411889165cf1
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