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 5A80EA034D; Wed, 12 Jan 2022 11:32:54 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 393A1426E5; Wed, 12 Jan 2022 11:32:54 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id 66C7C40040 for ; Wed, 12 Jan 2022 11:32:52 +0100 (CET) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.16.1.2/8.16.1.2) with ESMTP id 20C9Dgsc023116; Wed, 12 Jan 2022 02:32:50 -0800 Received: from nam12-bn8-obe.outbound.protection.outlook.com (mail-bn8nam12lp2169.outbound.protection.outlook.com [104.47.55.169]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3dhmnwsvvr-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 12 Jan 2022 02:32:50 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=UMLwb5CqJFaU3IsqZTwNF/EladGlG+jYx+KiaU2xxNSEmstnAfhc8d9laeyN1KOaA6hfxa62Ep/7MBOe1VSRhiAdQDf9aYS2hUcxSGIrreRbwhpZcojFtCwvtlNG8ONx7oLHxQrPuQ9yjN10hHc4KLwMinQTtxWHtYU9imyuFPmVaqZxinVEWsszyfgFmFUwon/mjGjMEm0ylqJc4eFbfBHmJpPIme3Baqw/LnEENwKFXVbAGQKfEWkLGC+MobUKIPaKgc/5XV0OiWI3b+lzCoOu5hSQewov+e6hgT2ZWRiOLun6jbBJRY5jCXO3IDI3b2vqlStb5SFVunHetiuK5g== 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=fkfdyaVX92kjUVv2dQvxGQMOFnevO8g39ls/x6FOtlw=; b=cg1G5kOYNzYmMKceiLa5Hin1XDMtJnesdzSQUEGEAi6udoieV5PJZ5hAvCrCNKd4eXz5iCtwyPPc65VtZgS3PMb4dQrlHGq2syb+1Ks0Un5ss6G9BXSl/sbljCDEeBHVNfEkbiHeDSdSbcOc26x3synRzVDEprelKF6LeOfB/zwvm+dMOnarydp+NBB00KaaN/TIrJz/LAzz4nRwJCOwowmRQC8zMG8H2yVGPp6sV1kb50hUb/wHAPt9SU7fVW0aR5k4Hui3KnjWfNdhr4Qy0LAKinPkajhzMJJ1ynnamTUSJuAY9Tf+D68ktqDYP5mntLoLCc92bowH1zo3iWQJ8g== 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=fkfdyaVX92kjUVv2dQvxGQMOFnevO8g39ls/x6FOtlw=; b=OUXybST/d/6TDtmjfpSDPae95Eb3O6Yvxfdb2Q9T+5H4mYiV8a0qTmFmfOcZmW/XlL0GqYuiPp/y54MAdJzUgbTtlqWuSUo1ToiP/QPxd5Src+dyYhU09JA37wefX9h/FzWlkBXCkkL8HkcwAFcnQiVflg+95eTGOh/y5PgaaYA= Received: from CO6PR18MB4484.namprd18.prod.outlook.com (2603:10b6:5:359::9) by MW2PR18MB2297.namprd18.prod.outlook.com (2603:10b6:907:3::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4888.10; Wed, 12 Jan 2022 10:32:44 +0000 Received: from CO6PR18MB4484.namprd18.prod.outlook.com ([fe80::ecd1:2b8:57bd:7780]) by CO6PR18MB4484.namprd18.prod.outlook.com ([fe80::ecd1:2b8:57bd:7780%7]) with mapi id 15.20.4888.011; Wed, 12 Jan 2022 10:32:44 +0000 From: Akhil Goyal To: "Ananyev, Konstantin" , "dev@dpdk.org" CC: Anoob Joseph , "Nicolau, Radu" , "Doherty, Declan" , "hemant.agrawal@nxp.com" , "matan@nvidia.com" , "thomas@monjalon.net" , "Yigit, Ferruh" , "andrew.rybchenko@oktetlabs.ru" , "olivier.matz@6wind.com" , "Xu, Rosen" Subject: RE: [PATCH 2/8] ethdev: add dev op for IP reassembly configuration Thread-Topic: [PATCH 2/8] ethdev: add dev op for IP reassembly configuration Thread-Index: AQHYALPOiP3b/bX9/ESNWXt27mVBoKxeCfCAgAArc8CAAQXIgIAAAJWA Date: Wed, 12 Jan 2022 10:32:44 +0000 Message-ID: References: <20210823100259.1619886-1-gakhil@marvell.com> <20220103150813.1694888-1-gakhil@marvell.com> <20220103150813.1694888-3-gakhil@marvell.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: abe28320-3315-40f8-ff8e-08d9d5b6dea3 x-ms-traffictypediagnostic: MW2PR18MB2297:EE_ x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:7219; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: gYivBJGIUMRTn8KXUhbc0P5K8wOM9pLb6VH4GBvqPKtxGlLa5xi/QG2tj1AJhwABFVYO77FGUEykmt0EFWiGDxyNrbrewI6LL0w6v1BQOoswVCLe/JzR5uWIonLitU+NwMPEdtXIuvQvJaitN15KjSe6e5mCwS1+beecs/RtAto9g9Stk3tLDaxNYwkbH0CLn07XlzNycJ3NJ4YhfYZfC32H4vhZoGE9sjhgLpMGy+I53yQvRQD+4T6F0UW+5WuRoo58tGdXJ9Z42yL/95UiTQs5Rh3gvAMbn+2hOfHhIFhPUEqj7tewzc5+6s8o2K61aXGp+NKA9OR1+tOfkpZFoTu2J0yzNvSk8KGUELw6y0MaQtAnn494+WGrhrtn31Hhqj2/5epcAYiAR/7D+ElipV0/57B9d5URc18BYjewutLBsBmNukk9y8aevp6mlj75UJ4Kpk3/ltKRKZnR+PbBLPXJLjY0uEKBd6SGXpMkIupvxugNi3SogCJwbSNdH6e88apBKdkvKtwofDt26iaN9cESWWd1jfq3mm7faricaYLAumm2SUvCV77Hasdn9H34JwdzW9cCQX9R0jWEhOzNcqoYXRu7vzneJv6ik+JwI6c4Aum31ibgo56tGGn/FzM8WyBNDXKTbDsPEJ/sVIUHmtEKzNtUmfwK/9h9I2ntdehlzRZjlQTOT5hfjsumYNOcwxlJhyAm6uDHRX9fj5orwg== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CO6PR18MB4484.namprd18.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(7416002)(71200400001)(7696005)(55016003)(26005)(6506007)(508600001)(8936002)(186003)(122000001)(5660300002)(9686003)(8676002)(4326008)(38100700002)(64756008)(4744005)(66476007)(66446008)(66946007)(86362001)(2906002)(66556008)(110136005)(33656002)(38070700005)(316002)(76116006)(54906003)(52536014); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?4ZbLeQq621bROutR60f+bNEYzbxGNVszEfcDm5HjRHDtscc1P1HXoJKal7Cx?= =?us-ascii?Q?qA3PG9/9ft3u74/7jI1RJpWjgIY6AYLX90CbZMv3B5oufqNC3q2rPuO0TaKN?= =?us-ascii?Q?AOBkUCjp1wRiKr1iPqf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= =?us-ascii?Q?YdA/P2+Qo6eyeqqVAiiT280Y3Wj3mp++GXHSIUwXvK95F+7eGqBl2qnxQZhO?= =?us-ascii?Q?Ge3/PwV2Eo+elUpOqlLphyeusCNx75cGod712O9Uczz1NwfyMgBWqAPZM6Os?= =?us-ascii?Q?KRmO3S6DFK1ofbLgACMCQASJ8Kz3LP0Qc80JD5jWM0iE1Olbp3i3m4q1Erfb?= =?us-ascii?Q?bsuou9tcCuIjO5CS7XNIHyWwusLgt7elwBnlxpPPZmFQJDTzmRS5BphYzrvz?= =?us-ascii?Q?hS0fcfk4IbOF3lSG57pZkTR+976KuY+sQ3lQJfuhlmK07303bcLVkA+q6tn3?= =?us-ascii?Q?dPOztoR0uUMTlQL61mrolpHdoAzAPQLAEsKCot0nHjYRNSC9oGmNX4hk87N8?= =?us-ascii?Q?YjTYXqCbgcJuQ2dEkc8L6yqoEg3zWa8qwmS5w7KwRoqBQCNgLvkm0cvqdrim?= =?us-ascii?Q?KSrv6eIEhE5IktYhSlk42ZX+Ru0lNYHFdcB8nBLB/QHNBh/n+SPN8c/tIVCF?= =?us-ascii?Q?VJ8vnVxHt0m0M+IUDOG9sp5bTN7DsAsjAyz8Alc6WpnkwcHqznpOgUk0gB0U?= =?us-ascii?Q?8MPe7p5xBZsw/28kCK3HNIDyodzuZz5FIHYYZEU3YdKERG5nkFavF43Hd8JZ?= =?us-ascii?Q?JyYmhG3bpDOpK9XpM5Asg/o=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: CO6PR18MB4484.namprd18.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: abe28320-3315-40f8-ff8e-08d9d5b6dea3 X-MS-Exchange-CrossTenant-originalarrivaltime: 12 Jan 2022 10:32:44.4283 (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: wccrRfy/LXV9FMaZ7DEqSpyWeXHrTXeiHsydaTp6rGkyTk6qZp6c9K2hWEW23ltrJ7qcaUOT/O6oOJVLpt/6GA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW2PR18MB2297 X-Proofpoint-GUID: ETuc6q4U_OgHul_FDGUSxttBKrq0o47q X-Proofpoint-ORIG-GUID: ETuc6q4U_OgHul_FDGUSxttBKrq0o47q X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.790,Hydra:6.0.425,FMLib:17.11.62.513 definitions=2022-01-12_03,2022-01-11_01,2021-12-02_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 > > > Another question - if we have reassembly_conf_set() would it make sen= se to > > > have also reassembly_conf_get? > > > So user can retrieve current ip_reassembly config values? > > > > > The set/supported values can be retrieved using rte_eth_dev_info :: > reass_capa >=20 > Hmm, I thought rte_eth_dev_info :: reass_capa reports > max supported values, not currently set values. > Did I misunderstand something? >=20 Reassembly configuration is expected to be a one-time setting and is not ex= pected to change multiple times in the application. You are correct that rte_eth_dev_info :: reass_capa reports max supported v= alues by the PMD. But if somebody uses the _set API, dev_info values will be overwritten. However, a get API can be added, if we have some use case. IMO, we can add it later if it will be required.