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 9CECAA0A02; Thu, 14 Jan 2021 23:55:38 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 260C9140E41; Thu, 14 Jan 2021 23:55:38 +0100 (CET) Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by mails.dpdk.org (Postfix) with ESMTP id 7B068140E32 for ; Thu, 14 Jan 2021 23:55:36 +0100 (CET) Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id BBCF25C0184; Thu, 14 Jan 2021 17:55:35 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Thu, 14 Jan 2021 17:55:35 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=fm3; bh= vOWsu+pUs0NvEbdGMTV2BZE/tOgLvBs3BSAD04gqveY=; b=LGQZH9MtgVffUyY9 ReF+nYY234DWXP3jCbkwsWBHNt53t5o66C0lbYxEb6+mLSlqlRvTP6rao/dm4CUK 5+YSzSrx8rkckJYUPsa+JlvWZXki3kIe5AsVlzuRlF1U2wYnHEKBLOheaL38oSQC QisHQue4jBDt9piJ04AekA/W2eCTjChtB/5KxQlvMqFbWkNbqAfxGo9kQWf3g+uf BvopEbA198z0tJ8ed8EdQ5gJ9dmafDrcht2TNq2eKBPRLlnHs3Ob65PnztCJuhov oUcT3ZRrh/GEGv1wXcvxUwh42hDdEFJ8eIqc3IwpEgbdVjw/cKav2cGqi00tiddv QMenkg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=vOWsu+pUs0NvEbdGMTV2BZE/tOgLvBs3BSAD04gqv eY=; b=l45EkMTqXvf+mjWiUdxCn53XJOteriX4+hvUmtM6B+LEkEQ6M3dakmkFv Cg3WujigcZJWfuYZnhxBPYcJ3zTZm5ClkHTr9agE8vWbu7j+HCaIl0dyUBtPqKW/ 8h2fVCrbtrKlKuHlXkwpxAhmNLCl0pbr4S50nz+oa9r8AP0hM7/ne2o11OzyQ5zF paBP9p9+fYg2rg7kVt37VlmfUIZzx52VXKbFMHUGcTw5uefKME2l34b+hQaI4Qrp oFsearhDCSgqwmcCBYflu83AWS0BIqxxBidw4DtWllS7ObD1/yVfI6R9nbJwABv4 pOxv/aOY6l5scWoIn+LeP65OnMtlQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrtddugddtfecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhephffvufffkfgjfhgggfgtsehtufertd dttddvnecuhfhrohhmpefvhhhomhgrshcuofhonhhjrghlohhnuceothhhohhmrghssehm ohhnjhgrlhhonhdrnhgvtheqnecuggftrfgrthhtvghrnhepudeggfdvfeduffdtfeegle fghfeukefgfffhueejtdetuedtjeeuieeivdffgeehnecukfhppeejjedrudefgedrvddt fedrudekgeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhroh hmpehthhhomhgrshesmhhonhhjrghlohhnrdhnvght X-ME-Proxy: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 199BD1080063; Thu, 14 Jan 2021 17:55:34 -0500 (EST) From: Thomas Monjalon To: pallavi.kadam@intel.com Cc: dev@dpdk.org, ranjit.menon@intel.com, dmitry.kozliuk@gmail.com, bruce.richardson@intel.com, ferruh.yigit@intel.com, beilei.xing@intel.com, jia.guo@intel.com, Narcisa.Vasile@microsoft.com, talshn@nvidia.com Date: Thu, 14 Jan 2021 23:55:32 +0100 Message-ID: <5230444.hLBB0F48ad@thomas> In-Reply-To: <20201222004511.12948-1-pallavi.kadam@intel.com> References: <20201217225909.3580-1-pallavi.kadam@intel.com> <20201222004511.12948-1-pallavi.kadam@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v3 0/2] Support i40e PMD on Windows 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" 22/12/2020 01:45, Pallavi Kadam: > Pallavi Kadam (2): > eal: add rte_random.c file on windows > build: i40e PMD on Windows Applied, thanks For info, I've fixed an additional warning in i40e compilation on Windows: drivers/net/i40e/i40e_hash.c:357:22: warning: comparison of integers of different signs: 'enum rte_flow_item_type' and 'unsigned long long' --- a/drivers/net/i40e/i40e_hash.c +++ b/drivers/net/i40e/i40e_hash.c @@ -354,9 +354,10 @@ i40e_hash_get_pattern_type(const struct rte_flow_item pattern[], } /* Check the previous item allows this sub-item. */ - if (prev_item_type >= RTE_DIM(pattern_next_allow_items) || + if (prev_item_type >= (enum rte_flow_item_type) + RTE_DIM(pattern_next_allow_items) || !(pattern_next_allow_items[prev_item_type] & - BIT_ULL(pattern->type))) + BIT_ULL(pattern->type))) goto not_sup; /* For VLAN item, it does no matter about to pattern type @@ -372,7 +373,8 @@ i40e_hash_get_pattern_type(const struct rte_flow_item pattern[], } prev_item_type = last_item_type; - assert(last_item_type < RTE_DIM(pattern_item_header)); + assert(last_item_type < (enum rte_flow_item_type) + RTE_DIM(pattern_item_header)); item_hdr = pattern_item_header[last_item_type]; assert(item_hdr);