Message ID | 20240806034120.3165295-1-g.singh@nxp.com (mailing list archive) |
---|---|
Headers |
Return-Path: <dev-bounces@dpdk.org> X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id E44244571F; Tue, 6 Aug 2024 05:41:39 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 90DE1402A1; Tue, 6 Aug 2024 05:41:39 +0200 (CEST) Received: from DU2PR03CU002.outbound.protection.outlook.com (mail-northeuropeazon11012006.outbound.protection.outlook.com [52.101.66.6]) by mails.dpdk.org (Postfix) with ESMTP id 7C5D640295 for <dev@dpdk.org>; Tue, 6 Aug 2024 05:41:38 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=FYbw42Jt8kOS07vOS3ak4ty7M7RKU51BdxNLYIdKa9Xxmay82U0O9tA2NjkHQF9uD98e20ch94jZjHrxCF7kIVbxoC/ZEfr4J+ckkR4nlDj9okWM53m64O8E7fwVl+53fvHhZLtjrJ283aFXKLnMaba7kphLs1x7OyI+1iClky6H9Qbqh6W6p1K3wkNc6zUpPzbKg7huNDyZ9oJs/xGcQWmF/Yf0La/QkOSA7ISqWK5Sii3MAcp7bzKH4Ginuj6l9buJNV34AM1D/9gT4IW7hRw6vPKBYvto6y2uq6uomyH3/pfRy+4ZuyUqxM/lIoA5pgV7MPxEZrU5gjEPnjU+fQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=kBwkxb/ViVlIf0edBsoM/uDr5+YMA7vVn+lz5WG12N8=; b=Lgo8N4pizZhtruhaHmlt1cuw2U+EW+j/OgrR1/Vlz3bxSmm8icmMYSROaONwg96ivNvhj+KpgOHlQrxzVfW8xfbGBsU7uzQXc6ntI0ytmqFu63958DBT9T+NJQihIhOXhLXrMbvUeqi8g8r19TznaYvt/PHmIcRSahtj3sDKA3kSy8l9sBcrczywgCZP0rM3OFWTw+qSNpNyckfocNgtXWq/ta3k14MwwOOTFg3tp1Di0cm/2S5OUAW9Azqw+nk/YSIqcPy3P4Wq0RwrhAEEE3Jm+wSSh9HL66Lch6aj32dZ+jm/OjTmCkWC8ki6q/a/ALbiB0frRGysIjrbIZlgiA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none 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=kBwkxb/ViVlIf0edBsoM/uDr5+YMA7vVn+lz5WG12N8=; b=ZIy+G1W9al0DUpossO/RNL4Xf6kFwkJTBxnQ89eJI6binM9AfEtMqf9Sw//GH/sH9JRST76f4NWhmOAWUzlwzskppywYxA83jIo0HRIllZfU0ii4e528+9+4oN9GtcD2Y9TcBnVH0iVhrsHAij5M+PQewqKWVPvf3fnSjnNOjxVCWSmAR+kfjTAuMtJg61SKh9evL/oba1tgVnln0bEND61PoUX2MvckCHPrsRVeq9q1OmGIGxMGO/n4w+b/aaynHoKV7Kk5hBxenVSgLlIsyGPQyBfTap7XzX0LIE6m2l8rixruozvAhtdJjBlvKBcIl31LZ/IOw6seSuvgBO8CTg== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from PAXPR04MB8205.eurprd04.prod.outlook.com (2603:10a6:102:1c2::20) by AS8PR04MB8387.eurprd04.prod.outlook.com (2603:10a6:20b:3f7::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7849.11; Tue, 6 Aug 2024 03:41:36 +0000 Received: from PAXPR04MB8205.eurprd04.prod.outlook.com ([fe80::7633:884d:5973:174f]) by PAXPR04MB8205.eurprd04.prod.outlook.com ([fe80::7633:884d:5973:174f%7]) with mapi id 15.20.7828.023; Tue, 6 Aug 2024 03:41:36 +0000 From: Gagandeep Singh <g.singh@nxp.com> To: dev@dpdk.org Subject: [v2 0/3] L3fwd changes Date: Tue, 6 Aug 2024 09:11:17 +0530 Message-Id: <20240806034120.3165295-1-g.singh@nxp.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240715101458.645014-1-g.singh@nxp.com> References: <20240715101458.645014-1-g.singh@nxp.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: SG2PR02CA0112.apcprd02.prod.outlook.com (2603:1096:4:92::28) To PAXPR04MB8205.eurprd04.prod.outlook.com (2603:10a6:102:1c2::20) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB8205:EE_|AS8PR04MB8387:EE_ X-MS-Office365-Filtering-Correlation-Id: cb2fca71-fe6d-4733-ac39-08dcb5c9abf7 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|1800799024|52116014|376014|366016|38350700014; X-Microsoft-Antispam-Message-Info: 4V3hvIwEWrULdDZ5DU8/mTAVtlF0C5Fo2/CJvf3ml/mQk3gM2YQ6/wA2F2i8tgnTnpOCangE9Hxbzi6gPqumbezJWBhvTImmdjqKOwcFpRKOQYS4jyAI9XGOq1auVEeUZLfIy+3DBlAkzWHjUUgBy4ijVwwQj+ezm5FM6kyF+WEb+F7KBvXvL9Hx52dLScLUiGJI6hLcMT/F1G26an9cVz32ZlIwX+vurwaDxzj3pisONKjJ7o9isguWl5GyrB/lLuJZXcH/NMJ+v2Ky4GHQfMBo+e3XD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79PDKANzaAgHmjIpdyfuyUmK4kvqdo86/9Y2bpLQXxpgIAJ2A== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PAXPR04MB8205.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230040)(1800799024)(52116014)(376014)(366016)(38350700014); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: ZTpPUCZZu9BJjb3okt+3cp82uUXKcCnHMOfIMP6UfGciCA3plHarc/UT5l4zsJF/sJqSQPhy75LqoNT5zS15oghEb0UDzNKacufepc+ADe6T/PJw3RbSFcbsKLOgjledfmfI2NRm+Xfzh8Adx1urWkM68VRhB0cRXXd1iY5YmiAIhdx7EFW33gTv8177MHmBypvZxwm7DEOiH38p2qAvBRWQFMMLyls2/COJh55QuOurNarhE/GxhQkOv2aUW2AmDYifblMxaqcqoFtRXnqqUl74AmoU3WtfXVV6HIjDkOoBl4WrLCICRePd4/N6Zjsfz2SPf9XnZbdp+HKMBcDvb1tAdF0MkqyYRJ0mroz886MNtMSM0B5G1GL5IUyHgsoPZ9aMhtDEpcbgdiMamzz6M4GLtp2mWj56rrYR+3VRBtopB9Yk6e/XRu8la+YJ12DzuTEw4CLeSkAn6Q4wGmUs2QtLqse6gGwwZ5GQWXwICkTJ6ETRRUUHksxwIkpUoOoM5/FXUC2wAxz5wpY9qcoHbaIsSfSHWTaHenBxTU7B7mREcQDIweSQqVr59Vs3XbXAMITaXRd/L/xG5R5W7YaP7n0F0etifBPZ9TGwgtnoEXODJLsf098lG/tqea48hazFD6y/ovyhM7D0QkXMyzO8CXumNig4oneWGnqSJT8DsVUn/yHQWQdMflGnIyaXJpyt7fb8LV0ikhThNd1V7NexQ+gq+5579q1bgEMx5trvBglyJpbMpZTNGyX6UGjN2V1SK7i/HlLH77FhuIINygzEqHiiQSEmw+boNhazuFg/+ZeNwgivFCXduzbXjaswCoQt1S8oxGEv7gXrcplfcDOTsHavkvlr4BGxcrdv+Uc+SAlzg8YrFvVK8WoALmrIvwYu9AmlzXuDmTsTzeipEkCRhG7d/d0zLX5KdYvnvrqQH75k/xWOhzMrRE6mBhcuII0thzu7WPIQBm/HFL4GtyzySw5KZzVx8jwhpkNOyw/5dOaxApcZIVe83pWGXuJd//mG07UpKaGODog09KAxt2Bk9UGxbPfyR8yTzV4bdLnsvfWMfS5F49O8q80OHUvIKku8e64RQgwI4J4HkmwGNddFNTap9HPCk4EfK+eSPaYTj1U1UnKx6clJtkW1Q2jAMhLGOMCW2xALBtgyyQDE5dW/GoL+X36hTzPTMvOhz1EKG2SqEdKDPA8gGjqfWb/KVYKZQRuDuCAiajm3JI2Fcw53FSA4/xPSBEyYT0dhdcX3GYzqgIxfp8cxzQgdeuBAUVEEkf+8m8ImWX6RqTIosj94dqv1mBidkQm8Q/+rZu6PITB11UEIST2XAM/mi2GZO9WFjMJgOxbPFepiFulkSGRM0Sg2QMiuZupMcqRyfL/vJU146Zz0fsG0afDj/QHcdkp9N5dBMFxsr03VGF3Ek+hY8dyB9MKih5yU/Nl1zYysINJk+eeTZ8QEMiMWVUeFJfV+K08j+M4/91PdBYUfQJjgFRc5frVstQZrO5Yslb81N6v+NTLx53tJHF1277SVLz+DaEBftB72To5LisvVWhdOdHYLoxzsNGwqyyumb3I6+Aw= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: cb2fca71-fe6d-4733-ac39-08dcb5c9abf7 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB8205.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Aug 2024 03:41:36.2432 (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-CrossTenant-UserPrincipalName: BEa3QYzkr+l6ViyzDJutuXSR57shNQPzRg2i+mYc1f3yTpvtbaKvy7/st4qNwYcZ X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB8387 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions <dev.dpdk.org> List-Unsubscribe: <https://mails.dpdk.org/options/dev>, <mailto:dev-request@dpdk.org?subject=unsubscribe> List-Archive: <http://mails.dpdk.org/archives/dev/> List-Post: <mailto:dev@dpdk.org> List-Help: <mailto:dev-request@dpdk.org?subject=help> List-Subscribe: <https://mails.dpdk.org/listinfo/dev>, <mailto:dev-request@dpdk.org?subject=subscribe> Errors-To: dev-bounces@dpdk.org |
Series | L3fwd changes | |
Message
Gagandeep Singh
Aug. 6, 2024, 3:41 a.m. UTC
v2 changes: * Handled a comment to enhance the invalid port ID logic and added a user option to decide exit or silently skip in case invalid port in the rules list. Gagandeep Singh (3): examples/l3fwd: support single route file examples/l3fwd: fix return value on rules add examples/l3fwd: enhance valid ports checking examples/l3fwd/em_route_parse.c | 33 ++++++++++-------- examples/l3fwd/l3fwd.h | 16 +++++++++ examples/l3fwd/l3fwd_em.c | 22 ++++++++---- examples/l3fwd/l3fwd_fib.c | 26 +++++++++----- examples/l3fwd/l3fwd_lpm.c | 26 +++++++++----- examples/l3fwd/l3fwd_route.h | 2 ++ examples/l3fwd/lpm_route_parse.c | 28 ++++++++------- examples/l3fwd/main.c | 60 ++++++++++++++++++++++++++------ 8 files changed, 154 insertions(+), 59 deletions(-)