vf_state
struct enetc_vf_state *vf_state = &pf->vf_state[vf_id];
mutex_lock(&vf_state->lock);
if (vf_state->flags & ENETC_VF_FLAG_PF_SET_MAC) {
mutex_unlock(&vf_state->lock);
mutex_unlock(&vf_state->lock);
struct enetc_vf_state *vf_state;
vf_state = &pf->vf_state[vf];
mutex_lock(&vf_state->lock);
vf_state->flags |= ENETC_VF_FLAG_PF_SET_MAC;
mutex_unlock(&vf_state->lock);
struct enetc_vf_state *vf_state;
pf->vf_state = devm_kcalloc(dev, pf->total_vfs,
if (!pf->vf_state)
mutex_init(&pf->vf_state[i].lock);
u8 vf_state;
req->evt_data.vf_state = enable;
if (info->evt_data.vf_state)
enum vf_state state;