Author: trasz Date: Wed Jun 1 12:04:04 2016 New Revision: 301119 URL: https://svnweb.freebsd.org/changeset/base/301119
Log: Reduce the priority of cxgbei(4) driver, so it doesn't get chosen by default. This is a workaround for a too simplistic ICL module choosing mechanism. To use it, specify offload in ctl.conf or iscsi.conf. This fixes a problem where "kldload cxgbei" wedges the iSCSI stack, if you don't have a Chelsio card installed, or the endpoints of the iSCSI session are not reachable through addresses configured on that interface. Reviewed by: np@ MFC after: 1 month Modified: head/sys/dev/cxgbe/cxgbei/icl_cxgbei.c Modified: head/sys/dev/cxgbe/cxgbei/icl_cxgbei.c ============================================================================== --- head/sys/dev/cxgbe/cxgbei/icl_cxgbei.c Wed Jun 1 11:45:06 2016 (r301118) +++ head/sys/dev/cxgbe/cxgbei/icl_cxgbei.c Wed Jun 1 12:04:04 2016 (r301119) @@ -850,7 +850,7 @@ icl_cxgbei_load(void) refcount_init(&icl_cxgbei_ncons, 0); - error = icl_register("cxgbei", false, 100, icl_cxgbei_limits, + error = icl_register("cxgbei", false, -100, icl_cxgbei_limits, icl_cxgbei_new_conn); KASSERT(error == 0, ("failed to register")); _______________________________________________ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"