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 09DEA45B4D; Wed, 16 Oct 2024 13:38:59 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2A59A4042E; Wed, 16 Oct 2024 13:38:55 +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 C7BF64042E for ; Wed, 16 Oct 2024 13:38:53 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1729078733; 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: in-reply-to:in-reply-to:references:references; bh=MsNRl3wXHVbsn2RZ67uPDnyiAFvSOaOk6kzWFHhbeJM=; b=dEr5dsTOiYBZJZ3UgPOpUDQoBrOqqKG9QPkEIqtidg0XTzLFmr2xqTg1iB0FKkAacXaDtw dcJmtMRX05HN22kh7vRy6fu2pGed5FAlsuyHBnf3MleY87TIPfzhuhxRR2hRleFaDLJua+ 8eJh0IapRM786eassVW1HtIqMDy1J2U= Received: from mx-prod-mc-05.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-656-fEEYd8R0M9ufupFzWZQxPA-1; Wed, 16 Oct 2024 07:38:50 -0400 X-MC-Unique: fEEYd8R0M9ufupFzWZQxPA-1 Received: from mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.4]) (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-05.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 4B45219560A2; Wed, 16 Oct 2024 11:38:49 +0000 (UTC) Received: from dmarchan.redhat.com (unknown [10.45.224.57]) by mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id 9612D300018D; Wed, 16 Oct 2024 11:38:46 +0000 (UTC) From: David Marchand To: dev@dpdk.org Cc: thomas@monjalon.net, bruce.richardson@intel.com, ktraynor@redhat.com, Maxime Coquelin , Chenbo Xia , Adrian Moreno Subject: [PATCH v2 3/4] vhost: remove internal vDPA API description from public header Date: Wed, 16 Oct 2024 13:38:15 +0200 Message-ID: <20241016113817.3956187-4-david.marchand@redhat.com> In-Reply-To: <20241016113817.3956187-1-david.marchand@redhat.com> References: <20241015121046.2556695-1-david.marchand@redhat.com> <20241016113817.3956187-1-david.marchand@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.30.177.4 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 rte_vdpa_relay_vring_used() is an internal symbol which was left behind in the application header when doing the application vs driver API split. Fixes: a49f758d1170 ("vhost: split vDPA header file") Signed-off-by: David Marchand --- lib/vhost/rte_vdpa.h | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/lib/vhost/rte_vdpa.h b/lib/vhost/rte_vdpa.h index 18e273c20f..3a7755d82d 100644 --- a/lib/vhost/rte_vdpa.h +++ b/lib/vhost/rte_vdpa.h @@ -108,23 +108,6 @@ rte_vdpa_get_features(struct rte_vdpa_device *dev, uint64_t *features); int rte_vdpa_get_protocol_features(struct rte_vdpa_device *dev, uint64_t *features); -/** - * Synchronize the used ring from mediated ring to guest, log dirty - * page for each writeable buffer, caller should handle the used - * ring logging before device stop. - * - * @param vid - * vhost device id - * @param qid - * vhost queue id - * @param vring_m - * mediated virtio ring pointer - * @return - * number of synced used entries on success, -1 on failure - */ -int -rte_vdpa_relay_vring_used(int vid, uint16_t qid, void *vring_m); - /** * Retrieve names of statistics of a vDPA device. * -- 2.46.2