]> 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)
commit8bba38fbecc24138eaebf2694cf5751556a3ce3d
tree11646877fd1106de5be2bb343c74c131f59f1549
parent32fa27b116775660e009303883964d035c6c0327
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: c43cf4489424 ("mlx4_core: Add wrapper functions and comm channel and slave event support to EQs")
Fixes: 0b900cf65a01 ("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