svn commit: r358924 - head/sys/dev/cxgbe
Navdeep Parhar
np at FreeBSD.org
Fri Mar 13 00:12:17 UTC 2020
Author: np
Date: Fri Mar 13 00:12:15 2020
New Revision: 358924
URL: https://svnweb.freebsd.org/changeset/base/358924
Log:
cxgbe(4): Do not display error messages related to the CLIP table if
it's not in use by TOE or KTLS.
Reviewed by: jhb@
MFC after: 1 week
Sponsored by: Chelsio Communications
Differential Revision: https://reviews.freebsd.org/D24046
Modified:
head/sys/dev/cxgbe/t4_clip.c
Modified: head/sys/dev/cxgbe/t4_clip.c
==============================================================================
--- head/sys/dev/cxgbe/t4_clip.c Thu Mar 12 23:04:40 2020 (r358923)
+++ head/sys/dev/cxgbe/t4_clip.c Fri Mar 13 00:12:15 2020 (r358924)
@@ -273,8 +273,12 @@ 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->flags & KERN_TLS_OK ||
+ sc->active_ulds != 0) {
+ log(LOG_ERR,
+ "%s: could not add %s (%d)\n",
+ __func__, ip, rc);
+ }
free(ce, M_CXGBE);
}
next:
More information about the svn-src-all
mailing list