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 C82BF42B1C; Tue, 16 May 2023 06:16:31 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5672E40C35; Tue, 16 May 2023 06:16:31 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id B67B840A7A for ; Tue, 16 May 2023 06:16:29 +0200 (CEST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 34FL5YSN021183; Mon, 15 May 2023 21:16:28 -0700 Received: from nam12-mw2-obe.outbound.protection.outlook.com (mail-mw2nam12lp2041.outbound.protection.outlook.com [104.47.66.41]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3qkvbmhehd-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 15 May 2023 21:16:28 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=FnWXHro3Lg6Eetjq0IJAcBUQcKpGJux+xI1RTEIaI6ETGOfFolr2iHuG2BFX7qkdw8KL83CYy+UahXnjZGbcI7yZTF9QP4869OKJD4skUr1+XY+bTUeriaiI3huO1oQ1nO5jaWanBvTW8L8oSnBPiUE75tbhrT9bHAg7pOU1Gw9EuEhIq5G4YvQiFC2NJw0n9fCZFroUtdoVMZXbcU85KNATxkcjEGhMtwmnJ7k5sqG8DsP2oK4UUMYLeQw0ZzrTOYNf3e+As1KmfMi3k8QeNFvmbN+Tg8rRaGP2q6c8rtqJBlcy/TQ1iQJQSucFEuqpZeDmVq3pxW6s2sx7LmtB0Q== 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=kUS/u6KG9MZky0bg4reuTkDNAOfc6uJsHTge7y7G+xc=; b=cPQQETmWU/prSDhKrZzUioK7ZOn6Wzq4d+RZ9MQmprTkLcoFKUSyCUHoFx2Li94xKcNM9xzfIfDE/JbnyEx8egqMxHcOk9S4gVvnsuys2ztOTzpLgcx6ONwT7+dpjoBN2kAuRTM/iElIGik02vhpIYEwPCHBqDRzTkkroPsi9riw12yQa954otWindQw1L5nam1C4zOLs16lmIWd6LR8IvsDgx49Z7refgbePZLVIB1PyuM1Ph2WeG4y29IDv+3vXDFpsDqcd/Hyzmd6pB2VZiP/ku7wq9ea3AY8wmvBnb/4VVDsK0uQnzM72UB3LPAM2yrzG4Ike73OTP9xlnsmcg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=marvell.com; dmarc=pass action=none header.from=marvell.com; dkim=pass header.d=marvell.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.onmicrosoft.com; s=selector1-marvell-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=kUS/u6KG9MZky0bg4reuTkDNAOfc6uJsHTge7y7G+xc=; b=kkJr2dDP43b2e7BIzN1h4Eg+gys5NBFYHaZk1hKYrBaHEERYIAC9/9/pzOfwv+cRJGvDWr12r4cl6s0bWn/E251xMR/2U/Otx8tyIBUDTNClywjSmJ+iFeQGlIEf+1m6nAwy8smnsHb1FVzMcpLxZoEvJ4J4vkgC3YIYWPQa7Pg= Received: from CO6PR18MB3844.namprd18.prod.outlook.com (2603:10b6:5:340::7) by PH0PR18MB4474.namprd18.prod.outlook.com (2603:10b6:510:ea::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6387.30; Tue, 16 May 2023 04:16:24 +0000 Received: from CO6PR18MB3844.namprd18.prod.outlook.com ([fe80::98e4:cac9:95a6:ad04]) by CO6PR18MB3844.namprd18.prod.outlook.com ([fe80::98e4:cac9:95a6:ad04%6]) with mapi id 15.20.6387.033; Tue, 16 May 2023 04:16:24 +0000 From: Rahul Bhansali To: "dev@dpdk.org" , Radu Nicolau , Akhil Goyal Subject: RE: [PATCH] examples/ipsec-secgw: fix zero address in ethernet header Thread-Topic: [PATCH] examples/ipsec-secgw: fix zero address in ethernet header Thread-Index: AQHZYu/aPyMJkGLhL02KQ7Oa3gP50K9bcvzQ Date: Tue, 16 May 2023 04:16:24 +0000 Message-ID: References: <20230330100907.2186135-1-rbhansali@marvell.com> In-Reply-To: <20230330100907.2186135-1-rbhansali@marvell.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-dg-ref: =?us-ascii?Q?PG1ldGE+PGF0IG5tPSJib2R5LnR4dCIgcD0iYzpcdXNlcnNccmJoYW5zYWxp?= =?us-ascii?Q?XGFwcGRhdGFccm9hbWluZ1wwOWQ4NDliNi0zMmQzLTRhNDAtODVlZS02Yjg0?= =?us-ascii?Q?YmEyOWUzNWJcbXNnc1xtc2ctNjhmZGRiYmQtZjNhMC0xMWVkLTllMWYtOGM4?= =?us-ascii?Q?Y2FhMjAxMGUyXGFtZS10ZXN0XDY4ZmRkYmJmLWYzYTAtMTFlZC05ZTFmLThj?= =?us-ascii?Q?OGNhYTIwMTBlMmJvZHkudHh0IiBzej0iMzU5OCIgdD0iMTMzMjg2ODQxODEw?= =?us-ascii?Q?NDgzMTU3IiBoPSJCWEc5eEE0WnhVNEtaeE50Q0NCSlJmV3E0eGs9IiBpZD0i?= =?us-ascii?Q?IiBibD0iMCIgYm89IjEiIGNpPSJjQUFBQUVSSFUxUlNSVUZOQ2dVQUFNZ01B?= =?us-ascii?Q?QURWOTFncn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VQWN3QjBBSElBYVFCakFIUUFaUUJrQUY4QWJRQmhBSElBZGdCbEFHd0Fi?= =?us-ascii?Q?QUJmQUc4QWNnQmZBR0VBY2dCdEFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFB?= =?us-ascii?Q?QUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUJBQUFBQUFB?= =?us-ascii?Q?QUFBSUFBQUFBQUo0QUFBQnRBR0VBY2dCMkFHVUFiQUJzQUY4QWRBQmxBSElB?= =?us-ascii?Q?YlFCcEFHNEFkUUJ6QUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFB?= =?us-ascii?Q?QUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFB?= =?us-ascii?Q?QUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFB?= =?us-ascii?Q?QUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFFQUFBQUFBQUFBQWdBQUFBQUFuZ0FB?= =?us-ascii?Q?QUcwQVlRQnlBSFlBWlFCc0FHd0FYd0IzQUc4QWNnQmtBQUFBQUFBQUFBQUFB?= =?us-ascii?Q?QUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFB?= =?us-ascii?Q?QUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFB?= =?us-ascii?Q?QUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFB?= x-dg-reffour: QUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBUUFBQUFBQUFBQUNBQUFBQUFBPSIvPjwvbWV0YT4= x-dg-rorf: true x-ms-publictraffictype: Email x-ms-traffictypediagnostic: CO6PR18MB3844:EE_|PH0PR18MB4474:EE_ x-ms-office365-filtering-correlation-id: 59ce5752-6dcf-4cf5-33ed-08db55c44f9e x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 7pHBid9r8Go5BsVNut8VjHl2ITikpAQ3CrwOG/qvxLN3Tm/UZQrT00A4HsN9ateNA/TYPA/pp1ceU4EMzU2dOeBqWh4A23K+Q/Udlt6jwypxCKyV3kGhqNhXQ5sBE0awZzttiNMuHCrU6n43tHeVnOmEgcsw/72RalywrMYpxAnhaFNKI8YvACfqZDkkcJlq8DzRWvijrJhPi4kfR0cPj1ZPCmCDqH3eCV6g3qSJr2XYgAufrS+on61KzajznWOAMpFuOMNZQNVsqE8h3PlQiMoWOKttnKMvysgZugoMkAQk1p7odlgNDW8fJVC02beDMgRc2mN3hMXis51OE6mim3HdrIk3SSDFkH9soo39f70tuw+ibP1j3QE2uqCyDGaALf48qsRwAW5yIP7J1dJ7y4Y26lTYSAdffGkXL1lFJoHOsGih9qVRqaBbZxUkgqMGR9Akn37jgNSOOis3dQ2W6SjD6KFF+EC/fqXMxOBUdJ4heGlnLkJStH2xwMD8RZuiEzALhXrtOz0sjaDfl3or147GrPK67KU90HnBk6kGHWwJBuz8qoaPv9pXLCYrWQ8p3/4XqUSGrOfXjL2ITcz6wuB1Z4tYKVRqG+I61Ggy9pveXyHcuOQVGDu9Yn0Wq2SJ x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CO6PR18MB3844.namprd18.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230028)(4636009)(39860400002)(376002)(396003)(366004)(136003)(346002)(451199021)(64756008)(66946007)(6636002)(66556008)(478600001)(66476007)(76116006)(7696005)(66446008)(86362001)(316002)(110136005)(33656002)(53546011)(186003)(83380400001)(9686003)(6506007)(71200400001)(5660300002)(8936002)(52536014)(8676002)(2906002)(55016003)(38100700002)(41300700001)(38070700005)(122000001); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?WjxWY0ZKboA7fWIGv0CgIDhbv1hWEc7E7PgvMESci1pSqtsWu+WG7cXk/HpA?= =?us-ascii?Q?+Rnu+5boYjykQCEGur2wfjOePI/fJrMsA48JuDE4rNzhSZLwvp6muJlUSvSQ?= =?us-ascii?Q?kwOXw+TeuuNSc0Q63IrcNqKxg0zTOPyDa/89p76CCJpAvmmOSd5TsD/+UB70?= =?us-ascii?Q?kp6FVd89FBpSKQBDhM/AO0jZPyF04wVy8ykZRwxQnCE6djTRq2QWf2/Jn+9u?= =?us-ascii?Q?9YmX24OyjWygOO4VOcHSkZgl7LLedBfIvdHJcIboetfmyCEkqt9bCLJM+AhX?= =?us-ascii?Q?RODTGQFZ33xv4bFLFn9Q9A+HW9UCTJZ/Gw6N4PtP55jE0S95/HKzapmxF6ej?= =?us-ascii?Q?ZX6HnKQ+JbHUiZEWp3/ePFGupbztw1MxAgxjqUTEKv4uCgH9PmknIaqaVYxc?= =?us-ascii?Q?2mVV2MOv3j7WkzwzUjGvK+7KGqxGXknQolCkOCSz7A8zZ0pqg694/00S3M5X?= =?us-ascii?Q?wu/wN8CIANUA0+9kiOv+bostZgTWGPU/9WLWbwiPJVfXJc0R4wexRUfReypw?= =?us-ascii?Q?SrWPyptkTvm8/ImcEXcTksWqHnDVVYeKgpclvdOQjj3pc+vPAPkL5s0nNfvQ?= =?us-ascii?Q?7gRFnnmrCAjXoRgTbgD2l23/wEQfWLPBWbAnkiG6DeP69zcEgNVNpSr5F0hv?= =?us-ascii?Q?4THfLqropU6NqWCTzvrDTBq9pw46aHuuvR+sQy8wKDiVVd6C2dAqzHoVVnlA?= =?us-ascii?Q?pAE7UV9XXB5/DHlCU1XMHJFBKPZx2BUuN05Oe8YVW0gFJohjyc4YMMuXLXta?= =?us-ascii?Q?sU3qHMVMaot/aVdQDuVhqXtP1cvqWkygEmeKP1YgwhmeYpRvNekyly3pCtAc?= =?us-ascii?Q?v66eujju3qRSp5gREzOiuW8q1eFORHhezyTViDDlKDpe4h5UuvNS6O5WmbIf?= =?us-ascii?Q?Pux754LkDXagVGKqJd211t0dt7bTrEL9dxFv1uji9ljN6i/ayqEUzIsRoFxY?= =?us-ascii?Q?TolN5yFfaZBMADvdYwfO94bioSLMAgt2jQicpAlo0/F+OBN0g0gMcI5TKqVG?= =?us-ascii?Q?+i4ntnv+Dfv38kNgREp0t27KlkE3hBffH2CcnVIc8PiEYiUlPCp8+WKXXz6l?= =?us-ascii?Q?Cm6hjY9yy8F7HRGPCVJEc76YdwmP2PDql0YPpFnZ1P4IMHHBOFqJRaMyhW5Y?= =?us-ascii?Q?zAUUz1JMwikzSOrUrmF4lBb+ZWj1sJj6DW8odrf+eFQaJKW0+INOE3Z3XOPS?= =?us-ascii?Q?dAY6S2BRS+sGRp+XOYKZYVjK3ruYUManJykGv968ib4IJNb73A6pBbO8lYdM?= =?us-ascii?Q?U+IabOI//1/ZGAQdP/zRRpePm9Iuo9C2aXtIoUNqkt9r7i68l9w/L7/Tc91D?= =?us-ascii?Q?CsTad6roEEvIJIztpWmIq4PrIqXaOhZD+5FAkeLM2BMIe56Nh1zuiACar6P6?= =?us-ascii?Q?VdZ9KclUpYBrSfnKUhwFzo5rSdc07I/gj+GWI/MI0P82aa+AGTbVDdjGFFsP?= =?us-ascii?Q?KazvyI+d7L4Gne32JbZhMFyqZv4/6BHRrLakLw5EujmVGUGe9JS/HeaiJKu6?= =?us-ascii?Q?O3/kwYS1uW6TG57SZGjJV0Bg9EuognUIZgbOhE3Fa8gEA1ER5LsWhID9u31r?= =?us-ascii?Q?vQe6N4VNtzBePLgSVSGM2Av52zP8cRVny6P2Nmf2xADq6UrHMX3nwCbi/YKf?= =?us-ascii?Q?/A5csMM6UlA3UcGBs+K797HFb2V/zMhhv2xNCXCSqlmj?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: marvell.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: CO6PR18MB3844.namprd18.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 59ce5752-6dcf-4cf5-33ed-08db55c44f9e X-MS-Exchange-CrossTenant-originalarrivaltime: 16 May 2023 04:16:24.0699 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 70e1fb47-1155-421d-87fc-2e58f638b6e0 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: cgc5XziOOP+kfFEdPwdraVPH50ZTTRLVgpwfBKqVDPc82l5V8ve+IfSgmEwdYKDpBry2cAgxoSJckL1Dl4ApnQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR18MB4474 X-Proofpoint-GUID: g2gsrrL7ppXYoJLz-8Jh8CfCkqDz4Wov X-Proofpoint-ORIG-GUID: g2gsrrL7ppXYoJLz-8Jh8CfCkqDz4Wov X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-05-15_21,2023-05-05_01,2023-02-09_01 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 Ping. > -----Original Message----- > From: Rahul Bhansali > Sent: Thursday, March 30, 2023 3:39 PM > To: dev@dpdk.org; Radu Nicolau ; Akhil Goyal > > Cc: Rahul Bhansali > Subject: [PATCH] examples/ipsec-secgw: fix zero address in ethernet heade= r >=20 > During port init, src address stored in ethaddr_tbl is typecast which vio= lates the > stric-aliasing rule and not reflecting the updated source address in proc= essed > packets too. >=20 > Fixes: 6eb3ba0399 ("examples/ipsec-secgw: support poll mode NEON LPM > lookup") >=20 > Signed-off-by: Rahul Bhansali > --- > examples/ipsec-secgw/ipsec-secgw.c | 20 ++++++++++---------- > examples/ipsec-secgw/ipsec-secgw.h | 2 +- > 2 files changed, 11 insertions(+), 11 deletions(-) >=20 > diff --git a/examples/ipsec-secgw/ipsec-secgw.c b/examples/ipsec- > secgw/ipsec-secgw.c > index d2d9d85b4a..029749e522 100644 > --- a/examples/ipsec-secgw/ipsec-secgw.c > +++ b/examples/ipsec-secgw/ipsec-secgw.c > @@ -99,10 +99,10 @@ uint32_t qp_desc_nb =3D 2048; > #define MTU_TO_FRAMELEN(x) ((x) + RTE_ETHER_HDR_LEN + > RTE_ETHER_CRC_LEN) >=20 > struct ethaddr_info ethaddr_tbl[RTE_MAX_ETHPORTS] =3D { > - { 0, ETHADDR(0x00, 0x16, 0x3e, 0x7e, 0x94, 0x9a) }, > - { 0, ETHADDR(0x00, 0x16, 0x3e, 0x22, 0xa1, 0xd9) }, > - { 0, ETHADDR(0x00, 0x16, 0x3e, 0x08, 0x69, 0x26) }, > - { 0, ETHADDR(0x00, 0x16, 0x3e, 0x49, 0x9e, 0xdd) } > + { {{0}}, {{0x00, 0x16, 0x3e, 0x7e, 0x94, 0x9a}} }, > + { {{0}}, {{0x00, 0x16, 0x3e, 0x22, 0xa1, 0xd9}} }, > + { {{0}}, {{0x00, 0x16, 0x3e, 0x08, 0x69, 0x26}} }, > + { {{0}}, {{0x00, 0x16, 0x3e, 0x49, 0x9e, 0xdd}} } > }; >=20 > struct offloads tx_offloads; > @@ -1427,9 +1427,8 @@ add_dst_ethaddr(uint16_t port, const struct > rte_ether_addr *addr) > if (port >=3D RTE_DIM(ethaddr_tbl)) > return -EINVAL; >=20 > - ethaddr_tbl[port].dst =3D ETHADDR_TO_UINT64(addr); > - rte_ether_addr_copy((struct rte_ether_addr *)ðaddr_tbl[port].dst, > - (struct rte_ether_addr *)(val_eth + port)); > + rte_ether_addr_copy(addr, ðaddr_tbl[port].dst); > + rte_ether_addr_copy(addr, (struct rte_ether_addr *)(val_eth + port)); > return 0; > } >=20 > @@ -1907,11 +1906,12 @@ port_init(uint16_t portid, uint64_t req_rx_offloa= ds, > uint64_t req_tx_offloads, > "Error getting MAC address (port %u): %s\n", > portid, rte_strerror(-ret)); >=20 > - ethaddr_tbl[portid].src =3D ETHADDR_TO_UINT64(ðaddr); > + rte_ether_addr_copy(ðaddr, ðaddr_tbl[portid].src); >=20 > - rte_ether_addr_copy((struct rte_ether_addr *)ðaddr_tbl[portid].dst, > + rte_ether_addr_copy(ðaddr_tbl[portid].dst, > (struct rte_ether_addr *)(val_eth + portid)); > - rte_ether_addr_copy((struct rte_ether_addr *)ðaddr_tbl[portid].src, > + > + rte_ether_addr_copy(ðaddr_tbl[portid].src, > (struct rte_ether_addr *)(val_eth + portid) + 1); >=20 > print_ethaddr("Address: ", ðaddr); > diff --git a/examples/ipsec-secgw/ipsec-secgw.h b/examples/ipsec- > secgw/ipsec-secgw.h > index 0e0012d058..53665adf03 100644 > --- a/examples/ipsec-secgw/ipsec-secgw.h > +++ b/examples/ipsec-secgw/ipsec-secgw.h > @@ -84,7 +84,7 @@ struct ipsec_traffic_nb { >=20 > /* port/source ethernet addr and destination ethernet addr */ struct > ethaddr_info { > - uint64_t src, dst; > + struct rte_ether_addr src, dst; > }; >=20 > struct ipsec_spd_stats { > -- > 2.25.1