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
This commit is contained in:
parent
797711a84f
commit
7a25fb9963
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user