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 8B9D7433B5; Fri, 24 Nov 2023 08:46:03 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7203B42F69; Fri, 24 Nov 2023 08:46:03 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id 639D342F31 for ; Fri, 24 Nov 2023 08:46:01 +0100 (CET) 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 3AO5QDVG021284 for ; Thu, 23 Nov 2023 23:46:00 -0800 Received: from nam11-co1-obe.outbound.protection.outlook.com (mail-co1nam11lp2169.outbound.protection.outlook.com [104.47.56.169]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3uj7ykt84k-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Thu, 23 Nov 2023 23:46:00 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=CAPsw0eDX4fKPv7YKPZmrbpqRZQqQL/ltOE/eoEUdtn7QPMWAIxgn5OdmJfgXqrIyrn2OCNMc4czIzaNvVp+lnhbMj2dZAQSSFURMY0UUeYZKdcInCNlWkl+PSLEQNu81orhzfzqGuUmD8C/4L/WNBBZHm15ndg3MZUz0TnUbnLJgHtzH38DXP30ySdOrUQrxZy7kKzIBO+PtW9DMvvS8c2JojEM9i1ciA3jew+xXHLBUtTEvCC958MoiX7w6P5Ow2Fl5G5Jevnvr4xsVNPcvlyUsN4w/adv5f3QQ1HOUHaxhL2Fz0Jo6XdGWZ+49nxYGZ4hjFfJN1CU/q05Z/l7gQ== 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=BwMFCkpobgZlX8yktdxZaLJdfqIZxpoCX9BSU1/27B8=; b=cks08SeQSWcmqVecNIrRJlJdmOPrH85C8biKLmrF06RwmjCkqiLxSEBShY5KlH312PUva3prtlvR4AifMaZei+XShoUh6oxGJFzjJXyo62rHIcO05QoCm0VyibntS1uZHHcbkdB8YcwsZxlwEcWgb75Ug4Unc0cH3uRUXEdxIV9A1NdnWZHPbQ+YArWLmeAAh0Nl7wlSpYjhpLMPS8mzYSQf5GIdyvSOlYBAY/kkYGIhGidWvYhsxSHZnKUZLTDCWfHYmQYsRVcqlNvdAN/i8GPUcMkQ63Q4Nksrf4D/Vn7kZ9V1isztHdMCMz6KVjfWxTZFU08kTEMgdpTaYo0K9A== 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=BwMFCkpobgZlX8yktdxZaLJdfqIZxpoCX9BSU1/27B8=; b=Nyle4a0BcLwmgh/y56McTJ1DGtZtUdV5WkhiaDrwGWCN4tiHxvWRYOq9F4K/cYpHp+itOgJaFWD+TC0Jk7RBsGoULxmvO/MyrYOxyPdxADObA8hg7bHXw6Uvqumgyo4lB5Hja/dH9naNd6rgyptQH2op9aEQ1jlYGuqe/Ng8BZU= Received: from CO6PR18MB3860.namprd18.prod.outlook.com (2603:10b6:5:34d::12) by BL1PR18MB4341.namprd18.prod.outlook.com (2603:10b6:208:30b::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7025.21; Fri, 24 Nov 2023 07:45:57 +0000 Received: from CO6PR18MB3860.namprd18.prod.outlook.com ([fe80::102c:7050:7665:d46f]) by CO6PR18MB3860.namprd18.prod.outlook.com ([fe80::102c:7050:7665:d46f%3]) with mapi id 15.20.7025.021; Fri, 24 Nov 2023 07:45:56 +0000 From: Sunil Kumar Kori To: Rakesh Kudurumalla , Nithin Kumar Dabilpuram , Pavan Nikhilesh Bhagavatula CC: "dev@dpdk.org" , Jerin Jacob Kollanukkaran , Rakesh Kudurumalla Subject: RE: [EXT] [PATCH 1/2] node: forward packet from ethdev_rx node Thread-Topic: [EXT] [PATCH 1/2] node: forward packet from ethdev_rx node Thread-Index: AQHaHdSO1hWWzzB05ki1TN5n+rBntLCJEvkA Date: Fri, 24 Nov 2023 07:45:56 +0000 Message-ID: References: <20231123061555.469038-1-rkudurumalla@marvell.com> In-Reply-To: <20231123061555.469038-1-rkudurumalla@marvell.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-dg-rorf: true x-dg-ref: =?us-ascii?Q?PG1ldGE+PGF0IG5tPSJib2R5LnR4dCIgcD0iYzpcdXNlcnNcc2tvcmlcYXBw?= =?us-ascii?Q?ZGF0YVxyb2FtaW5nXDA5ZDg0OWI2LTMyZDMtNGE0MC04NWVlLTZiODRiYTI5?= =?us-ascii?Q?ZTM1Ylxtc2dzXG1zZy03ZTNhOTgxMC04YTlkLTExZWUtYjZkNy0zY2UxYTE0?= =?us-ascii?Q?ZTkzZDBcYW1lLXRlc3RcN2UzYTk4MTEtOGE5ZC0xMWVlLWI2ZDctM2NlMWEx?= =?us-ascii?Q?NGU5M2QwYm9keS50eHQiIHN6PSI4NTg2IiB0PSIxMzM0NTI4NTU1MzkyNzA0?= =?us-ascii?Q?ODkiIGg9IklKR0tDRXEyckxRTHBqRGZVdGNnS0drL2wxcz0iIGlkPSI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pBQUFBSWdBQUFBQUFBQUJ0QUdFQWNnQjJBR1VBYkFCc0FG?= =?us-ascii?Q?OEFkd0J2QUhJQVpBQUFBQT09Ii8+PC9tZXRhPg=3D=3D?= x-ms-publictraffictype: Email x-ms-traffictypediagnostic: CO6PR18MB3860:EE_|BL1PR18MB4341:EE_ x-ms-office365-filtering-correlation-id: 28dd4e4f-7708-4d2a-af32-08dbecc164d6 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: lC/1rS4yvzPDRhRoArBpjjOIw0GHFm9pytB76JMOcGOlaawKALoUXzmMvSjkbt98fSDAsfYjC+A1bIto2UDV1+7llGCXtv+L/aw3073X8A7KNgR85tlZ547OeBp2UkjowhgC0KqQy278sMsfstcR4Ujiqhl2GPTWcgODtxrgVepAX9CLaIcKhKG9fkrnKkDgbIMGvE7+IOoUj1HIc8Cr3AIrTds+0GB6LaVSs/FES2tIYfFTwQDXYVc0EoBDjACTvTiSZjcEeEVMUigQuij34vg18JZJfQIiU7tRhFy+wXnvUw9Bk5voJVhzpvn3ct0/PWD/XXMMZYbTmKq1qn5pnwdlE4WZ7CulGW0hSrw/Lea6ZHpykiaf+hjz6I9kxp+98S+igTGlfTvlmIas1C/c3zskzpjC08EatthN5zPU6dSFy6bV/Va096G6B3AN/Lbzr7oI3wfP29YIeQnZgHheMt4mfYpIGWSwv3h0dbCG2BqtNSpIR3ehJr1+vz4TrVhD9gqVr23OYB79BwnnHDSJ8SmkQBxWwVf78LksF9K/PglY32/znoYTigItmcgW6lXVB3Yp8s0XbWniP6rtGbbtYPM5UImb/x5RxQkXOgk28BHHXDj9gTnhUwRSeRnzxCyvPZWzZgmPdIjGQ4vH8KyfgsVmVZRHlvwOTw4bjb7TINY= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CO6PR18MB3860.namprd18.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(366004)(396003)(346002)(376002)(39860400002)(136003)(230273577357003)(230173577357003)(230922051799003)(64100799003)(186009)(451199024)(1800799012)(478600001)(76116006)(7696005)(6506007)(53546011)(38070700009)(71200400001)(8936002)(86362001)(2906002)(41300700001)(110136005)(33656002)(5660300002)(122000001)(66946007)(52536014)(38100700002)(54906003)(64756008)(66446008)(66476007)(66556008)(6636002)(316002)(8676002)(4326008)(107886003)(83380400001)(26005)(55016003)(9686003); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?GapZ/yXLMAExvBQ2jL86jKG7C4nvpDPDCnNBLGwwr+cHH//JxRZOA9HBTboA?= =?us-ascii?Q?skDftKtL+pOrxHi6rFr+tSdmV6uiiLcdzz6hx2l36U/iDTBFf3cAZQKSqlSl?= =?us-ascii?Q?lTSKtdTe70bG3pqOI470iNxuzuYSYBc1hJDmmykL77hxtLDv7SHqDjHRucwb?= =?us-ascii?Q?sid+BDkJvGZCmZKBokDS6K8zf98mPjDNFFxW9Dh40eYE1nqFQyktGjJx22Zc?= =?us-ascii?Q?lStn0JhRqzivxJACbsD6JYo5tZ2+AfiduEQkYlHaKOkAsptDkSHl6BMTgvMG?= =?us-ascii?Q?wyCS5He4oY92MVCDRwLQuXnvWLPhHQgJecahDf+KjSYW/S9yIi8is9SKpU2C?= =?us-ascii?Q?XYsphnTSPziE+4EciK/IDBzKpLK0XLTg1h6M5V7rrDfnQAHh2uePrQwmwLtV?= =?us-ascii?Q?OKtM+dnXdkGVZODHn0oN9CQHtoq3qzf+seN1DuQCjncyKJUCm7T7Jy2WPI3M?= =?us-ascii?Q?Lr+6kkQIPFzboyqJGbr+qveUmP7GK2jTvGySh9kYGWCJXdQEu6RoZhKknKL3?= =?us-ascii?Q?TLHcgaSsbRSfOmFI3bheeI3CisEbxnJ4y+G13R7dcpKVTIGT1Wq96/SZ+Kuf?= =?us-ascii?Q?r5aTmWPU2oF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d?= =?us-ascii?Q?U5g3/YjEESSjbCafxloU6T2xvUniFynq/ZMuttm/llfX76QTTPo27Iayc+np?= =?us-ascii?Q?9ySUbLHINTesRQyY1EQ=3D?= 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: CO6PR18MB3860.namprd18.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 28dd4e4f-7708-4d2a-af32-08dbecc164d6 X-MS-Exchange-CrossTenant-originalarrivaltime: 24 Nov 2023 07:45:56.7573 (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: rZw1xHRjsPqCKClxXtB2YXfV7IEPv2PT94KxxVit6FQ4tXWA236tjSKjXGPAgBtYQ3sYTXOpObTHTpgPoMr2Eg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL1PR18MB4341 X-Proofpoint-GUID: wI7zE8Wfh2dyUwi28KlfGrksfE9Mi9aa X-Proofpoint-ORIG-GUID: wI7zE8Wfh2dyUwi28KlfGrksfE9Mi9aa X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.987,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-11-23_15,2023-11-22_01,2023-05-22_02 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 > -----Original Message----- > From: Rakesh Kudurumalla > Sent: Thursday, November 23, 2023 11:46 AM > To: Nithin Kumar Dabilpuram ; Pavan > Nikhilesh Bhagavatula > Cc: dev@dpdk.org; Jerin Jacob Kollanukkaran ; > Rakesh Kudurumalla > Subject: [EXT] [PATCH 1/2] node: forward packet from ethdev_rx node >=20 > External Email >=20 > ---------------------------------------------------------------------- > By default all packets received on ethdev_rx node is forwarded to pkt_cls > node.This patch provides library support to add a new node as next node t= o > ethdev_rx node and forward packet to new node from rx node. >=20 IMO, Subject "node: add API to update ethdev_rx next node" or similar is mo= re suitable to reflect the implementation. Please run check-git-log.sh also to make sure that subject is aligned. > Signed-off-by: Rakesh Kudurumalla > --- > lib/node/ethdev_ctrl.c | 40 > +++++++++++++++++++++++++++++++++++++ > lib/node/rte_node_eth_api.h | 17 ++++++++++++++++ > lib/node/version.map | 1 + > 3 files changed, 58 insertions(+) >=20 > diff --git a/lib/node/ethdev_ctrl.c b/lib/node/ethdev_ctrl.c index > d564b80e37..d64fc33655 100644 > --- a/lib/node/ethdev_ctrl.c > +++ b/lib/node/ethdev_ctrl.c > @@ -129,3 +129,43 @@ rte_node_eth_config(struct > rte_node_ethdev_config *conf, uint16_t nb_confs, > ctrl.nb_graphs =3D nb_graphs; > return 0; > } > + > +int > +rte_node_ethdev_rx_next_update(rte_node_t id, const char *edge_name) { > + struct ethdev_rx_node_main *data; > + ethdev_rx_node_elem_t *elem; > + char **next_nodes; > + int rc =3D -EINVAL; > + uint32_t count; > + uint16_t i =3D 0; > + > + if (id =3D=3D RTE_EDGE_ID_INVALID) > + return id; Return type and returned value are mismatched. > + Add a NULL check for edge_name too.=20 > + count =3D rte_node_edge_get(id, NULL); This API itself return error if id is invalid. Use returned value instead o= f above check. > + next_nodes =3D malloc(count); > + if (next_nodes =3D=3D NULL) > + return rc; > + > + count =3D rte_node_edge_get(id, next_nodes); > + > + while (next_nodes[i] !=3D NULL) { > + if (strcmp(edge_name, next_nodes[i]) =3D=3D 0) { > + data =3D ethdev_rx_get_node_data_get(); > + elem =3D data->head; > + while (elem->next !=3D data->head) { > + if (elem->nid =3D=3D id) { > + elem->ctx.cls_next =3D i; > + rc =3D 0; > + goto found; > + } > + elem =3D elem->next; > + } > + } > + i++; > + } > +found: Cosmetic: use "exit" keyword instead of "found".=20 > + free(next_nodes); > + return rc; > +} > diff --git a/lib/node/rte_node_eth_api.h b/lib/node/rte_node_eth_api.h in= dex > eaae50772d..66cea2d31e 100644 > --- a/lib/node/rte_node_eth_api.h > +++ b/lib/node/rte_node_eth_api.h > @@ -57,6 +57,23 @@ struct rte_node_ethdev_config { > */ > int rte_node_eth_config(struct rte_node_ethdev_config *cfg, > uint16_t cnt, uint16_t nb_graphs); > + > +/** > + * Update ethdev rx next node. > + * > + * @param id > + * Node id whose edge is to be updated. > + * @param edge_name > + * Name of the next node. > + * > + * @return > + * RTE_EDGE_ID_INVALID if id is invalid > + * EINVAL if edge name doesn't exist > + * 0 on successful initialization. > + */ Does it make sense to add error codes like below: -ENINVAL: Either of input parameters are invalid. -ENODATA: If edge_name is not found. -ENOMEM: If memory allocation failed. 0: on Success What's your thoughts on this ? > +__rte_experimental > +int rte_node_ethdev_rx_next_update(rte_node_t id, const char > +*edge_name); > + > #ifdef __cplusplus > } > #endif > diff --git a/lib/node/version.map b/lib/node/version.map index > 99ffcdd414..07abc3a79f 100644 > --- a/lib/node/version.map > +++ b/lib/node/version.map > @@ -16,6 +16,7 @@ EXPERIMENTAL { > rte_node_ip6_route_add; >=20 > # added in 23.11 > + rte_node_ethdev_rx_next_update; > rte_node_ip4_reassembly_configure; > rte_node_udp4_dst_port_add; > rte_node_udp4_usr_node_add; > -- > 2.25.1