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 36CC1A04DB; Thu, 15 Oct 2020 17:32:39 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id CB7E21EA96; Thu, 15 Oct 2020 17:30:23 +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 E5F081EA61 for ; Thu, 15 Oct 2020 17:30:21 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1602775820; 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=N4R06HLUbaJ1RHbDlJb4k9PknverbnWksLJsh70ARNw=; b=U5bc3jhFTz2iLnhkm3vkz7bxzS2E0AeDBvXhvCUv4TliaLV5mw6ZCGUoSd4wHod5hE+L8X yrlKOPskLnaHWLVxKx3KmO3uG5d+0pwaEjiho4ywKEITNn0NxBG8AjZ5IOAdKlu+e1CacK VgFjEDYVNTvJdPWd/NsTwlrxRYi2Ri4= 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-258-EXTwNsdhONivJVTmXTqfJg-1; Thu, 15 Oct 2020 11:30:17 -0400 X-MC-Unique: EXTwNsdhONivJVTmXTqfJg-1 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id DCC8018C5209; Thu, 15 Oct 2020 15:30:14 +0000 (UTC) Received: from [10.36.110.38] (unknown [10.36.110.38]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 9231568431; Thu, 15 Oct 2020 15:30:06 +0000 (UTC) To: Ciara Power , dev@dpdk.org Cc: viktorin@rehivetech.com, ruifeng.wang@arm.com, jerinj@marvell.com, drc@linux.vnet.ibm.com, bruce.richardson@intel.com, konstantin.ananyev@intel.com, david.marchand@redhat.com, Chenbo Xia , Zhihong Wang References: <20200807155859.63888-1-ciara.power@intel.com> <20201015152259.97562-1-ciara.power@intel.com> <20201015152259.97562-13-ciara.power@intel.com> From: Maxime Coquelin Message-ID: <4b2ec8c6-4f87-3692-7646-cdebbe1a4dfc@redhat.com> Date: Thu, 15 Oct 2020 17:30:04 +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: <20201015152259.97562-13-ciara.power@intel.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 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 v7 12/18] net/virtio: add checks for max SIMD bitwidth 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/15/20 5:22 PM, Ciara Power wrote: > When choosing a vector path to take, an extra condition must be > satisfied to ensure the max SIMD bitwidth allows for the CPU enabled > path. > > Cc: Maxime Coquelin > Cc: Chenbo Xia > Cc: Zhihong Wang > > Signed-off-by: Ciara Power > Reviewed-by: Chenbo Xia > > --- > v4: Updated enum name. > v3: Moved max SIMD bitwidth check to configure function with other vec > support checks. > --- > drivers/net/virtio/virtio_ethdev.c | 9 ++++++++- > 1 file changed, 8 insertions(+), 1 deletion(-) > Acked-by: Maxime Coquelin Thanks, Maxime