]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx4_core: Eliminate warning messages for SRQ_LIMIT under SRIOV
authorJack Morgenstein <jackm@dev.mellanox.co.il>
Mon, 16 Jan 2017 16:31:39 +0000 (18:31 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 16 Jan 2017 20:08:29 +0000 (15:08 -0500)
commit0029cd870e0392b8ef550e284491e928119fa26b
tree11646877fd1106de5be2bb343c74c131f59f1549
parent8855f1299d430ad4b834a2ba9799516aaa06dd9f
net/mlx4_core: Eliminate warning messages for SRQ_LIMIT under SRIOV

When running SRIOV, warnings for SRQ LIMIT events flood the Hypervisor's
message log when (correct, normally operating) apps use SRQ LIMIT events
as a trigger to post WQEs to SRQs.

Add more information to the existing debug printout for SRQ_LIMIT, and
output the warning messages only for the SRQ CATAS ERROR event.

Fixes: 061ac542131f ("mlx4_core: Add wrapper functions and comm channel and slave event support to EQs")
Fixes: f2fea59ffeea ("mlx4_core: Reduce warning message for SRQ_LIMIT event to debug level")
Signed-off-by: Jack Morgenstein <jackm@dev.mellanox.co.il>
Signed-off-by: Tariq Toukan <tariqt@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/eq.c