]> git.kernelconcepts.de Git - karo-tx-linux.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)
commitb6c39bfcf1d7d6368b8c00081cc8e941041ff478
treed30c1ecc0f3f625de964fd92a2030df556cdf017
parenteb0cabbd1bebbf41858ded768c9cad8840708447
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