Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Jan 2019 01:54:04 +0000 (UTC)
From:      Marcin Wojtas <mw@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-vendor@freebsd.org
Subject:   svn commit: r343071 - vendor-sys/ena-com/dist
Message-ID:  <201901160154.x0G1s4WG074243@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mw
Date: Wed Jan 16 01:54:04 2019
New Revision: 343071
URL: https://svnweb.freebsd.org/changeset/base/343071

Log:
  Suppress excessive print in ENA HAL
  
  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.

Modified:
  vendor-sys/ena-com/dist/ena_eth_com.c

Modified: vendor-sys/ena-com/dist/ena_eth_com.c
==============================================================================
--- vendor-sys/ena-com/dist/ena_eth_com.c	Wed Jan 16 01:32:42 2019	(r343070)
+++ vendor-sys/ena-com/dist/ena_eth_com.c	Wed Jan 16 01:54:04 2019	(r343071)
@@ -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;
 	}
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201901160154.x0G1s4WG074243>