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 D3323A0A0E; Wed, 3 Feb 2021 17:27:48 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 59401240652; Wed, 3 Feb 2021 17:27:48 +0100 (CET) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [63.128.21.124]) by mails.dpdk.org (Postfix) with ESMTP id 16E8224064A for ; Wed, 3 Feb 2021 17:27:46 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1612369666; 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=J9fhPQ2hC+pcZ8/Gnc8vqUdzwX+ghyUruesYuSVY7EE=; b=Jc7csH4v+1lpEWRpvqsfgC4jtjbtytoczZANW/U1cAaKulFjnbwMVno/tf/faT/CAdHVGQ 9jo/2iYB8VSnEZFSFfZKEyotEugHkRoBZ8meRetaOdJlsJbCP+VQtJa6R/6jzLz0+ExbeH Xqvj21f0p6jLqKu92Gm1g4GBJWSUTeg= 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-452-82MwyMPrMN6Tel1jfdYkgg-1; Wed, 03 Feb 2021 11:27:42 -0500 X-MC-Unique: 82MwyMPrMN6Tel1jfdYkgg-1 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 5E6CF107ACE8; Wed, 3 Feb 2021 16:27:41 +0000 (UTC) Received: from [10.36.110.4] (unknown [10.36.110.4]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 13FB950DE3; Wed, 3 Feb 2021 16:27:39 +0000 (UTC) To: Cheng Jiang , chenbo.xia@intel.com Cc: dev@dpdk.org, jiayu.hu@intel.com, yvonnex.yang@intel.com, yinan.wang@intel.com References: <20210131125617.53078-1-Cheng1.jiang@intel.com> <20210202061751.1614-1-Cheng1.jiang@intel.com> From: Maxime Coquelin Message-ID: Date: Wed, 3 Feb 2021 17:27:38 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.0 MIME-Version: 1.0 In-Reply-To: <20210202061751.1614-1-Cheng1.jiang@intel.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 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 v3] examples/vhost: remove async inflight packet counter 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 Sender: "dev" On 2/2/21 7:17 AM, Cheng Jiang wrote: > Remove async inflight packet counter since there is no need to keep > tracking it. Increase MAX_ENQUEUED_SIZE to prevent packet segment number > tracking ring from being exhausted. > > Fixes: a68ba8e0a6b6 ("examples/vhost: refactor vhost data path") > > Signed-off-by: Cheng Jiang > --- > v3: fixed fixes commit id in git log > > v2: fixed a typo > > examples/vhost/ioat.h | 2 +- > examples/vhost/main.c | 10 +--------- > examples/vhost/main.h | 1 - > 3 files changed, 2 insertions(+), 11 deletions(-) > Reviewed-by: Maxime Coquelin Thanks, Maxime