Lines Matching full:bypass

40  *   Mutex support for the bypass feature. Using a dual lock
47 while (atomic_cmpset_int(&sc->bypass.low, 0, 1) == 0) in ixgbe_bypass_mutex_enter()
49 while (atomic_cmpset_int(&sc->bypass.high, 0, 1) == 0) in ixgbe_bypass_mutex_enter()
60 while (atomic_cmpset_int(&sc->bypass.high, 1, 0) == 0) in ixgbe_bypass_mutex_clear()
62 while (atomic_cmpset_int(&sc->bypass.low, 1, 0) == 0) in ixgbe_bypass_mutex_clear()
75 while (atomic_cmpset_int(&sc->bypass.high, 0, 1) == 0) in ixgbe_bypass_wd_mutex_enter()
86 while (atomic_cmpset_int(&sc->bypass.high, 1, 0) == 0) in ixgbe_bypass_wd_mutex_clear()
146 * Show/Set the Bypass State:
148 * 2 = BYPASS
203 * 2 - go to Bypass operation
544 * ixgbe_bp_log - Display the bypass log
565 while (atomic_cmpset_int(&sc->bypass.log, 0, 1) == 0) in ixgbe_bp_log()
649 {"ignore", "normal", "bypass", "isolate",}; in ixgbe_bp_log()
695 while (atomic_cmpset_int(&sc->bypass.log, 1, 0) == 0) in ixgbe_bp_log()
702 while (atomic_cmpset_int(&sc->bypass.log, 1, 0) == 0) in ixgbe_bp_log()
708 * ixgbe_bypass_init - Set up infrastructure for the bypass feature
711 * only enabled for the first port of a bypass adapter.
745 * `sysctl dev.ix.0.bypass` will not show the log. in ixgbe_bypass_init()
750 sc, 0, ixgbe_bp_log, "I", "Bypass Log"); in ixgbe_bypass_init()
752 /* All other setting are hung from the 'bypass' node */ in ixgbe_bypass_init()
755 OID_AUTO, "bypass", CTLFLAG_RD | CTLFLAG_MPSAFE, NULL, "Bypass"); in ixgbe_bypass_init()
761 sc, 0, ixgbe_bp_version, "I", "Bypass Version"); in ixgbe_bypass_init()
765 sc, 0, ixgbe_bp_set_state, "I", "Bypass State"); in ixgbe_bypass_init()
769 sc, 0, ixgbe_bp_timeout, "I", "Bypass Timeout"); in ixgbe_bypass_init()
773 sc, 0, ixgbe_bp_main_on, "I", "Bypass Main On"); in ixgbe_bypass_init()
777 sc, 0, ixgbe_bp_main_off, "I", "Bypass Main Off"); in ixgbe_bypass_init()
781 sc, 0, ixgbe_bp_aux_on, "I", "Bypass Aux On"); in ixgbe_bypass_init()
785 sc, 0, ixgbe_bp_aux_off, "I", "Bypass Aux Off"); in ixgbe_bypass_init()
793 sc, 0, ixgbe_bp_wd_reset, "S", "Bypass WD Reset"); in ixgbe_bypass_init()