path: root/ena_eth_com.c
diff options
authorMarcin Wojtas <mw@FreeBSD.org>2019-01-16 01:54:04 +0000
committerMarcin Wojtas <mw@FreeBSD.org>2019-01-16 01:54:04 +0000
commite8887c3139a74b570b032a003db60e9a34eb976c (patch)
treedf635688d9c529f56cd532e5a0cd7b718def8257 /ena_eth_com.c
parent5fa38c5c6ede652e7cc2497140ef2538648bdd48 (diff)
Suppress excessive print in ENA HALvendor/ena-com/
In FreeBSD, this is normal situation that the Tx ring is being full. In that case, the packet is put back into drbr and the next attempt to send it is taken after the cleanup. Too much logs like this can cause system instability and even cause the device reset (because keep alive or cleanup could be missed). To fix that, the log level of this message is changed to debug. Submitted by: Michal Krawczyk <mk@semihalf.com> Obtained from: Semihalf Sponsored by: Amazon, Inc.
Notes: svn path=/vendor-sys/ena-com/dist/; revision=343071 svn path=/vendor-sys/ena-com/; revision=343072; tag=vendor/ena-com/
Diffstat (limited to 'ena_eth_com.c')
1 files changed, 1 insertions, 1 deletions
diff --git a/ena_eth_com.c b/ena_eth_com.c
index 190de1f0ea42..ce42fd1fecd3 100644
--- a/ena_eth_com.c
+++ b/ena_eth_com.c
@@ -386,7 +386,7 @@ int ena_com_prepare_tx(struct ena_com_io_sq *io_sq,
/* num_bufs +1 for potential meta desc */
if (!ena_com_sq_have_enough_space(io_sq, num_bufs + 1)) {
- ena_trc_err("Not enough space in the tx queue\n");
+ ena_trc_dbg("Not enough space in the tx queue\n");
return ENA_COM_NO_MEM;