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