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 A8FB2A0A0E; Mon, 10 May 2021 14:27:41 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 99691406A3; Mon, 10 May 2021 14:27:41 +0200 (CEST) Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by mails.dpdk.org (Postfix) with ESMTP id 9B97F40147 for ; Mon, 10 May 2021 14:27:40 +0200 (CEST) IronPort-SDR: 8Gg8gFh6nl09xsOf0ZZT4ZJ1PPk/ZI/arQZ/cB1yyckkNAA5XELwYkD9DVf++BDH7lbPn4YQki us3093NC0q2Q== X-IronPort-AV: E=McAfee;i="6200,9189,9979"; a="260445649" X-IronPort-AV: E=Sophos;i="5.82,286,1613462400"; d="scan'208";a="260445649" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 May 2021 05:27:39 -0700 IronPort-SDR: 4ihpDGauV/rbxpxnePh3QiCyboECqKCuQ8geWmI/igx7itphX6JvXbYQ3szYw+x2SPFrHCL0oy 2I2ptt9tEqog== X-IronPort-AV: E=Sophos;i="5.82,287,1613462400"; d="scan'208";a="536398186" Received: from apomykal-mobl1.ger.corp.intel.com (HELO [10.213.208.203]) ([10.213.208.203]) by fmsmga001-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 May 2021 05:27:37 -0700 To: =?UTF-8?Q?Micha=c5=82_Krawczyk?= Cc: dev , "Dagan, Noam" , "Tzalik, Guy" , "Chauskin, Igor" , upstream@semihalf.com References: <20210505073348.6394-1-mk@semihalf.com> <20210506142526.28245-1-mk@semihalf.com> <4fae6792-f42f-1160-9af9-a3b055565ea0@intel.com> From: Ferruh Yigit X-User: ferruhy Message-ID: <87e65a42-4ae5-1a81-8f8e-74759fc14999@intel.com> Date: Mon, 10 May 2021 13:27:33 +0100 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Subject: Re: [dpdk-dev] [PATCH v3 00/22] net/ena: update ENA PMD to v2.3.0 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 5/10/2021 1:02 PM, Michał Krawczyk wrote: > pt., 7 maj 2021 o 16:59 Ferruh Yigit napisał(a): >> >> On 5/6/2021 3:25 PM, Michal Krawczyk wrote: >>> Hi, >>> >>> this version updates the driver to version 2.3.0, which fixes multiple >>> bugs, contains part of the work on making the ENA PMD fully MP aware, and >>> also updates HAL to the latest version. >>> >>> More detailed list of changes: >>> * memcpy mapping to the dpdk-optimized version. >>> * ena_com (HAL) update to the latest version. >>> * Bug fixes for the large LLQ headers and devargs parsing. >>> * Mbuf RSS hash presence indication. >>> * Bug fix for the default ring size. >>> * Various fixes for the SMP mode. >>> >>> v3: >>> * Fix build of the PMD with the debug flags enabled. >>> * Fix typo in the commit log of the version upgrade patch. >>> >>> v2: >>> * Fix nested declaration of the rte_memcpy on arm64 architecture. >>> >>> Amit Bernstein (1): >>> net/ena/base: adjust changes to lastest ena-com >>> >>> Igor Chauskin (2): >>> net/ena: switch memcpy to dpdk-optimized version >>> net/ena: fix parsing of large_llq_hdr argument >>> >>> Michal Krawczyk (12): >>> net/ena/base: unify arg names for the functions >>> net/ena/base: add dev arg to the logging macros >>> net/ena/base: typos, style and comments improvements >>> net/ena/base: fix issues from the static code scan >>> net/ena/base: destroy multiple "wait events" >>> net/ena/base: remove indir table from ENA feat ctx >>> net/ena/base: remove mutable RSS from the host info >>> net/ena/base: update generation date and commit >>> net/ena/base: use rte_prefetch0_write >>> net/ena: terminate devargs allowed keys with NULL >>> net/ena: indicate Rx RSS hash presence >>> net/ena: update version to v2.3.0 >>> >>> Stanislaw Kardach (7): >>> net/ena: remove endian swap functions >>> net/ena: handle spurious wakeups in ENA_WAIT_EVENT >>> net/ena: support SMP for mz alloc counter >>> net/ena: move default RSS key to shared mem >>> net/ena: make ethdev references smp safe >>> net/ena: disable dev_ops not supported in SMP >>> net/ena: report default ring size >>> >> >> Hi Michal, >> >> There are some checkpatch and check-git-log.sh [1] warnings, can you please >> check them? >> > > Hi Ferruh, > > sure, I'll check them all and fix whatever is possible. The problem is > with some of the HAL patches, which are just touching some lines on > which the checkpatch returns a warning. Many of them aren't related to > those patches, so I don't think we should fix them as part of those > commits (like the one you listed below, the following patch just adds > ena_dev as an extra input argument). Please let me know what you think > about that. > Hi Michal, For the new code I think expectation is clear that it should fully comply the coding convention, but for the base code we are more flexible, since it is shared I understand that the small fixes may cause more maintenance cost. Please try to fix as much as possible, at least please fix the obviously wrong ones and fix the ones like below with best effort. Thanks, ferruh > Thanks, > Michal > >> >> You can see checkpatch warnings from patchwork: >> https://patches.dpdk.org/project/dpdk/list/?series=16861 >> The ones with yellow marker in the warning column. >> >> Additionally I am getting following checkpatch warning, that is not seen in CI: >> ### net/ena/base: add dev arg to the logging macros >> >> >> >> WARNING:UNNECESSARY_MODIFIER: Integer promotion: Using 'h' in '%hu' is >> unnecessary >> #331: FILE: drivers/net/ena/base/ena_com.c:861: >> >> + ena_trc_err(ena_dev, "Reading reg failed for timeout. expected: >> req id[%hu] offset[%hu] actual: req id[%hu] offset[%hu]\n", >> mmio_read->seq_num, >> >> offset, >> >> read_resp->req_id, >> >> @@ -854,7 +868,7 @@ static u32 ena_com_reg_bar_read32(struct ena_com_dev >> *ena_dev, u16 offset) >> >> >> >> [1] >> ./devtools/check-git-log.sh -22