From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id AE69A45AF2; Wed, 9 Oct 2024 15:00:41 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8DC3D4065D; Wed, 9 Oct 2024 15:00:41 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mails.dpdk.org (Postfix) with ESMTP id DCCCF4060A for ; Wed, 9 Oct 2024 15:00:39 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1728478839; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=wAlpKyBPVMzoJGMOix4eeuBP0pOFU/82GFcoIcYAXbg=; b=ebYHc5zFbyIPhcwFlirKu78SjlP0jb3GuYWVhbuiOhoG7jOEoVgKDNQG6yAPvmWGYIzqKf xXVxcXjtbknOPJkVDH4gsKLa04T4DFUuUkfrhFGhTEpTAvPyEWe0zPnZ09Qy3sEdjrxAoX S3pgncar8+OYtCXpL/hu/spPIM1mS5E= Received: from mx-prod-mc-02.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-46-g3xoxlUvM6SyzcbtQhki5w-1; Wed, 09 Oct 2024 09:00:36 -0400 X-MC-Unique: g3xoxlUvM6SyzcbtQhki5w-1 Received: from mx-prod-int-04.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-04.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.40]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-02.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 42D181955D5F; Wed, 9 Oct 2024 13:00:35 +0000 (UTC) Received: from max-p1.redhat.com (unknown [10.39.208.2]) by mx-prod-int-04.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id 43D1519560AD; Wed, 9 Oct 2024 13:00:32 +0000 (UTC) From: Maxime Coquelin To: dev@dpdk.org, chenbox@nvidia.com, david.marchand@redhat.com Cc: Maxime Coquelin Subject: [PATCH] vhost: promote max queue setting API to stable Date: Wed, 9 Oct 2024 15:00:29 +0200 Message-ID: <20241009130029.2906449-1-maxime.coquelin@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.0 on 10.30.177.40 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII"; x-default=true X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org This patch promotes the rte_vhost_driver_set_max_queue_num API to stable. Signed-off-by: Maxime Coquelin --- lib/vhost/rte_vhost.h | 4 ---- lib/vhost/version.map | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/lib/vhost/rte_vhost.h b/lib/vhost/rte_vhost.h index 328281ba0f..0ce3f31cbe 100644 --- a/lib/vhost/rte_vhost.h +++ b/lib/vhost/rte_vhost.h @@ -610,9 +610,6 @@ int rte_vhost_driver_get_queue_num(const char *path, uint32_t *queue_num); /** - * @warning - * @b EXPERIMENTAL: this API may change, or be removed, without prior notice. - * * Set the maximum number of queue pairs supported by the device. * The value set is ignored for Vhost-user backends. It is only taken into * account with VDUSE backends. @@ -624,7 +621,6 @@ rte_vhost_driver_get_queue_num(const char *path, uint32_t *queue_num); * @return * 0 on success, -1 on failure */ -__rte_experimental int rte_vhost_driver_set_max_queue_num(const char *path, uint32_t max_queue_pairs); diff --git a/lib/vhost/version.map b/lib/vhost/version.map index 30bc312262..8333e100ed 100644 --- a/lib/vhost/version.map +++ b/lib/vhost/version.map @@ -32,6 +32,7 @@ DPDK_25 { rte_vhost_driver_get_vdpa_device; rte_vhost_driver_register; rte_vhost_driver_set_features; + rte_vhost_driver_set_max_queue_num; rte_vhost_driver_set_protocol_features; rte_vhost_driver_start; rte_vhost_driver_unregister; @@ -97,7 +98,6 @@ EXPERIMENTAL { rte_vhost_async_dma_unconfigure; # added in 23.07 - rte_vhost_driver_set_max_queue_num; rte_vhost_notify_guest; }; -- 2.46.2