Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 67088
b: refs/heads/master
c: 36ce10d
h: refs/heads/master
v: v3
  • Loading branch information
Dotan Barak authored and Roland Dreier committed Oct 10, 2007
1 parent 311cac0 commit 1cf8113
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: 65d470b3ea52ee1402499d6fcb4632296452e5b1
refs/heads/master: 36ce10d3e849c2f9efa3fd647058de398ee276eb
4 changes: 2 additions & 2 deletions trunk/drivers/net/mlx4/cmd.c
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ enum {
};

enum {
GO_BIT_TIMEOUT = 10000
GO_BIT_TIMEOUT_MSECS = 10000
};

struct mlx4_cmd_context {
Expand Down Expand Up @@ -155,7 +155,7 @@ static int mlx4_cmd_post(struct mlx4_dev *dev, u64 in_param, u64 out_param,

end = jiffies;
if (event)
end += HZ * 10;
end += msecs_to_jiffies(GO_BIT_TIMEOUT_MSECS);

while (cmd_pending(dev)) {
if (time_after_eq(jiffies, end))
Expand Down

0 comments on commit 1cf8113

Please sign in to comment.