From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id E1D64A04DE; Fri, 23 Oct 2020 13:23:09 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id BD4B65A17; Fri, 23 Oct 2020 13:23:08 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [63.128.21.124]) by dpdk.org (Postfix) with ESMTP id D348D595C for ; Fri, 23 Oct 2020 13:23:05 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1603452184; 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=w3SaCiFb+5eVF4Z/x+0//EclAODUPjHkHhGd/UXxRKg=; b=DiWL4YXvyssltrR6uwsO93JOjDdh/Th/KuKJV/56Z6oXOZCm8a7mmYRAmt2UFr6cJbmEkq LxTbwHBgQH42F0bO650IO77bLI+mivyJIfR+vikNS6rgcYKjTopg51bYcmlXudqjNxxuY7 55eoZ1FGfDErb3ytIGNP73DEZreUkfM= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-462-KUwr_YcYPpa_DLhDFLrSnw-1; Fri, 23 Oct 2020 07:23:00 -0400 X-MC-Unique: KUwr_YcYPpa_DLhDFLrSnw-1 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 76276100746E; Fri, 23 Oct 2020 11:22:59 +0000 (UTC) Received: from [10.36.110.30] (unknown [10.36.110.30]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 1D0215C1DA; Fri, 23 Oct 2020 11:22:57 +0000 (UTC) To: Patrick Fu , dev@dpdk.org, chenbo.xia@intel.com Cc: cheng1.jiang@intel.com References: <20201021054425.4077276-1-patrick.fu@intel.com> From: Maxime Coquelin Message-ID: Date: Fri, 23 Oct 2020 13:22:56 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.3.1 MIME-Version: 1.0 In-Reply-To: <20201021054425.4077276-1-patrick.fu@intel.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=maxime.coquelin@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH v1] vhost: remove fallback in async enqueue API X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 10/21/20 7:44 AM, Patrick Fu wrote: > By design, async enqueue API should return directly if async device > is not registered. This patch removes the corrupted implementation of > the enqueue fallback from async mode to sync mode. > > Fixes: cd6760da1076 ("vhost: introduce async enqueue for split ring") > > Signed-off-by: Patrick Fu > --- > lib/librte_vhost/virtio_net.c | 11 +---------- > 1 file changed, 1 insertion(+), 10 deletions(-) Applied to dpdk-next-virtio/main. Thanks, Maxime