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>
Showing
- drivers/net/ethernet/mellanox/mlx4/en_clock.c 19 additions, 0 deletionsdrivers/net/ethernet/mellanox/mlx4/en_clock.c
- drivers/net/ethernet/mellanox/mlx4/en_netdev.c 24 additions, 0 deletionsdrivers/net/ethernet/mellanox/mlx4/en_netdev.c
- drivers/net/ethernet/mellanox/mlx4/mlx4_en.h 4 additions, 0 deletionsdrivers/net/ethernet/mellanox/mlx4/mlx4_en.h
Loading
Please register or sign in to comment