Lines Matching refs:vf_states

32 		if (!test_bit(I40E_VF_STATE_INIT, &vf->vf_states) &&  in i40e_vc_vf_broadcast()
33 !test_bit(I40E_VF_STATE_ACTIVE, &vf->vf_states)) in i40e_vc_vf_broadcast()
199 if (!test_bit(I40E_VF_STATE_INIT, &vf->vf_states) && in i40e_vc_notify_vf_reset()
200 !test_bit(I40E_VF_STATE_ACTIVE, &vf->vf_states)) in i40e_vc_notify_vf_reset()
1029 clear_bit(I40E_VF_STATE_INIT, &vf->vf_states); in i40e_free_vf_res()
1090 clear_bit(I40E_VF_STATE_MC_PROMISC, &vf->vf_states); in i40e_free_vf_res()
1091 clear_bit(I40E_VF_STATE_UC_PROMISC, &vf->vf_states); in i40e_free_vf_res()
1157 set_bit(I40E_VF_STATE_INIT, &vf->vf_states); in i40e_alloc_vf_res()
1447 vf_active = test_and_clear_bit(I40E_VF_STATE_ACTIVE, &vf->vf_states); in i40e_trigger_vf_reset()
1455 clear_bit(I40E_VF_STATE_INIT, &vf->vf_states); in i40e_trigger_vf_reset()
1528 set_bit(I40E_VF_STATE_ACTIVE, &vf->vf_states); in i40e_cleanup_reset_vf()
1529 clear_bit(I40E_VF_STATE_DISABLED, &vf->vf_states); in i40e_cleanup_reset_vf()
1532 &vf->vf_states)) in i40e_cleanup_reset_vf()
1568 if (test_and_set_bit(I40E_VF_STATE_RESETTING, &vf->vf_states)) in i40e_reset_vf()
1606 clear_bit(I40E_VF_STATE_RESETTING, &vf->vf_states); in i40e_reset_vf()
1641 if (!test_bit(I40E_VF_STATE_RESETTING, &vf->vf_states)) in i40e_reset_all_vfs()
1658 if (!test_bit(I40E_VF_STATE_RESETTING, &vf->vf_states)) { in i40e_reset_all_vfs()
1691 if (test_bit(I40E_VF_STATE_RESETTING, &vf->vf_states)) in i40e_reset_all_vfs()
1706 if (test_bit(I40E_VF_STATE_RESETTING, &vf->vf_states)) in i40e_reset_all_vfs()
1720 if (test_bit(I40E_VF_STATE_RESETTING, &vf->vf_states)) in i40e_reset_all_vfs()
1765 if (test_bit(I40E_VF_STATE_INIT, &pf->vf[i].vf_states)) in i40e_free_vfs()
1772 if (test_bit(I40E_VF_STATE_INIT, &pf->vf[i].vf_states)) in i40e_free_vfs()
1782 if (test_bit(I40E_VF_STATE_INIT, &pf->vf[i].vf_states)) in i40e_free_vfs()
1852 set_bit(I40E_VF_STATE_PRE_ENABLE, &vfs[i].vf_states); in i40e_alloc_vfs()
2035 if (test_bit(state, &vf->vf_states)) in i40e_sync_vf_state()
2040 return test_bit(state, &vf->vf_states); in i40e_sync_vf_state()
2150 set_bit(I40E_VF_STATE_RDMAENA, &vf->vf_states); in i40e_vc_get_vf_resources_msg()
2152 clear_bit(I40E_VF_STATE_RDMAENA, &vf->vf_states); in i40e_vc_get_vf_resources_msg()
2224 set_bit(I40E_VF_STATE_ACTIVE, &vf->vf_states); in i40e_vc_get_vf_resources_msg()
2291 &vf->vf_states)) in i40e_vc_config_promiscuous_mode_msg()
2296 &vf->vf_states)) in i40e_vc_config_promiscuous_mode_msg()
2303 &vf->vf_states)) in i40e_vc_config_promiscuous_mode_msg()
2308 &vf->vf_states)) in i40e_vc_config_promiscuous_mode_msg()
2612 if (!test_bit(I40E_VF_STATE_ACTIVE, &vf->vf_states)) { in i40e_vc_enable_queues_msg()
3210 if (!test_bit(I40E_VF_STATE_ACTIVE, &vf->vf_states) || in i40e_vc_add_vlan_msg()
3237 if (test_bit(I40E_VF_STATE_UC_PROMISC, &vf->vf_states)) in i40e_vc_add_vlan_msg()
3242 if (test_bit(I40E_VF_STATE_MC_PROMISC, &vf->vf_states)) in i40e_vc_add_vlan_msg()
3299 if (test_bit(I40E_VF_STATE_UC_PROMISC, &vf->vf_states)) in i40e_vc_remove_vlan_msg()
3304 if (test_bit(I40E_VF_STATE_MC_PROMISC, &vf->vf_states)) in i40e_vc_remove_vlan_msg()
3331 if (!test_bit(I40E_VF_STATE_ACTIVE, &vf->vf_states) || in i40e_vc_rdma_msg()
3332 !test_bit(I40E_VF_STATE_RDMAENA, &vf->vf_states)) { in i40e_vc_rdma_msg()
3361 if (!test_bit(I40E_VF_STATE_ACTIVE, &vf->vf_states) || in i40e_vc_rdma_qvmap_msg()
3362 !test_bit(I40E_VF_STATE_RDMAENA, &vf->vf_states)) { in i40e_vc_rdma_qvmap_msg()
4185 if (test_bit(I40E_VF_STATE_DISABLED, &vf->vf_states)) in i40e_vc_process_vf_msg()
4384 if (test_bit(I40E_VF_STATE_INIT, &vf->vf_states)) in i40e_check_vf_init_timeout()
4389 if (!test_bit(I40E_VF_STATE_INIT, &vf->vf_states)) { in i40e_check_vf_init_timeout()
4608 if (test_bit(I40E_VF_STATE_UC_PROMISC, &vf->vf_states)) in i40e_ndo_set_vf_port_vlan()
4611 if (test_bit(I40E_VF_STATE_MC_PROMISC, &vf->vf_states)) in i40e_ndo_set_vf_port_vlan()
4983 if (!test_bit(I40E_VF_STATE_INIT, &vf->vf_states)) { in i40e_get_vf_stats()