From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id 7A1AAA00E6 for ; Wed, 17 Apr 2019 15:01:12 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 373D81B607; Wed, 17 Apr 2019 15:01:11 +0200 (CEST) Received: from EUR03-AM5-obe.outbound.protection.outlook.com (mail-eopbgr30049.outbound.protection.outlook.com [40.107.3.49]) by dpdk.org (Postfix) with ESMTP id 2FBE91B5FE; Wed, 17 Apr 2019 15:01:09 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=thBLR8hmzrz21Gldcu8/DRdWP2kF6YC9tCXzZJn/lxg=; b=OmHmrGpzE46N9hzhTgHeGJe1MG4JH9Q5+cEgh8IwFY2XCZ7XuZmQB5j2iweUtkMao0QydtPMWOZJzMDNGfsgjl92w2zBzgDjotovvmnoy+DVEeME1xWhEQIuHngRTs24VeSbsLeYCmfJj4YuvpYEFTm+S6rEIs7r/STygMJJapk= Received: from VI1PR04MB4893.eurprd04.prod.outlook.com (20.177.49.154) by VI1PR04MB4206.eurprd04.prod.outlook.com (52.134.30.159) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1792.18; Wed, 17 Apr 2019 13:01:07 +0000 Received: from VI1PR04MB4893.eurprd04.prod.outlook.com ([fe80::98b0:84a6:1c08:57c7]) by VI1PR04MB4893.eurprd04.prod.outlook.com ([fe80::98b0:84a6:1c08:57c7%3]) with mapi id 15.20.1792.021; Wed, 17 Apr 2019 13:01:07 +0000 From: Akhil Goyal To: "Iremonger, Bernard" , "dev@dpdk.org" , "Ananyev, Konstantin" CC: "stable@dpdk.org" Thread-Topic: [EXT] RE: [PATCH v3 1/2] examples/ipsec-secgw: fix 1st packet dropped for inline crypto Thread-Index: AQHU6upJFZ9bJSR6jk6jYFkHNfg+IaZAUDWAgAATI4CAAAHC4A== Date: Wed, 17 Apr 2019 13:01:07 +0000 Message-ID: References: <1551970666-23557-1-git-send-email-bernard.iremonger@intel.com> <1554384495-7936-2-git-send-email-bernard.iremonger@intel.com> <8CEF83825BEC744B83065625E567D7C260D89D9F@IRSMSX108.ger.corp.intel.com> In-Reply-To: <8CEF83825BEC744B83065625E567D7C260D89D9F@IRSMSX108.ger.corp.intel.com> Accept-Language: en-IN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=akhil.goyal@nxp.com; x-originating-ip: [92.120.1.65] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: afb8d6cf-dda1-4393-b85b-08d6c334c1b3 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(5600140)(711020)(4605104)(4618075)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7193020); SRVR:VI1PR04MB4206; x-ms-traffictypediagnostic: VI1PR04MB4206: x-microsoft-antispam-prvs: x-forefront-prvs: 0010D93EFE x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(136003)(39860400002)(366004)(396003)(376002)(346002)(199004)(189003)(476003)(86362001)(71200400001)(53936002)(316002)(110136005)(8936002)(71190400001)(93886005)(446003)(97736004)(81166006)(11346002)(486006)(6436002)(229853002)(7696005)(26005)(106356001)(99286004)(105586002)(55016002)(44832011)(25786009)(3846002)(66066001)(74316002)(14454004)(2501003)(33656002)(9686003)(256004)(2906002)(81156014)(102836004)(4326008)(5660300002)(6116002)(305945005)(52536014)(4744005)(478600001)(76176011)(186003)(7736002)(68736007)(6246003)(8676002)(6506007); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR04MB4206; H:VI1PR04MB4893.eurprd04.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: 10S56d8lFC6z5d+39QlEbGoMDtDinL+ZuVj7eYMxh5/q80FYwE1cwqRx+WJcG6NKo8vkqWiNtwZWi6E4pqhiBK+8s9MOXlwyHmOnTi+/P499MomPebo2AOA32rIKKZTpQAxtsm5URg5Zq66i1m5aUmaSc7kSbDHW3vaeMwYZdh11dVNL1qmkd2VgUUmuVL8pszkBa/8F0icI34jzMtx+/leCUa5dTliYzMY1Sl4jXsXEARkvo+5zfKvnpLkxae64h8RG0RSpfe5TL2EVpRP/pjvpgrBg4LwWLJLr4TNFlJCVS49VHq6AI/ZyOUwHR7FK8cd3A35gvDh72yFAwz0ZTZmLOKHjbJasrtjdRc2w8OV7dx+L4lvujG+Ihp+08J7fqkegSh5rd4/cHBmnAgLpXS9caoGoc9U3IUizsptAu6Y= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: afb8d6cf-dda1-4393-b85b-08d6c334c1b3 X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Apr 2019 13:01:07.4009 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB4206 Subject: Re: [dpdk-dev] [EXT] RE: [PATCH v3 1/2] examples/ipsec-secgw: fix 1st packet dropped for inline crypto X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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" Message-ID: <20190417130107.RI99XNfPa5Z0U21dGlNiFfV_QEBn_h5JEwzAT3XHl18@z> > > > + rte_eth_dev_rss_hash_conf_get(sa->portid, > > > + &rss_conf); > > > + for (i =3D 0, j =3D 0; i < eth_dev->data->nb_rx_q= ueues; > > > + ++i) > > > + if (eth_dev->data->rx_queues[i]) > > > + queue[j++] =3D i; > > Compilation error > > > > /home/akhil/up/dpdk-next-crypto/examples/ipsec-secgw/ipsec.c: In > > function 'create_sec_session': > > /home/akhil/up/dpdk-next-crypto/examples/ipsec-secgw/ipsec.c:169:4: > > error: this 'for' clause does not guard... [-Werror=3Dmisleading-indent= ation] > > for (i =3D 0, j =3D 0; i < eth_dev->data->nb_rx_queues; > > ^~~ > > /home/akhil/up/dpdk-next-crypto/examples/ipsec-secgw/ipsec.c:173:5: > > note: ...this statement, but the latter is misleadingly indented as if = it is > > guarded by the 'for' > > action_rss =3D (struct rte_flow_action_rss){ > > ^~~~~~~~~~ > > > >=20 > I will send a v4. > What compiler are you using? Cross compile for arm gcc-linaro-6.1.1-2016.08-x86_64_aarch64-linux-gnu >=20 > Regards, >=20 > Bernard. >=20