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 0B8FF45AF5; Wed, 9 Oct 2024 20:02:59 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id BF88E40647; Wed, 9 Oct 2024 20:02:58 +0200 (CEST) Received: from mail-pl1-f178.google.com (mail-pl1-f178.google.com [209.85.214.178]) by mails.dpdk.org (Postfix) with ESMTP id DA5F8402E0 for ; Wed, 9 Oct 2024 20:02:56 +0200 (CEST) Received: by mail-pl1-f178.google.com with SMTP id d9443c01a7336-20b90984971so83675ad.3 for ; Wed, 09 Oct 2024 11:02:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1728496976; x=1729101776; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=08kLA9ZVMvOjVkMOm70nDtrOtiBqDUyUsio8gG3pktU=; b=PRyCmwvlFmn73YEHQbyXk5ecIftBKdvNirY4cFscE/UrueX0AaBlias9Xngm4kRFkO P8/hpDwwohwhyVn14DVGb1qHYD8eMAWbx+WjDquXUZ5W/6+gnK0TD9slEqw6uYMyaDZP zcTXuRqvljDzgSmJxNKuKQ4wEylgfslKrRbhdR7wTOyR2ntjVyRumD3zY+zgZ6ZanBFX EiQ8eSEgkk5oV3Y576W+3a6+bDgE55kmLaC4jbKchm7ZejzKBcwHQxqU/GltS1Ab+Vxp jZloc2yRJFwRstNl9eQyzf1fDLL21RujqJIi3Keog3NHFchy0YQWvy9mMUS1it5P3VVj Y+6w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728496976; x=1729101776; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=08kLA9ZVMvOjVkMOm70nDtrOtiBqDUyUsio8gG3pktU=; b=IH5BblY8gaWNUlzf8RaJngKa38lwDCe9Rejyv/4FMdX8c86cu8B4qc8kPLD7BdQvRn TRPtxyiUdcYfFlQR3frzk+jG23zCxqH75FGc07J2CbZriauncwhcx+rvJCY3YpkePnoz hKbifZevUK9AAqgNFWPQ6BNgMCHqdjdWtvT7NGxYYZ16B0ttJ98MeyrTWL43/sycXWZq Vl00y0kzi44XDwzlHcsBnSbKRWjTC1syFGsiFc0BqjN2X8zt1kUcWWenGo+HSQgH2spK Wg/1eWdzXguyQXHOLPTdGpmku8olDlckODH1XglkMllAVk/iHIBg7fy+CmjBuWb1TwGd eVEQ== X-Gm-Message-State: AOJu0YzT5h34CQ4h7I06e26o0Pli80oqNHvhD95stK7QieyIKyVCBh5O rv9PnS7Begd5HhAL0AIXfenimTEWnDofYsUGAGpjHB++wk5mD7NIGf/mD4x3dRw= X-Google-Smtp-Source: AGHT+IFRZsFvbR38Teqe0YdZSbVjvVD82yHNrN0XsHdvu9WAZtdZ+zWejgHKwZUlBR7e4ZM76CCGLQ== X-Received: by 2002:a17:902:ec8a:b0:20c:5404:ed69 with SMTP id d9443c01a7336-20c63741e67mr46818365ad.31.1728496975954; Wed, 09 Oct 2024 11:02:55 -0700 (PDT) Received: from hermes.local (204-195-96-226.wavecable.com. [204.195.96.226]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-20c139399basm73419545ad.149.2024.10.09.11.02.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Oct 2024 11:02:55 -0700 (PDT) Date: Wed, 9 Oct 2024 11:02:53 -0700 From: Stephen Hemminger To: Gagandeep Singh Cc: dev@dpdk.org, Hemant Agrawal , Sachin Saxena Subject: Re: [v5 15/15] bus/dpaa: add port bmi stats Message-ID: <20241009110253.56891693@hermes.local> In-Reply-To: <20241008105810.1454133-16-g.singh@nxp.com> References: <20241008072306.1256445-2-g.singh@nxp.com> <20241008105810.1454133-1-g.singh@nxp.com> <20241008105810.1454133-16-g.singh@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 On Tue, 8 Oct 2024 16:28:10 +0530 Gagandeep Singh wrote: > From: Hemant Agrawal > > Add BMI statistics and fixing the existing extended > statistics > > Signed-off-by: Hemant Agrawal > Signed-off-by: Gagandeep Singh > --- This patch is failing build, Fedora has a more recent Gcc with more checking ==== 20 line log output for Fedora 40 (dpdk_unit_test): ==== | ^~~ In function 'rte_mov15_or_less', inlined from 'rte_memcpy_aligned' at ../lib/eal/x86/include/rte_memcpy.h:706:10, inlined from 'rte_memcpy' at ../lib/eal/x86/include/rte_memcpy.h:755:10, inlined from 'qdma_cntx_idx_ring_eq' at ../drivers/dma/dpaa2/dpaa2_qdma.c:80:3, inlined from 'dpaa2_qdma_dq_fd' at ../drivers/dma/dpaa2/dpaa2_qdma.c:953:9, inlined from 'dpaa2_qdma_dequeue' at ../drivers/dma/dpaa2/dpaa2_qdma.c:1109:9: ../lib/eal/x86/include/rte_memcpy.h:89:63: error: array subscript 'const struct rte_uint32_alias[0]' is partly outside array bounds of 'const void[2]' [-Werror=array-bounds=] 89 | ((const struct rte_uint32_alias *)src)->val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ../drivers/dma/dpaa2/dpaa2_qdma.c: In function 'dpaa2_qdma_dequeue': ../drivers/dma/dpaa2/dpaa2_qdma.c:943:18: note: object 'idx' of size 2 943 | uint16_t idx, att; | ^~~ ../drivers/dma/dpaa2/dpaa2_qdma.c:943:18: note: at offset [8, 10] into object 'idx' of size 2 cc1: all warnings being treated as errors [1029/2944] Compiling C object 'drivers/a715181@@tmp_rte_dma_idxd at sta/dma_idxd_idxd_common.c.o'. [1030/2944] Generating rte_common_sfc_efx.sym_chk with a meson_exe.py custom command. [1031/2944] Generating rte_common_cnxk.sym_chk with a meson_exe.py custom command. ninja: build stopped: subcommand failed. ==== End log output ====