Lines Matching refs:mgmt
616 struct vdpa_mgmt_dev *mgmt;
627 mgmt = &vdpa_aux->vdpa_mdev;
655 pdsv->supported_features = mgmt->supported_features;
798 struct vdpa_mgmt_dev *mgmt;
810 mgmt = &vdpa_aux->vdpa_mdev;
842 mgmt->max_supported_vqs = min_t(u16, PDS_VDPA_MAX_QUEUES, max_vqs);
845 mgmt->ops = &pds_vdpa_mgmt_dev_ops;
846 mgmt->id_table = pds_vdpa_id_table;
847 mgmt->device = dev;
848 mgmt->supported_features = le64_to_cpu(vdpa_aux->ident.hw_features);
851 mgmt->supported_features |= BIT_ULL(VIRTIO_NET_F_MAC);
853 mgmt->config_attr_mask = BIT_ULL(VDPA_ATTR_DEV_NET_CFG_MACADDR);
854 mgmt->config_attr_mask |= BIT_ULL(VDPA_ATTR_DEV_NET_CFG_MAX_VQP);
855 mgmt->config_attr_mask |= BIT_ULL(VDPA_ATTR_DEV_FEATURES);