diff options
author | Jack Morgenstein <jackm@dev.mellanox.co.il> | 2013-04-21 11:09:59 -0400 |
---|---|---|
committer | Roland Dreier <roland@purestorage.com> | 2013-04-24 20:51:27 -0400 |
commit | e0debf9cb50d5e99bb21564627061076869b79ee (patch) | |
tree | 26cbfdbc559eff7fabe224744cb57fda454c4c91 /drivers/net/ethernet/mellanox/mlx4/eq.c | |
parent | f3cca4b1f410c653241f005f4f401c7cd7232058 (diff) |
mlx4_core: Reduce warning message for SRQ_LIMIT event to debug level
Commit acba2420f9d2 ("mlx4_core: Add wrapper functions and comm
channel and slave event support to EQs") introduced a warning printout
for SRQ LIMIT events.
This warning can flood the log when (correct, normally operating) apps
use SRQ LIMIT events as a trigger to post WQEs to SRQs. Reduce the
warning message to be a debug printout.
Reported-by: Rick Warner <rick@microway.com>
Signed-off-by: Jack Morgenstein <jackm@dev.mellanox.co.il>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx4/eq.c')
-rw-r--r-- | drivers/net/ethernet/mellanox/mlx4/eq.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ethernet/mellanox/mlx4/eq.c b/drivers/net/ethernet/mellanox/mlx4/eq.c index 8e3123a1df88..6000342f9725 100644 --- a/drivers/net/ethernet/mellanox/mlx4/eq.c +++ b/drivers/net/ethernet/mellanox/mlx4/eq.c | |||
@@ -497,8 +497,8 @@ static int mlx4_eq_int(struct mlx4_dev *dev, struct mlx4_eq *eq) | |||
497 | break; | 497 | break; |
498 | 498 | ||
499 | case MLX4_EVENT_TYPE_SRQ_LIMIT: | 499 | case MLX4_EVENT_TYPE_SRQ_LIMIT: |
500 | mlx4_warn(dev, "%s: MLX4_EVENT_TYPE_SRQ_LIMIT\n", | 500 | mlx4_dbg(dev, "%s: MLX4_EVENT_TYPE_SRQ_LIMIT\n", |
501 | __func__); | 501 | __func__); |
502 | case MLX4_EVENT_TYPE_SRQ_CATAS_ERROR: | 502 | case MLX4_EVENT_TYPE_SRQ_CATAS_ERROR: |
503 | if (mlx4_is_master(dev)) { | 503 | if (mlx4_is_master(dev)) { |
504 | /* forward only to slave owning the SRQ */ | 504 | /* forward only to slave owning the SRQ */ |