summaryrefslogtreecommitdiffstats
path: root/net/core/dev.c
diff options
context:
space:
mode:
authorEyal Davidovich <eyald@mellanox.com>2018-10-20 16:18:00 +0300
committerSaeed Mahameed <saeedm@mellanox.com>2018-12-11 14:52:20 -0800
commit5c7e8bbb025726f9cb9b2bc050509a94262426f8 (patch)
treeea40d9a9400cf75a7a4d7d1ad7d5ef9856362141 /net/core/dev.c
parent2f8bc4917a86f4504f85f0e24d67d17bd2a9bfc1 (diff)
downloadlinux-5c7e8bbb025726f9cb9b2bc050509a94262426f8.tar.bz2
net/mlx5e: Use monitor counters for update stats
- Adding new notifier block (struct mlx5_nb) monitor_counters_nb for handeling MONITOR_COUNTER new event type. - Adding work queue element: monitor_counters_work for re-arm and update stats. - We re-queue the update stat work, only when working over firmware that doesn't support the monitored counters. Signed-off-by: Eyal Davidovich <eyald@mellanox.com> Reviewed-by: Saeed Mahameed <saeedm@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'net/core/dev.c')
0 files changed, 0 insertions, 0 deletions