]> 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)
commitbfd07ee8ad03b7df31576350c38a8953847d94d3
treec0e4f7774945302dab09649b90a818be76a6b929
parent3302fed63f1bec4022ec85142f8d767f793369af
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: 29073a3be495 ("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