Lines Matching refs:bypass
41 * Mutex support for the bypass feature. Using a dual lock
48 while (atomic_cmpset_int(&adapter->bypass.low, 0, 1) == 0)
50 while (atomic_cmpset_int(&adapter->bypass.high, 0, 1) == 0)
61 while (atomic_cmpset_int(&adapter->bypass.high, 1, 0) == 0)
63 while (atomic_cmpset_int(&adapter->bypass.low, 1, 0) == 0)
76 while (atomic_cmpset_int(&adapter->bypass.high, 0, 1) == 0)
87 while (atomic_cmpset_int(&adapter->bypass.high, 1, 0) == 0)
556 * ixgbe_bp_log - Display the bypass log
577 while (atomic_cmpset_int(&adapter->bypass.log, 0, 1) == 0)
658 char *action_str[] = {"ignore", "normal", "bypass", "isolate",};
704 while (atomic_cmpset_int(&adapter->bypass.log, 1, 0) == 0)
711 while (atomic_cmpset_int(&adapter->bypass.log, 1, 0) == 0)
717 * ixgbe_bypass_init - Set up infrastructure for the bypass feature
720 * only enabled for the first port of a bypass adapter.
754 * `sysctl dev.ix.0.bypass` will not show the log.
761 /* All other setting are hung from the 'bypass' node */
764 OID_AUTO, "bypass", CTLFLAG_RD, NULL, "Bypass");