]> git.karo-electronics.de Git - linux-beck.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)
commit9577b174cd0323d287c994ef0891db71666d0765
tree11646877fd1106de5be2bb343c74c131f59f1549
parent7c3945bc2073554bb2ecf983e073dee686679c53
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: acba2420f9d2 ("mlx4_core: Add wrapper functions and comm channel and slave event support to EQs")
Fixes: e0debf9cb50d ("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