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 B40FE43325; Tue, 14 Nov 2023 09:56:46 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4BFC3402B0; Tue, 14 Nov 2023 09:56:46 +0100 (CET) Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.65]) by mails.dpdk.org (Postfix) with ESMTP id 4C1B94027B for ; Tue, 14 Nov 2023 09:56:44 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1699952204; x=1731488204; h=from:to:subject:date:message-id:mime-version; bh=K8OgLLWLsK0CJ9z+t3VfFLQNAdggY7jhn18jvE9nshg=; b=RavbC3QqnTkA4ehyU1RxZZt3L3ZABtgxA0i0n04cjGbNlw2iZVttUl0M fx3JcycYwvrJ3WrNkAkdJjBJ+JkrezvvdzlWFxxYRABVUd1JYEN7LtokU MwCuzo9AX+stPkPxu7ax//fnianLp2yXFoMqMCpNZxI3vtF9YI0b39eUe cd2oldBOmTdgxtgyse/S3IIpjqnl7auSJsjQ4cSGuKIsYUmLit+ZLgL6u TptgmSoybXCC6FjTiAE4jD0LddoZKTYKqxTmoORGZd901jYxh6rMjrta2 C7nG7wHRrZk0YzRwqGee3f5OtxfX2BRS2awE0rAFDawT02ZfacMevm+DL Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10893"; a="394526935" X-IronPort-AV: E=Sophos;i="6.03,301,1694761200"; d="scan'208,217";a="394526935" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Nov 2023 00:56:43 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10893"; a="855223303" X-IronPort-AV: E=Sophos;i="6.03,301,1694761200"; d="scan'208,217";a="855223303" Received: from orsmsx602.amr.corp.intel.com ([10.22.229.15]) by FMSMGA003.fm.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 14 Nov 2023 00:56:42 -0800 Received: from orsmsx611.amr.corp.intel.com (10.22.229.24) by ORSMSX602.amr.corp.intel.com (10.22.229.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.34; Tue, 14 Nov 2023 00:56:42 -0800 Received: from orsmsx610.amr.corp.intel.com (10.22.229.23) by ORSMSX611.amr.corp.intel.com (10.22.229.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.34; Tue, 14 Nov 2023 00:56:41 -0800 Received: from orsedg603.ED.cps.intel.com (10.7.248.4) by orsmsx610.amr.corp.intel.com (10.22.229.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.34 via Frontend Transport; Tue, 14 Nov 2023 00:56:41 -0800 Received: from NAM04-MW2-obe.outbound.protection.outlook.com (104.47.73.169) by edgegateway.intel.com (134.134.137.100) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.34; Tue, 14 Nov 2023 00:56:41 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=UqRZN8w2C/hhwmzazGQUAAYqsWbZLGA23EDgHrQG/KhW1TAQtcs6I/lTeqIe9GLesevgOuOlH8b0ghreX4xit1XU5GlriR+d7BP91TzMAR20+Cq+B/SIERrNhnGJyvelhmHZdHM0GvQbBpTfwMXOcquowVQPEUJazmueXe04xMRt3Fr5W/a2moGbmuou25hf4TnvcVEYEmwHlHzevfXFizKkbyGkb3CJ1U3sek6hVxFMsJCPupqd+BXaPoOdS7NZajqYhkQbfQV9BCigSUfB6wHmLqNn3ocv8/eBmMTBHaFHHtB3D3tdJV0tuOvEc87aVBpR9eN32YgNJInC8dCuRw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=M7h3GAeIVoF8R6NhKs6V/hbSBi2q6AzsgufHFYxx4qc=; b=Du+APegMKvagQphRVDzq4SCld29joarzSjV2GMnUNQAyu96aOhSt/twRj84JOocE0LZPksqYp0y3kVus4rtfYMAZHnHIdFe54R3ANAguDqFfvdbX0am2gErho1bgbjMQMhZ5ai9ZzWY9fpH66GM4W79KqwaWtc/9FGOnOmeJC6gqqVyiG6XJt9c4+ysJQdwG9YJUTRWoAOVB00KnFdrvjK2bBhWVUlz2UYjg3Q52Z8FjdgdU9P/F6Rk4QCNJ+gYvmxw61opdG/2Cuw3Hh0hRlkuVeCJol9Q+x0I/MT/YqXiT+wdNf6moyIhTXmip7rhMYqfhr8Uo8hLDAK+agMMXUQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Received: from MW4PR11MB5911.namprd11.prod.outlook.com (2603:10b6:303:16b::16) by PH8PR11MB7095.namprd11.prod.outlook.com (2603:10b6:510:215::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6977.29; Tue, 14 Nov 2023 08:56:34 +0000 Received: from MW4PR11MB5911.namprd11.prod.outlook.com ([fe80::1fd1:3b4:a549:c966]) by MW4PR11MB5911.namprd11.prod.outlook.com ([fe80::1fd1:3b4:a549:c966%7]) with mapi id 15.20.6977.029; Tue, 14 Nov 2023 08:56:34 +0000 From: "Kundapura, Ganapati" To: dpdk-dev Subject: l3fwd build errors in debug DPDK build with RTE_LOG_DP_LEVEL=RTE_LOG_DEBUG Thread-Topic: l3fwd build errors in debug DPDK build with RTE_LOG_DP_LEVEL=RTE_LOG_DEBUG Thread-Index: AdoW1lo4n0y205LDSCuE5sVUorCJhQ== Date: Tue, 14 Nov 2023 08:56:34 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: MW4PR11MB5911:EE_|PH8PR11MB7095:EE_ x-ms-office365-filtering-correlation-id: 7243c076-3c12-43af-c352-08dbe4ef9a73 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: Hbh1nHrCxd+XxeOR/svYkI1LgfkpaU1y6R+AT3u3nHAzQd684HqdFdwEv5YVPTEM8CdMaP3A19fIw8cj5zNLg0VM6nhAQkTOaLvCuco2QQQtFuu6Pwzsyzz9CbOUmhdIbkrOcxq82DB40MaYQHy1XJywS1UE8qflRp1Qgm0J6JJ3FlSo390xkY1OrT2E9pBC1r6HOCwnPZ0SrMu0En8ET57O8ePqZL76s9MOC+AVqqEDhkWJ6r2LjRl6I1NlEHS51CAuLfoZUxhnJf1XZamufLLODNu6+i/S5BMFOsIYkIvZlDE+WioavkTUIiM3BE/UTqXlkOJHqWtvYHYRE8uJFWYj/kpOSrlXsKmL6GTnMuNFPq75e1NHZUh87yQa6lMnQd5d3tY7NQStSCC+xG755PsvYYRX89a01v+tNsg0gdT/pHSEQtvTqp/DzqH04DaaLywCchNJYAGukL9p44IlY6Ue7UNX5WGLTO7Oh2EN4iOSbPVIP08QHsonsf4/dAe/xgDkBjW3YugSrSKvAIPhDymqlH+KxVNWPoHHFzZv6xnmv8pdcKaEfJBTDtZlYiz/+Ru4mAVsC0e26YZrTeIQaltNlpiC4y2EEZGp2yCrmIIskL5BIJb1YeHvEhQdKTqagcT/TcrGGUvw9EcZPV0goPVR3DZN7fYzCA/N0+rVCZJeNk4iEO8kMY7jOUziq6Vi x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MW4PR11MB5911.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(136003)(376002)(396003)(39860400002)(346002)(366004)(230922051799003)(230173577357003)(230273577357003)(186009)(1800799009)(64100799003)(451199024)(55236004)(71200400001)(41300700001)(55016003)(33656002)(26005)(6506007)(7696005)(6916009)(478600001)(9686003)(316002)(86362001)(5660300002)(2906002)(122000001)(83380400001)(82960400001)(8936002)(52536014)(8676002)(38070700009)(66946007)(66476007)(66446008)(64756008)(66556008)(76116006)(38100700002)(32563001); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?XuGWGTff0J0Q31gCRsEEKvCMe0NjLvP+UNkoaXR5zKLeLN0s/SPSGzf+D7yN?= =?us-ascii?Q?rWSBSSIW9UZXNpNohYM9cV3uZWVOKIVnttg2+1ceL1JdZ2n6nj5bf8pPtGu/?= =?us-ascii?Q?lOIUxpOtffmvXLe9auQIQ/61dF1fCYImUlCdzihSKiaGWuBuEZQ9AEDFg/kH?= =?us-ascii?Q?rfmBzDF18yenxl9XgZ0iWEGjhYePmmKYCJY4cYWuEf1qggaPy688DvK9sveq?= =?us-ascii?Q?DCK0gxszYJ5sqBlF4cORl83ajlQ01j1SRuapoV64stlJuw05L4uJjhqD0Yli?= =?us-ascii?Q?t7Jl3AEdUht4HZFuTAm8uGdDzvlR2h+uK1lto25nLev0WlQgwPLDXsoUePwa?= =?us-ascii?Q?vYcPQaKGyNEYqOFCitTQ4I8PNwNxSPPD20n7ugQnLhj3ZfIKZDv7x8u89uRn?= =?us-ascii?Q?7ZRNRTlCyPhn17RhGbqyiSScAohw3C5BF7XHRNwO6Zcmv3TMNI7c/EIQLWMt?= =?us-ascii?Q?2Wz9O1bpDXyYdXtvy+w/j0YVXnfq+HpqkZluECtsHnyRY6pR4DDp7eZ1MkTS?= =?us-ascii?Q?lEbIt4aRLD+R2Z3mOl9m8FWYK8Om5QZjhuLiZXgh8cAagTKauT04P7G2M+xa?= =?us-ascii?Q?0NQblGwal9gU37clqoEBFEGFFWDuPCNO+OaY0XX9MBAwGiT2yLzdxPs0nOfa?= =?us-ascii?Q?NUKM9d9zcYn6faPwTh1kiP3zsFqcGU/+Z5RMHf5HIGJFdSDrVU8JbYeKABUv?= =?us-ascii?Q?MKQH7PeO/yLuJy5n95fwS+GVmsh/kg6pWOAdeOfIEylRNAQjkARtpulsWdLZ?= =?us-ascii?Q?lrragx7rLpN9GX3dizHC/EAx2Q882DX9tbk6HclZP0+dWX99IFXk/JGxHLRN?= =?us-ascii?Q?IhzC+2lntlQBHIU+H6cgPjIb0OpSK/LGNHuaDZ9I9eb84DQN70GvsdSbLrZz?= =?us-ascii?Q?xdWEEGk5sRtM7BBVLlusOkbElJ3FdyqjoLs2AxGsvlG+oFTlcUndtY4k83Qg?= =?us-ascii?Q?UKU/Sf+Mr9ae1WseZ/oemgMvw/9nLsNF01qnAaQr4VuHPBjwjUl8p8UItrNp?= =?us-ascii?Q?XKZ+P8O2823dMx+eqQ8dTm6U82d/7C1p6rpyLgrdPr4NaTwuIQswReV+cSaZ?= =?us-ascii?Q?6/U12tPwVmHxTid9F24N4zK3agcPqU6L9tyKtpmAxZA8qw6Vii5fm5MpZNpx?= =?us-ascii?Q?Mdwa7psM+wVCEgLUH3+7R8O1xxeuQzed832aAv1uRJglnG5pkpUbyqPnNmqt?= =?us-ascii?Q?Tq9+c5pzRI11lHpsogBcB69RxpX6DXD3NYqhCEpOoW/JMSiTdlgW8QJpmRMF?= =?us-ascii?Q?Nu/R1QDMU5eDf6UVX7K2K4mfviaPpXiDIXT4BdP6fpuUL00N7GpIQZzcQf5w?= =?us-ascii?Q?kXIk/DZlTDKiwKDYUY520yRCCes9hYGPkIgK6ScJG5LSEQn/6HHrPHWQMLm9?= =?us-ascii?Q?mQbQW2cEQkNX6lt7wjPKVIrP4jZTPSmFgUpAvI4736peTsKd3tV4UdYisP6k?= =?us-ascii?Q?nDr9XpgNY0IiHWR24wRiPvwRzrS3gQQh3KP8MSnW8X2wk3BwyYDCqMYYeKMr?= =?us-ascii?Q?RoCJea1dLk1TueUJ9lU+z68RRdKpxUoQQpSyWz+aNvJWfsn6fQA/zcXTHCpa?= =?us-ascii?Q?la/6w/vFT6j0cAwJak44IREOkh1TUvMCXuzzbvOYSZjQj+2cvVNKGFBJd6d/?= =?us-ascii?Q?MA=3D=3D?= Content-Type: multipart/alternative; boundary="_000_MW4PR11MB5911A22441FBFF055C499D3587B2AMW4PR11MB5911namp_" MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MW4PR11MB5911.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 7243c076-3c12-43af-c352-08dbe4ef9a73 X-MS-Exchange-CrossTenant-originalarrivaltime: 14 Nov 2023 08:56:34.2574 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: HtjZX3FWf1yGs0NI1DSASKaDghrsm2XzdMiJW3bh61w6RH9L4zev2CBviUlYV6EcvFT/QlXKHYufrZXv/X5SloOl9M4VacsWWb4XasLcGAo= X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH8PR11MB7095 X-OriginatorOrg: intel.com 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 --_000_MW4PR11MB5911A22441FBFF055C499D3587B2AMW4PR11MB5911namp_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi DPDK, When DPDK is built in debug mode by setting RTE_LOG_DP_LEVEL=3DRTE_LOG_D= EBUG, l3fwd build fails due to static inline functions dump_acl4_rule(), dump_acl6_rule() defined in l3fwd= _acl.c are called from l3fwd_acl_scalar.h:l3fwd_acl_send_packets() and other typo errors as below. Can I post a patch to fix the below l3fwd build errors? ../../examples/l3fwd/l3fwd_acl_scalar.h: In function 'l3fwd_acl_send_packet= s': ../../examples/l3fwd/l3fwd_acl_scalar.h:96:34: error: invalid operands to b= inary & (have 'uint32_t *' {aka 'unsigned int *'} and 'unsigned int') 96 | if ((res & ACL_DENY_SIGNATURE) !=3D 0) { | ^ ../../examples/l3fwd/l3fwd_acl_scalar.h:98:41: warning: implicit declaratio= n of function 'dump_acl4_rule' [-Wimplicit-function-declaration] 98 | dump_acl4_rule(pkts[i], res= [i]); | ^~~~~~~~~~~~~~ ../../examples/l3fwd/l3fwd_acl_scalar.h:98:41: warning: nested extern decla= ration of 'dump_acl4_rule' [-Wnested-externs] ../../examples/l3fwd/l3fwd_acl_scalar.h:99:62: error: 'pkt' undeclared (fir= st use in this function); did you mean 'pkts'? 99 | else if (RTE_ETH_IS_IPV6_HDR(pkt[i]= ->packet_type)) | ^~~ In file included from ../../examples/l3fwd/l3fwd_acl.c:268: ../../examples/l3fwd/l3fwd_acl_scalar.h:100:41: warning: implicit declarati= on of function 'dump_acl6_rule' [-Wimplicit-function-declaration] 100 | dump_acl6_rule(pkt[i], res[= i]); | ^~~~~~~~~~~~~~ ../../examples/l3fwd/l3fwd_acl_scalar.h:100:41: warning: nested extern decl= aration of 'dump_acl6_rule' [-Wnested-externs] ../../examples/l3fwd/l3fwd_acl.c: At top level: ../../examples/l3fwd/l3fwd_acl.c:870:1: warning: conflicting types for 'dum= p_acl4_rule'; have 'void(struct rte_mbuf *, uint32_t)' {aka 'void(struct rt= e_mbuf *, unsigned int)'} 870 | dump_acl4_rule(struct rte_mbuf *m, uint32_t sig) | ^~~~~~~~~~~~~~ ../../examples/l3fwd/l3fwd_acl.c:870:1: error: static declaration of 'dump_= acl4_rule' follows non-static declaration In file included from ../../examples/l3fwd/l3fwd_acl.c:268: ../../examples/l3fwd/l3fwd_acl_scalar.h:98:41: note: previous implicit decl= aration of 'dump_acl4_rule' with type 'void(struct rte_mbuf *, uint32_t)' {= aka 'void(struct rte_mbuf *, unsigned int)'} 98 | dump_acl4_rule(pkts[i], res= [i]); | ^~~~~~~~~~~~~~ ../../examples/l3fwd/l3fwd_acl.c: In function 'dump_acl4_rule': ../../examples/l3fwd/l3fwd_acl.c:878:61: warning: passing argument 2 of 'in= et_ntop' makes pointer from integer without a cast [-Wint-conversion] 878 | printf("Packet Src:%s ", inet_ntop(AF_INET, ipv4_hdr->src_a= ddr, | ~~~~~~~~^~~~~~~= ~~~ | | | rte_be3= 2_t {aka unsigned int} In file included from ../../lib/net/rte_ip.h:26, from ../../lib/ethdev/rte_flow.h:24, from ../../lib/ethdev/rte_eth_ctrl.h:11, from ../../lib/ethdev/rte_ethdev.h:1492, from ../../examples/l3fwd/l3fwd.h:8, from ../../examples/l3fwd/l3fwd_acl.c:5: /tools/AGRreleases/yocto/snr/snr_h_60c911d4/5.10/tools/sysroots/snr-64-inte= laxxia-linux/usr/include/arpa/inet.h:64:64: note: expected 'const void * re= strict' but argument is of type 'rte_be32_t' {aka 'unsigned int'} 64 | extern const char *inet_ntop (int __af, const void *__restrict __cp= , | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ ../../examples/l3fwd/l3fwd_acl.c:880:54: warning: passing argument 2 of 'in= et_ntop' makes pointer from integer without a cast [-Wint-conversion] 880 | printf("Dst:%s ", inet_ntop(AF_INET, ipv4_hdr->dst_addr, | ~~~~~~~~^~~~~~~~~~ | | | rte_be32_t {ak= a unsigned int} ../../examples/l3fwd/l3fwd_acl.c: In function 'dump_acl6_rule': ../../examples/l3fwd/l3fwd_acl.c:914:39: error: 'struct ' has no= member named 'rule_ipv6' 914 | print_one_ipv6_rule(acl_config.rule_ipv6 + offset, 1); | ^ ../../examples/l3fwd/l3fwd_acl.c: In function 'setup_acl': ../../examples/l3fwd/l3fwd_acl.c:985:19: error: 'struct ' has no= member named 'rule_ipv4' 985 | acl_config.rule_ipv4 =3D (struct acl4_rule *)acl_base_ipv4; | ^ ../../examples/l3fwd/l3fwd_acl.c:986:19: error: 'struct ' has no= member named 'rule_ipv6' 986 | acl_config.rule_ipv6 =3D (struct acl6_rule *)acl_base_ipv6; Thanks, Ganapati --_000_MW4PR11MB5911A22441FBFF055C499D3587B2AMW4PR11MB5911namp_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hi DPDK,

   When DPDK is built in debug mode by set= ting RTE_LOG_DP_LEVEL=3DRTE_LOG_DEBUG, l3fwd build fails due to<= /p>

static inline functions dump_acl4_rule(), dump_acl6_rule() defined in l3fwd_acl.c are called from l= 3fwd_acl_scalar.h:l3fwd_acl_send_packets() and

other typo errors as below.

Can I post a patch to fix the below l= 3fwd build errors?

 

../../examples/l3fwd/l3fwd_acl_scalar.h: In function= 'l3fwd_acl_send_packets':

../../examples/l3fwd/l3fwd_acl_scalar.h:96:34: error= : invalid operands to binary & (have 'uint32_t *' {aka 'unsigned int *'= } and 'unsigned int')

   96 |      = ;            &n= bsp;      if ((res & ACL_DENY_SIGNATURE) !=3D = 0) { 

      |  &nb= sp;            =             &nb= sp;      ^

 

../../examples/l3fwd/l3fwd_acl_scalar.h:98:41: warni= ng: implicit declaration of function 'dump_acl4_rule' [-Wimplicit-function-= declaration]

   98 |      = ;            &n= bsp;            = ;          dump_acl4_rule(pkts= [i], res[i]);

      |   &n= bsp;            = ;            &n= bsp;            ^~~~= ~~~~~~~~~~

../../examples/l3fwd/l3fwd_acl_scalar.h:98:41: warni= ng: nested extern declaration of 'dump_acl4_rule' [-Wnested-externs]

 

../../examples/l3fwd/l3fwd_acl_scalar.h:99:62: error= : 'pkt' undeclared (first use in this function); did you mean 'pkts'?<= /o:p>

   99 |      = ;            &n= bsp;            = ;  else if (RTE_ETH_IS_IPV6_HDR(pkt[i]->packet_type))

      |   &n= bsp;            = ;            &n= bsp;            = ;            &n= bsp;        ^~~

 

In file included from ../../examples/l3fwd/l3fwd_acl= .c:268:

../../examples/l3fwd/l3fwd_acl_scalar.h:100:41: warn= ing: implicit declaration of function 'dump_acl6_rule' [-Wimplicit-function= -declaration]

  100 |      &nbs= p;            &= nbsp;           &nbs= p;         dump_acl6_rule(pkt[i], r= es[i]);

      |   &n= bsp;            = ;            &n= bsp;            ^~~~= ~~~~~~~~~~

../../examples/l3fwd/l3fwd_acl_scalar.h:100:41: warn= ing: nested extern declaration of 'dump_acl6_rule' [-Wnested-externs]<= /o:p>

../../examples/l3fwd/l3fwd_acl.c: At top level:=

../../examples/l3fwd/l3fwd_acl.c:870:1: warning: con= flicting types for 'dump_acl4_rule'; have 'void(struct rte_mbuf *, uint32_t= )' {aka 'void(struct rte_mbuf *, unsigned int)'}

  870 | dump_acl4_rule(struct rte_mbuf *m, uint= 32_t sig)

      | ^~~~~~~~~~~~~~=

../../examples/l3fwd/l3fwd_acl.c:870:1: error: stati= c declaration of 'dump_acl4_rule' follows non-static declaration=

In file included from ../../examples/l3fwd/l3fwd_acl= .c:268:

../../examples/l3fwd/l3fwd_acl_scalar.h:98:41: note:= previous implicit declaration of 'dump_acl4_rule' with type 'void(struct r= te_mbuf *, uint32_t)' {aka 'void(struct rte_mbuf *, unsigned int)'}

   98 |      = ;            &n= bsp;            = ;          dump_acl4_rule(pkts= [i], res[i]);

      |   &n= bsp;            = ;            &n= bsp;            ^~~~= ~~~~~~~~~~

 

../../examples/l3fwd/l3fwd_acl.c: In function 'dump_= acl4_rule':

../../examples/l3fwd/l3fwd_acl.c:878:61: warning: pa= ssing argument 2 of 'inet_ntop' makes pointer from integer without a cast [= -Wint-conversion]

  878 |      &nbs= p;  printf("Packet Src:%s ", inet_ntop(AF_INET, ipv4_hdr->= ;src_addr,

      |   &n= bsp;            = ;            &n= bsp;            = ;            ~~~~~~~= ~^~~~~~~~~~

      |   &n= bsp;            = ;            &n= bsp;            = ;            &n= bsp;       |

      |   &n= bsp;            = ;            &n= bsp;            = ;            &n= bsp;       rte_be32_t {aka unsigned int}=

In file included from ../../lib/net/rte_ip.h:26,

        &nbs= p;        from ../../lib/ethdev/rte_flow= .h:24,

        &nbs= p;        from ../../lib/ethdev/rte_eth_= ctrl.h:11,

        &nbs= p;        from ../../lib/ethdev/rte_ethd= ev.h:1492,

        &nbs= p;        from ../../examples/l3fwd/l3fw= d.h:8,

        &nbs= p;        from ../../examples/l3fwd/l3fw= d_acl.c:5:

/tools/AGRreleases/yocto/snr/snr_h_60c911d4/5.10/too= ls/sysroots/snr-64-intelaxxia-linux/usr/include/arpa/inet.h:64:64: note: ex= pected 'const void * restrict' but argument is of type 'rte_be32_t' {aka 'u= nsigned int'}

   64 | extern const char *inet_ntop (int = __af, const void *__restrict __cp,

      |   &n= bsp;            = ;            &n= bsp;            ~~~~= ~~~~~~~~~~~~~~~~~~~^~~~

../../examples/l3fwd/l3fwd_acl.c:880:54: warning: pa= ssing argument 2 of 'inet_ntop' makes pointer from integer without a cast [= -Wint-conversion]

  880 |      &nbs= p;  printf("Dst:%s ", inet_ntop(AF_INET, ipv4_hdr->dst_ad= dr,

      |   &n= bsp;            = ;            &n= bsp;            = ;     ~~~~~~~~^~~~~~~~~~

      |   &n= bsp;            = ;            &n= bsp;            = ;             |=

      |   &n= bsp;            = ;            &n= bsp;            = ;             r= te_be32_t {aka unsigned int}

 

 

../../examples/l3fwd/l3fwd_acl.c: In function 'dump_= acl6_rule':

../../examples/l3fwd/l3fwd_acl.c:914:39: error: 'str= uct <anonymous>' has no member named 'rule_ipv6'

  914 |      &nbs= p;  print_one_ipv6_rule(acl_config.rule_ipv6 + offset, 1);<= /p>

      |   &n= bsp;            = ;            &n= bsp;          ^

../../examples/l3fwd/l3fwd_acl.c: In function 'setup= _acl':

../../examples/l3fwd/l3fwd_acl.c:985:19: error: 'str= uct <anonymous>' has no member named 'rule_ipv4'

  985 |      &nbs= p;  acl_config.rule_ipv4 =3D (struct acl4_rule *)acl_base_ipv4;

      |   &n= bsp;            = ;   ^

../../examples/l3fwd/l3fwd_acl.c:986:19: error: 'str= uct <anonymous>' has no member named 'rule_ipv6'

  986 |      &nbs= p;  acl_config.rule_ipv6 =3D (struct acl6_rule *)acl_base_ipv6;

 

Thanks,

Ganapati

--_000_MW4PR11MB5911A22441FBFF055C499D3587B2AMW4PR11MB5911namp_--