Lines Matching refs:mgmt
609 struct vdpa_mgmt_dev *mgmt; in pds_vdpa_dev_add() local
619 mgmt = &vdpa_aux->vdpa_mdev; in pds_vdpa_dev_add()
640 pdsv->supported_features = mgmt->supported_features; in pds_vdpa_dev_add()
783 struct vdpa_mgmt_dev *mgmt; in pds_vdpa_get_mgmt_info() local
795 mgmt = &vdpa_aux->vdpa_mdev; in pds_vdpa_get_mgmt_info()
827 mgmt->max_supported_vqs = min_t(u16, PDS_VDPA_MAX_QUEUES, max_vqs); in pds_vdpa_get_mgmt_info()
830 mgmt->ops = &pds_vdpa_mgmt_dev_ops; in pds_vdpa_get_mgmt_info()
831 mgmt->id_table = pds_vdpa_id_table; in pds_vdpa_get_mgmt_info()
832 mgmt->device = dev; in pds_vdpa_get_mgmt_info()
833 mgmt->supported_features = le64_to_cpu(vdpa_aux->ident.hw_features); in pds_vdpa_get_mgmt_info()
836 mgmt->supported_features |= BIT_ULL(VIRTIO_NET_F_MAC); in pds_vdpa_get_mgmt_info()
838 mgmt->config_attr_mask = BIT_ULL(VDPA_ATTR_DEV_NET_CFG_MACADDR); in pds_vdpa_get_mgmt_info()
839 mgmt->config_attr_mask |= BIT_ULL(VDPA_ATTR_DEV_NET_CFG_MAX_VQP); in pds_vdpa_get_mgmt_info()
840 mgmt->config_attr_mask |= BIT_ULL(VDPA_ATTR_DEV_FEATURES); in pds_vdpa_get_mgmt_info()