commit | 1462e48db0597a3dec8e73d64f3a001936ec398e | [log] [tgz] |
---|---|---|
author | Roi Dayan <roid@mellanox.com> | Sun Aug 05 06:58:05 2018 +0300 |
committer | Saeed Mahameed <saeedm@mellanox.com> | Wed Sep 05 21:14:57 2018 -0700 |
tree | 209e957797e22fba057f205db9d8e64048c7758e | |
parent | d24082050f2f626582902f7c65b91d699ec60613 [diff] |
net/mlx5e: Move Q counters allocation and drop RQ to init_rx Not all profiles query the HW Q counters in update_stats() callback. HW Q couners are limited per device and in case of representors all their Q counters are allocated on the parent PF device. Avoid reundant allocation of HW Q counters by moving the allocation to init_rx profile callback. Signed-off-by: Roi Dayan <roid@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>