Lines Matching refs:state

200 		 * If we're in a transitional state, just re-queue and return.
201 * The queue will be serviced when we get to a stable state.
203 if (fnic->state != FNIC_IN_FC_MODE &&
204 fnic->state != FNIC_IN_ETH_MODE) {
255 * If we're in a transitional state, just re-queue and return.
256 * The queue will be serviced when we get to a stable state.
258 if (fnic->state != FNIC_IN_FC_MODE &&
259 fnic->state != FNIC_IN_ETH_MODE) {
453 vlan->state = FIP_VLAN_AVAIL;
473 vlan->state = FIP_VLAN_SENT; /* sent now */
495 vlan->state = FIP_VLAN_SENT; /* sent now */
518 if (fvlan->state == FIP_VLAN_USED) {
523 if (fvlan->state == FIP_VLAN_SENT) {
524 fvlan->state = FIP_VLAN_USED;
609 * If we're in a transitional state, just re-queue and return.
610 * The queue will be serviced when we get to a stable state.
612 if (fnic->state != FNIC_IN_FC_MODE &&
613 fnic->state != FNIC_IN_ETH_MODE) {
787 /* Change state to reflect transition to FC mode */
789 if (fnic->state == FNIC_IN_ETH_MODE || fnic->state == FNIC_IN_FC_MODE)
790 fnic->state = FNIC_IN_ETH_TRANS_FC_MODE;
793 "Unexpected fnic state %s while"
795 fnic_state_to_str(fnic->state));
809 if (fnic->state == FNIC_IN_ETH_TRANS_FC_MODE)
810 fnic->state = FNIC_IN_ETH_MODE;
1161 * Queue frame if in a transitional state.
1165 if (fnic->state != FNIC_IN_FC_MODE && fnic->state != FNIC_IN_ETH_MODE) {
1210 old_state = fnic->state;
1215 fnic->state = FNIC_IN_FC_TRANS_ETH_MODE;
1221 if (fnic->state != FNIC_IN_FC_TRANS_ETH_MODE)
1224 fnic->state = old_state;
1344 "fip_timer: vlan %d state %d sol_count %d\n",
1345 vlan->vid, vlan->state, vlan->sol_count);
1346 switch (vlan->state) {
1354 /* if all vlans are in failed state, restart vlan disc */
1387 vlan->state = FIP_VLAN_SENT; /* sent now */