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)
commitd14fcb8d877caf1b8d6bd65d444bf62b21f2070c
tree2aa6319158725e4dd920305b118d24d73a85acf9
parentf811980444ec59ad62f9e041adbb576a821132c7
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: d8880795dabf ("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