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 2CB6D423EE; Mon, 16 Jan 2023 11:43:11 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0191340A7D; Mon, 16 Jan 2023 11:43:10 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id 660D440042 for ; Mon, 16 Jan 2023 11:43:08 +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 30G6405w001556; Mon, 16 Jan 2023 02:43:05 -0800 Received: from nam10-bn7-obe.outbound.protection.outlook.com (mail-bn7nam10lp2104.outbound.protection.outlook.com [104.47.70.104]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3n3tmvm0n4-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 16 Jan 2023 02:43:05 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=mTp0fV7K9L4pJzvuTaBVXnsc7cD8N9yfr7LKgN3KP1N1aRJxqvRhjqVED68tUgCWergSY5ZmINwyPAC3nAaWDHWJ+Yyex/BBGT8NH6Tu83c++p3CeY/AJ3oRlKhZyY4IyEbclbn5X+EtGpukSz6scjtLXt070z3sraQr1knHE+VhJTz1wfR6lbdwUrfz+GFx8/fNzOQjBKDEf1yNcO0pH+10PkRzc6c++c+GiTWAoGfM1bGktlCrPUPLq99tYy+92Zua79PVLpJe0n+KxKbh4mF+ANUPZuLO2WwwGC69jQSFCApXG7xYfKDl6id/jRL+b9xnu4fHUqdVReXNvS6aUg== 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=UK95bYJd3VZzuf1BG0wbWgp/Y7CVtBBZUDqeKjBAuZg=; b=f6c/pYTxSyMlJqC5jKPuFTHqLl3Rr9UuUnV2/4ZVVkF4w00Ldv7FrTdVS8BLOQPGsNTuuHDWOa70+s/vOyQeGZswdFpoQ2luT+Ug3JuMjniBRLMPL27I9QoNF4gDKIGkgllKaUtdhIBaI/xWlfyJEE8lefjmjhNdUYpQcVcR0xMIZOZjUGkLW33c/0Pj62kBnbNkns1GHayPwom0bv6JxAQniuKOOyiNt6Bp0sP8hkIDsVdhzv7R1+kdPj47fDYnxOCveYh+wdDXSG7UUpoQFRY+WyFFQgqB1y0ckYi9Ca76Up3MiLFQ8BQRGtDnc9MPadoYGFffnaWQF8Cp67KNdA== 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=UK95bYJd3VZzuf1BG0wbWgp/Y7CVtBBZUDqeKjBAuZg=; b=JzCdEq8shET1ezrg+2NCWfdmgwDBwmyhz1cQ1MAKsjp5LYUJRvHpVYa1NI1lVoP+7rPX3ycxB5IIM2sJlL2aHQbMKiG+EtU3hvIezmlU7kTBDnTFia4mlOr1OCcRsB25Z3ZmV5cFEnp6MISP4q6afYfuw19LWJW+jgZG/jftzx4= Received: from PH0PR18MB4750.namprd18.prod.outlook.com (2603:10b6:510:cd::11) by MN2PR18MB3477.namprd18.prod.outlook.com (2603:10b6:208:262::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6002.13; Mon, 16 Jan 2023 10:43:02 +0000 Received: from PH0PR18MB4750.namprd18.prod.outlook.com ([fe80::fb23:fb1:b670:d33b]) by PH0PR18MB4750.namprd18.prod.outlook.com ([fe80::fb23:fb1:b670:d33b%8]) with mapi id 15.20.5986.023; Mon, 16 Jan 2023 10:43:02 +0000 From: Hanumanth Reddy Pothula To: Hanumanth Reddy Pothula , Thomas Monjalon , Ferruh Yigit , Andrew Rybchenko CC: "dev@dpdk.org" , "viacheslavo@nvidia.com" , Jerin Jacob Kollanukkaran , Nithin Kumar Dabilpuram Subject: RE: [PATCH v5 1/2] ethdev: fix ethdev configuration state on reset Thread-Topic: [PATCH v5 1/2] ethdev: fix ethdev configuration state on reset Thread-Index: AQHZFOD8+C17bfv6/EGwozMCYZW5Ia6hBMCA Date: Mon, 16 Jan 2023 10:43:02 +0000 Message-ID: References: <20221220200250.2413443-1-hpothula@marvell.com> <20221221020713.2803232-1-hpothula@marvell.com> In-Reply-To: <20221221020713.2803232-1-hpothula@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+PGF0IG5tPSJib2R5LnR4dCIgcD0iYzpcdXNlcnNcaHBvdGh1bGFc?= =?us-ascii?Q?YXBwZGF0YVxyb2FtaW5nXDA5ZDg0OWI2LTMyZDMtNGE0MC04NWVlLTZiODRi?= =?us-ascii?Q?YTI5ZTM1Ylxtc2dzXG1zZy04NGI2MmVkZC05NThhLTExZWQtOTUyNC1mODc1?= =?us-ascii?Q?YTQxYWNjYThcYW1lLXRlc3RcODRiNjJlZGYtOTU4YS0xMWVkLTk1MjQtZjg3?= =?us-ascii?Q?NWE0MWFjY2E4Ym9keS50eHQiIHN6PSIyMDk2IiB0PSIxMzMxODMzOTM2OTMx?= =?us-ascii?Q?ODA5MjEiIGg9IkNQKzdOOGhkVWlwNDdaQj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BQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFCQUFBQUFBQUFBQUlBQUFBQUFBPT0iLz48L21ldGE+ x-ms-publictraffictype: Email x-ms-traffictypediagnostic: PH0PR18MB4750:EE_|MN2PR18MB3477:EE_ x-ms-office365-filtering-correlation-id: 42d93571-e95b-44f6-0fe2-08daf7ae7171 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: uv+Jt+y8kF8FvQeeRwzlroXgzsTHZyOKYASvXJuULrc2FnoSprgotmDV/B3T+dC4djLWVAkxdojoUCsJwbISsFQOo81U/I395ryeGL0PIcFR6uhrVq9+N7ydHjKkdKXGpCe3CuotOvqXPMsDMLeThRgmspYi4CXYhgwnLRnjIOy7J0RbP4YBVNr2m8PgrWy0IM7mgxRb7DzJTBLZHml+ppm7mbz0+4eukVhjXRl8cbO6DhNIcYfSZLiUnlHyaTqRX0iVCiEg3NvvaI1AoQvLHqSr0D2hqfSI0vxPPQRlztL6oYfuRYZI3cHjmpuVene3vn0tgEecLGHsFojx7uVBxSMaDx/91aUeyOQyDxQJg7YaSbkb1nDrrmRy2YYJB55EqyNtXAwFJ96A4OFJy3EXcVpFSHLbNRFjlwkXCL5VMge/CxtwoL4le5i2pBZc7min3HJ/gTuENa6WzTjstuvm2g9ukAvoV+0fKCGNCg0DogX9o1A5Jc+97NznHa2JrA2GQSAm3t8mmsOwVU/h9FSksN3lQiJ2oSabn8Ngffz4NNa3ypFp0g19ZELO81AG/AgYVBPGXM2KXOu00Q1OvDjAr8nfI+YXJp3F/c31U/vTUXIRlfMxheF9AcRjcvE9tABjL+ucDVIA21u7iBRybADI0f2BEUMW3bJ8U5i+IVXbwexN9QeSIO9YxBotUykhLluRXR8yIe4ZD9+wk47ydZXrbw== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PH0PR18MB4750.namprd18.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230022)(4636009)(396003)(366004)(136003)(376002)(346002)(39860400002)(451199015)(8936002)(52536014)(107886003)(8676002)(41300700001)(76116006)(66556008)(66476007)(64756008)(38070700005)(4326008)(66946007)(66446008)(316002)(54906003)(2906002)(33656002)(5660300002)(110136005)(26005)(9686003)(71200400001)(7696005)(478600001)(53546011)(6506007)(86362001)(186003)(55016003)(122000001)(38100700002)(83380400001); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?fo7VOq2+hInOJwc2GDi5MwswZeeWIR/A2zH4m1GvLlWynJs4MqfnsoPcPlmd?= =?us-ascii?Q?Opy6ssbq0p+pJHwAfw5rmsgwN3133oV9CkkOpPOSc/5om4jEr1V/UXbxf+9A?= =?us-ascii?Q?41l9RNe0innYpoPe+KD9SYZ76K7efONo8YovXNouFXkyPzbeQjIiW0Rtp9u9?= =?us-ascii?Q?Yz/E6GLf3wEtP2lU3749qYjgdP+VpTyowduYRvIydk/I9nxDByEzuI0EbBJC?= =?us-ascii?Q?ieY/0yOK5w4B/M8ky3CJm2NYZ0jMQ688hv0hGBqh0nr/2noKV2GuKaUDHxC8?= =?us-ascii?Q?YSEQ0fMND1RvwiNVYC1o2LbgLL/vwVH6OXxHGM1GbMyoCkFHNdyMNS6LA9dW?= =?us-ascii?Q?mMOznzrQslzZZEdMeLixpOYV/4V8q5DsqG9xBL+aTfbXoI7LRWtK15FPBbnD?= =?us-ascii?Q?aiU+4MRrkDas5nPlbgC/sd9npZZbqHyosfuwn433l/58foTH6f/qGKv5uLKj?= =?us-ascii?Q?58mjtUTEEXx2aREgnRQZL08shF/KR539e9GUwcq7LSsJBw5QSOk+c5e3TlaE?= =?us-ascii?Q?QKO8kwAG9LhV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yfwiT4cKJ?= =?us-ascii?Q?2g5HYggiADXXec5Hb8yBc3BIEhODtbh8NcR3kd+r1HkPTV/bt5WwRqHwN265?= =?us-ascii?Q?tUyLptiIfRQQn2hAz5Okxbh8PWf3pOSJBjV2jLoJP5fmLcrbaMBhn+9jNOZN?= =?us-ascii?Q?ewmHgI6+6SLFflBSsB8+HWnQX8K0Ag6baM4pj+qZ?= 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: PH0PR18MB4750.namprd18.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 42d93571-e95b-44f6-0fe2-08daf7ae7171 X-MS-Exchange-CrossTenant-originalarrivaltime: 16 Jan 2023 10:43:02.5794 (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: AMjWWElkPnOQ6pxZW9cyalrp6rzwPdt+uj4b8+XNxWrf9+hCjrDOQHG96sj0nKyeGXgAXjngoO5QS3pPAevJ4A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR18MB3477 X-Proofpoint-ORIG-GUID: IeDi6PgfSTgIqZyG5IXrP7-vkM96Ku00 X-Proofpoint-GUID: IeDi6PgfSTgIqZyG5IXrP7-vkM96Ku00 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.923,Hydra:6.0.562,FMLib:17.11.122.1 definitions=2023-01-16_08,2023-01-13_02,2022-06-22_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: Hanumanth Pothula > Sent: Wednesday, December 21, 2022 7:37 AM > To: Thomas Monjalon ; Ferruh Yigit > ; Andrew Rybchenko > > Cc: dev@dpdk.org; viacheslavo@nvidia.com; Jerin Jacob Kollanukkaran > ; Nithin Kumar Dabilpuram > ; Hanumanth Reddy Pothula > > Subject: [PATCH v5 1/2] ethdev: fix ethdev configuration state on reset >=20 > Presently, on device reset, ethdev configuration state, dev_configured, i= s > not reset. >=20 > On device reset, reset ethdev configuration state to make sure device > reconfiguration happens cleanly. >=20 > Signed-off-by: Hanumanth Pothula > --- > v5: > - Move nic-to-pmd-rx-metadata declaration to struct rte_port. > v4: > - As per spec rte_eth_rx_metadata_negotiate() is processed only when > dev_configured is set. Hence can't enable automatically when a flow > command requests metadata. > - Add new testpmd command to allow NIC to PMD Rx metadata > negotiation. > v3: > - Updated run_app.rst with the new command line argument, > nic-to-pmd-rx-metadata. > - Updated commit text. > v2: > - taken cared alignment issues > - renamed command line argument from rx-metadata to nic-to-pmd-rx- > metadata > - renamed variable name from rx-metadata to nic_to_pmd_rx_metadata > --- > lib/ethdev/rte_ethdev.c | 2 ++ > 1 file changed, 2 insertions(+) >=20 > diff --git a/lib/ethdev/rte_ethdev.c b/lib/ethdev/rte_ethdev.c index > 5d5e18db1e..18c59044bc 100644 > --- a/lib/ethdev/rte_ethdev.c > +++ b/lib/ethdev/rte_ethdev.c > @@ -1629,6 +1629,8 @@ rte_eth_dev_reset(uint16_t port_id) > port_id, rte_strerror(-ret)); > } > ret =3D dev->dev_ops->dev_reset(dev); > + if (!ret) > + dev->data->dev_configured =3D 0; >=20 > return eth_err(port_id, ret); > } > -- > 2.25.1