]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: Fix q counters on uplink representors
authorRoi Dayan <roid@mellanox.com>
Thu, 23 Apr 2020 09:37:21 +0000 (12:37 +0300)
committerSaeed Mahameed <saeedm@mellanox.com>
Thu, 30 Apr 2020 16:20:33 +0000 (09:20 -0700)
commitbe61667807e66a166584db7286220629e03b7941
treec0e4f7774945302dab09649b90a818be76a6b929
parent6f247e23cf7a759952a60e6ca627b102e4bc08a6
net/mlx5e: Fix q counters on uplink representors

Need to allocate the q counters before init_rx which needs them
when creating the rq.

Fixes: fa69bf70a835 ("net/mlx5e: Create q counters on uplink representors")
Signed-off-by: Roi Dayan <roid@mellanox.com>
Reviewed-by: Vlad Buslov <vladbu@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en_rep.c