Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Aug 2020 23:41:46 +0000 (UTC)
From:      Navdeep Parhar <np@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org
Subject:   svn commit: r364849 - stable/12/sys/dev/cxgbe
Message-ID:  <202008262341.07QNfkno071908@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: np
Date: Wed Aug 26 23:41:46 2020
New Revision: 364849
URL: https://svnweb.freebsd.org/changeset/base/364849

Log:
  MFC r358924:
  
  cxgbe(4): Do not display error messages related to the CLIP table if
  it's not in use by TOE or KTLS.

Modified:
  stable/12/sys/dev/cxgbe/t4_clip.c
Directory Properties:
  stable/12/   (props changed)

Modified: stable/12/sys/dev/cxgbe/t4_clip.c
==============================================================================
--- stable/12/sys/dev/cxgbe/t4_clip.c	Wed Aug 26 23:21:26 2020	(r364848)
+++ stable/12/sys/dev/cxgbe/t4_clip.c	Wed Aug 26 23:41:46 2020	(r364849)
@@ -273,8 +273,11 @@ update_clip_table(struct adapter *sc)
 
 				inet_ntop(AF_INET6, &ce->lip, &ip[0],
 				    sizeof(ip));
-				log(LOG_ERR, "%s: could not add %s (%d)\n",
-				    __func__, ip, rc);
+				if (sc->active_ulds != 0) {
+					log(LOG_ERR,
+					    "%s: could not add %s (%d)\n",
+					    __func__, ip, rc);
+				}
 				free(ce, M_CXGBE);
 			}
 next:



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