Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 369767
b: refs/heads/master
c: dc8142e
h: refs/heads/master
i:
  369765: ce3d5f7
  369763: 87dd84d
  369759: 548745c
v: v3
  • Loading branch information
Amir Vadai authored and David S. Miller committed Apr 27, 2013
1 parent 93d2704 commit efa13fb
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 30b40c31c2eeaa9188b09c3fd1230b90b2d1823b
refs/heads/master: dc8142ea8906ea94a68734c1513b92b3f490fcd5
10 changes: 7 additions & 3 deletions trunk/drivers/net/ethernet/mellanox/mlx4/en_netdev.c
Original file line number Diff line number Diff line change
Expand Up @@ -1373,7 +1373,8 @@ static void mlx4_en_service_task(struct work_struct *work)

mutex_lock(&mdev->state_lock);
if (mdev->device_up) {
mlx4_en_ptp_overflow_check(mdev);
if (mdev->dev->caps.flags2 & MLX4_DEV_CAP_FLAG2_TS)
mlx4_en_ptp_overflow_check(mdev);

queue_delayed_work(mdev->workqueue, &priv->service_task,
SERVICE_TASK_DELAY);
Expand Down Expand Up @@ -2228,8 +2229,11 @@ int mlx4_en_init_netdev(struct mlx4_en_dev *mdev, int port,
}
mlx4_en_set_default_moderation(priv);
queue_delayed_work(mdev->workqueue, &priv->stats_task, STATS_DELAY);
queue_delayed_work(mdev->workqueue, &priv->service_task,
SERVICE_TASK_DELAY);

if (mdev->dev->caps.flags2 & MLX4_DEV_CAP_FLAG2_TS)
queue_delayed_work(mdev->workqueue, &priv->service_task,
SERVICE_TASK_DELAY);

return 0;

out:
Expand Down

0 comments on commit efa13fb

Please sign in to comment.