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 66F8145A11; Mon, 23 Sep 2024 17:44:42 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 52CC2402CB; Mon, 23 Sep 2024 17:44:42 +0200 (CEST) Received: from mail-qt1-f175.google.com (mail-qt1-f175.google.com [209.85.160.175]) by mails.dpdk.org (Postfix) with ESMTP id 875DD4027C for ; Mon, 23 Sep 2024 17:44:41 +0200 (CEST) Received: by mail-qt1-f175.google.com with SMTP id d75a77b69052e-45816db2939so31434511cf.3 for ; Mon, 23 Sep 2024 08:44:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1727106281; x=1727711081; darn=dpdk.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=TYY8koRJ6H3fcEnX2clO/RZwyfDoaUCOKVxA11mtSeM=; b=D3snTzQTKZkUDR1xTRPj9le21C9ya/fXik7BxRxI3jdQGXea7VIBin0Zk7ut+S3Ahw 7tXyHaVvXhPN7y6rBUhE41FivabF/8ty4ZFLEC39GKHRp+naLt9WIBIV5mmEKpLwodQo e/JoO+AWDmaiKXSDC9f+5qGVLaG90iKTTOr0iedUKRWeOwNf/eDNxTWgTzrtPn38dthi CDtUr/eBEPcUqYFQXzaGt2XWB53zjTxx3px8tdFUM946ik1z+RIP+98ja2CI44SBCJT3 qoPS8Bze8pPVOPwscTPi+dI5K9xFjUYyHdBUQonUJq54OB+1A6/PwSH5XpG4rPhaPe8y tz1w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727106281; x=1727711081; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=TYY8koRJ6H3fcEnX2clO/RZwyfDoaUCOKVxA11mtSeM=; b=nrxG0qV5SVmNThI79Y+4/0gRbCSdFnACq7l2SllbGu7XkezKNR9eZmBWMe/TpYzac/ L0NnclNgzBqSkcyFV3mBlDHdpZvfSmpx2NIqgHTJxNMBC18c0qQfjNbID96zD2bhFmKk feozASIr9FOkKwMcV8eqSre5R2/1qpV06owvbHj5oAUrFO+2WK6G+Jy06583FvnfGQk8 sDAEyACI4RxM4XYKelujL61IMl7Y6kUXKpDBvJ6j1fmiaCmYNF3MedND9aFxV4cCWx5K Cexs2ttY3WKuFzPan3bPgVc8s6az1ctzTg1cfIqXAtKvieHRekjboJd0L9BfAp8BG8qZ h/ow== X-Forwarded-Encrypted: i=1; AJvYcCX6h3LahWgBr+dTN4L/tgBxQxFWaXFcxfkQBQwpHeD2rYLy5bq7ogSYLqdnaB9j+G+ZnIo=@dpdk.org X-Gm-Message-State: AOJu0YybXItm9TZIOd6gcshKlAH0mFB/590Y+cRFwfHOX49zDzrRWa+x rq2qFluVQBjv5Mq41V4bdHGEGeLR9evLKWk4WEsqDgXBqPYc+Eo80n6OcUU11+oNat43nBlPFVy poTcRyMrzy78sp9hCxpW01NHDJXFmTvuUgw4= X-Google-Smtp-Source: AGHT+IF/U/ymxx+vZ4IL0gRMsyRY/LDXKLEkRwAv+UYLkNdqkC/obkDsbRSDSNR4ZxfSqjkoxOTqJhO4p5QgQ+JOAK4= X-Received: by 2002:a05:622a:1a81:b0:458:4f65:6de1 with SMTP id d75a77b69052e-45b20574863mr217409581cf.52.1727106280674; Mon, 23 Sep 2024 08:44:40 -0700 (PDT) MIME-Version: 1.0 References: <20240910085909.1514457-1-ndabilpuram@marvell.com> In-Reply-To: <20240910085909.1514457-1-ndabilpuram@marvell.com> From: Jerin Jacob Date: Mon, 23 Sep 2024 21:14:14 +0530 Message-ID: Subject: Re: [PATCH 00/33] add Marvell cn20k SOC support for mempool and net To: Nithin Dabilpuram Cc: jerinj@marvell.com, dev@dpdk.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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, Sep 10, 2024 at 2:54=E2=80=AFPM Nithin Dabilpuram wrote: > > This series adds support for Marvell cn20k SOC for mempool and > net PMD's. > > This series also adds few net/cnxk PMD updates to expose IPsec > features supported by HW that are very custom in nature and > some enhancements for cn10k. # Please update release note for mempool cn20k driver support # Please update release note for ethdev cn20k driver support # Please split non cn20k driver patches to separate series. # Please fix the following build issue total: 0 errors, 0 warnings Applying: net/cnxk: add PMD APIs to submit CPT instruction ccache clang -Idrivers/libtmp_rte_net_cnxk.a.p -Idrivers -I../drivers -Idrivers/net/cnxk -I../drivers/net/cnxk -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I.. /lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib /telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idriv ers/bus/vdev -I../drivers/bus/vdev -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/eventdev -I../lib/eventdev -Ilib/hash -I../lib/hash -Ilib/timer -I../lib/timer -Ilib/dmadev -I../lib/dmadev -Ilib/security -I../lib/securi ty -Idrivers/common/cnxk -I../drivers/common/cnxk -Idrivers/mempool/cnxk -I../drivers/mempool/cnxk -fdiagnostics-color=3Dalways -D_FILE_OFFSET_BITS=3D64 -Wall -Winvalid-pch -Wextra -Werror -std=3Dc11 -O2 -g -include rte_config.h -Wcast-qual -W deprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-pack ed-member -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=3Dnative -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -flax-vector-conversions -Wno-strict-aliasing -Wno-asm-operand-widths -DRTE_LOG_DEFAUL T_LOGTYPE=3Dpmd.net.cnxk -MD -MQ drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cn20k_ethdev.c.o -MF drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cn20k_ethdev.c.o.d -o drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cn20k_ethdev.c.o -c ../drivers/net/cnxk/ cn20k_ethdev.c In file included from ../drivers/net/cnxk/cn20k_ethdev.c:4: In file included from ../drivers/net/cnxk/cn20k_ethdev.h:8: ../drivers/net/cnxk/cnxk_ethdev.h:516:8: error: address argument to atomic operation must be a pointer to _Atomic type ('int32_t *' (aka 'int *') invalid) 516 | val =3D rte_atomic_fetch_sub_explicit(fc_sw, nb_inst, __ATOMIC_RELAXED) - nb_inst; | ^ ~~~~~ ../lib/eal/include/rte_stdatomic.h:95:2: note: expanded from macro 'rte_atomic_fetch_sub_explicit' 95 | atomic_fetch_sub_explicit(ptr, val, memorder) | ^ ~~~ /usr/lib/clang/18/include/stdatomic.h:154:35: note: expanded from macro 'atomic_fetch_sub_explicit' 154 | #define atomic_fetch_sub_explicit __c11_atomic_fetch_sub | ^ In file included from ../drivers/net/cnxk/cn20k_ethdev.c:4: In file included from ../drivers/net/cnxk/cn20k_ethdev.h:8: ../drivers/net/cnxk/cnxk_ethdev.h:520:30: error: address argument to atomic operation must be a pointer to _Atomic type ('uint64_t *' (aka 'unsigned long *') invalid) 520 | newval =3D (int64_t)nb_desc - rte_atomic_load_explicit(fc, __ATOMIC_RELAXED); | ^ ~~ ../lib/eal/include/rte_stdatomic.h:73:2: note: expanded from macro 'rte_atomic_load_explicit' 73 | atomic_load_explicit(ptr, memorder) | ^ ~~~ /usr/lib/clang/18/include/stdatomic.h:139:30: note: expanded from macro 'atomic_load_explicit' 139 | #define atomic_load_explicit __c11_atomic_load | ^ In file included from ../drivers/net/cnxk/cn20k_ethdev.c:4: In file included from ../drivers/net/cnxk/cn20k_ethdev.h:8: ../drivers/net/cnxk/cnxk_ethdev.h:523:7: error: address argument to atomic operation must be a pointer to _Atomic type ('int32_t *' (aka 'int *') invalid) 523 | if (!rte_atomic_compare_exchange_strong_explicit(fc_sw, &val, newval, __ATOMIC_RELEASE, | ^ ~~~~~ ../lib/eal/include/rte_stdatomic.h:83:2: note: expanded from macro 'rte_atomic_compare_exchange_strong_explicit' 83 | atomic_compare_exchange_strong_explicit(ptr, expected, desired, \ | ^ ~~~ /usr/lib/clang/18/include/stdatomic.h:145:49: note: expanded from macro 'atomic_compare_exchange_strong_explicit' 145 | #define atomic_compare_exchange_strong_explicit __c11_atomic_compare_exchange_strong | ^ 3 errors generated. [for-main]dell[dpdk-next-net-mrvl] $ clang -v clang version 18.1.8 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/bin Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-pc-linux-gnu/1= 4.2.1 Found candidate GCC installation: /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/14.2.1 Selected GCC installation: /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/14.2.1 Candidate multilib: .;@m64 Candidate multilib: 32;@m32 Selected multilib: .;@m64