]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx4_en: Add a service task
authorAmir Vadai <amirv@mellanox.com>
Tue, 23 Apr 2013 06:06:51 +0000 (06:06 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 24 Apr 2013 20:30:14 +0000 (16:30 -0400)
commitfc2fe386f0cb60069fa5656933727b0a3e4ed86a
treed30c1ecc0f3f625de964fd92a2030df556cdf017
parentaaf2dd3fb4c3f901e4b27d34c2ddcdf8096dce12
net/mlx4_en: Add a service task

Add a service task to run tasks that needed to be executed periodically.
Currently the only task is a watchdog to catch NIC clock overflow, to make
timestamping accurate.
Will move the statistics task into this framework in a later patch.

Signed-off-by: Amir Vadai <amirv@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/en_clock.c
drivers/net/ethernet/mellanox/mlx4/en_netdev.c
drivers/net/ethernet/mellanox/mlx4/mlx4_en.h