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:
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to