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 EF61A46000; Wed, 22 Jan 2025 13:27:09 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 91A93402DB; Wed, 22 Jan 2025 13:27:09 +0100 (CET) Received: from mx0a-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id B4205402BC for ; Wed, 22 Jan 2025 13:27:08 +0100 (CET) Received: from pps.filterd (m0431384.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 50MBwGuV001846; Wed, 22 Jan 2025 04:27:07 -0800 Received: from nam02-dm3-obe.outbound.protection.outlook.com (mail-dm3nam02lp2041.outbound.protection.outlook.com [104.47.56.41]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 44b08sg1e3-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 22 Jan 2025 04:27:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=ZZIYXp5+SdWO2hIb54qAR0xAAoYZ7IEh/iTQFcYwOYIprVIMBJ3yrWGg534djLqMyJ1dA2gZkgpEMs9zKWP19+Of+YOY2kJBIC+cE5ml+ikHQnKd7QdsYzlbY2QgwPxL4rqzIsYBULPQgLBSGZthWbGMyRBR4rrLtc+tP6Y+LlNCZ2JGarRhIwb6idjRjRzjAsjn4Df4HqmTGZ84rPcyzPVu9On3HJt3qJpetsQMrSlP5k8NrWeqrF4eLP1KZOh4l6paKSedTMEJk8yzPxh6oVZydWU036o10vgiB0x7EwY5FjpJL3rRlfsPsCin+iar+7EBy0qHNJXaGJA1LXQh9Q== 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=+jtfx5uc7LJCy3gD2ye64WAWdc7b7zWs42eKnFzj3/k=; b=KkoLw/i2ZA/G5TZtvPCt8lzpuWKqkftxIyXAodTp1WnvOh9Qf8nYcDQqpJMuWUlcOL9H+g4i9/LzUfP565gE39Jfpyu7elnfpPHwm4d6AI1lH2B3od3rDTrxSV1u/o8tPyRyVP+LYOwQdbJ0EDyFZf3rU+BvfLqRxiBJZ1iSfKnmYrha3B5cv91tdgHnES40p4ktyCqYDclCfSw/Z2eoLMufnwzuJDh5uPCwJ09M7uFXGQVX3n6BEoIMfSRTomf73vAyw08JpSnet2LeM5nGo91R5E3RCqYOwEITpGUEpR2Nsb7NcdOLOu+xVslAj34dyj/XfvZdOX33tmzQozBUCg== 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.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=+jtfx5uc7LJCy3gD2ye64WAWdc7b7zWs42eKnFzj3/k=; b=ceHXz8VqHaRxnTNhEgIetRKXShJq1EZELotn+ZlQFDal5c5C8ORCKurVWUuYSHzumrRa6Oi9lYeeD6D0DeSd0P5Q2fYWC/KE6PCL08Sq/vMSDobGilMvlWvcEwjsJx5DV2N2cqOOIBh8hXkWQrzFR3eJmkF2m/2z+IBdmAzv4eI= Received: from BY3PR18MB4785.namprd18.prod.outlook.com (2603:10b6:a03:3cc::18) by CH3PR18MB5956.namprd18.prod.outlook.com (2603:10b6:610:1d9::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8377.16; Wed, 22 Jan 2025 12:27:03 +0000 Received: from BY3PR18MB4785.namprd18.prod.outlook.com ([fe80::4f9f:e101:dad7:c576]) by BY3PR18MB4785.namprd18.prod.outlook.com ([fe80::4f9f:e101:dad7:c576%4]) with mapi id 15.20.8356.020; Wed, 22 Jan 2025 12:27:03 +0000 From: Jerin Jacob To: "pravin.pathak@intel.com" , "dev@dpdk.org" CC: "mike.ximing.chen@intel.com" , "bruce.richardson@intel.com" , "thomas@monjalon.net" , "david.marchand@redhat.com" , "tirthendu.sarkar@intel.com" Subject: RE: [EXTERNAL] [PATCH v2] eventdev: add port attribute for independent enqueue Thread-Topic: [EXTERNAL] [PATCH v2] eventdev: add port attribute for independent enqueue Thread-Index: AQHbT/nCyN+TL6gFLUKomJ1aUek0E7Mi8chA Date: Wed, 22 Jan 2025 12:27:03 +0000 Message-ID: References: <20241213043300.18015-1-pravin.pathak@intel.com> <20241216203313.31730-1-pravin.pathak@intel.com> In-Reply-To: <20241216203313.31730-1-pravin.pathak@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-traffictypediagnostic: BY3PR18MB4785:EE_|CH3PR18MB5956:EE_ x-ms-office365-filtering-correlation-id: c40ebf2b-3aff-400e-eede-08dd3ae013a0 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; ARA:13230040|1800799024|366016|376014|7053199007|38070700018; x-microsoft-antispam-message-info: =?utf-8?B?ejNUU0ttejMyNnIzT0xyN1NQMUNjTGpiY2RDU2hrNUpRN0I1ZVRqSVQwMDd3?= =?utf-8?B?TDFRT2xFZHFuUndrNFFYYnpzZDRVUkN5UHpqbXE5TXl2SW5LejdjMU5iVkls?= =?utf-8?B?QVBZUzVEaWxKVEc4VC9tRVgwUE5QSmcyWEVyM3M2UkFpWlZvWmFzZVo5cXc5?= =?utf-8?B?WkJ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; H:BY3PR18MB4785.namprd18.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230040)(1800799024)(366016)(376014)(7053199007)(38070700018); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?c21xcGtMSks3dTk0alA0ZWJVSFlERnNjRzNPWE50aXlYL1VpUmdpMDRiakV1?= =?utf-8?B?cUMyRWUxN1hFM0U3UjZwcFE1Y0RseHdlN29EV3dqTTdiWnp1MzlMT21nZzVX?= =?utf-8?B?a2hRMFJkYi80WFpNNWYvUjVKN2tCTG9odDVZR1BCbXB1R1JnVldPT1BHSmo0?= =?utf-8?B?dkJnZ29LbXZoUklaYzVLV3lzd0gybDMyQjZqbDlpeGIxMkZ0aTJqSkdEaFZa?= =?utf-8?B?VmV1THJuRWpRcVBYUFRYa1diNjhqUE85eEREbjJjekFsaXNGNStSWEJ4cGEv?= =?utf-8?B?YWFhcVF5UGc1KytzUFhjNVhwS2NzaG1VY0NxLy9TdkRERU5HYnNZUFZxYms5?= =?utf-8?B?SjhVNTFsSWc4VzRuS1IvS09FWEwva3I0VzdkUGMzSy9CZlhYSzhDWFVnZUpG?= =?utf-8?B?NDZ0QXhTSXZBNHN4d1MxcFpwZE5BVmhqS3pmUkRLR3Vqc0NSQjB0NkozcUxv?= =?utf-8?B?RmcrMVQwZ2VmbmJ5c3JsckNwQ21CbkR3R3ZZUkFXQzFTcjRSSUVUOW5XV2Nr?= =?utf-8?B?ZU0yU2JKQ3VxT1dBL01MOC9ETkJ2WHNqa2kzNndWdHh4QkVqbHRHVllIQXN3?= =?utf-8?B?VFF6ZVhKTkppRlhJSVY0VGtVZXdleUZuZHdCLzQ2VGtuUEtmdjExZjk0VGts?= =?utf-8?B?TUJ1TjRRSGdVcGpjRkxiTVRzRFFSR0w5N3BTa3dxRFVTL2EzM0VHVUovZExv?= =?utf-8?B?Z0lLZU9BdXMzNDJIK0N4Qm1MQzRkRHM2WHdvbi90ZTI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V0hMS0hFakVKM1hZeFByQVhvazRi?= =?utf-8?B?Q3NqSk5iNUJ6ZXUxcEhpRjRrM2VNaC9pSUJOUjAwcDFXZENWQ0h2SFpJdldG?= =?utf-8?B?SHJEeGd0UVQxb3NmMTQyOG5LQ3ZHbGZ5SUxrbDhTRFpjcm1SQW1EVU91azlr?= =?utf-8?B?ZlNreTZlZjVLMVhsaWg1cmNFcFkyWlFoaCttTGU0cEkrbHpIekJCMHRHZzdl?= =?utf-8?B?WWJkekErMEg5b1dJVUxOWVc1L0RuWUZqMU1YaHpqU0JZdkNwSUxkK2ZiWkdK?= =?utf-8?B?UTVBWjZEZXlqMTJaeVg3VEZrSXZYQzdwS052cytqZWI4blJHaS8zWjZzK3hR?= =?utf-8?B?ek9ZTDlRRlV4VDMzNGtoN1dTcW9lLzhNZjV5em1uWUpSNDBQSFpUOW5POFEw?= =?utf-8?B?V2k3azkzTWMyK3A3TEcxdUVxOFRsa25YSlY4VjRvQkY1RkR3N3J6TmQyTm93?= =?utf-8?Q?pYI0+IAj5GFJQT+9cH3ZQ+8qA?= MIME-Version: 1.0 X-OriginatorOrg: marvell.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BY3PR18MB4785.namprd18.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: c40ebf2b-3aff-400e-eede-08dd3ae013a0 X-MS-Exchange-CrossTenant-originalarrivaltime: 22 Jan 2025 12:27:03.2320 (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: 8GoSZzMv1fJ0a32As3ohnFGuYUa6z8i5MPzNTmNDHH4Jzqy/nb25BqyMV6P5oId+iK/K8olxFnAq4BwXoUSAyg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH3PR18MB5956 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Proofpoint-GUID: L2nXExc0exqoQa5_J-RMLN5QOgQMBF8W X-Proofpoint-ORIG-GUID: L2nXExc0exqoQa5_J-RMLN5QOgQMBF8W X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1057,Hydra:6.0.680,FMLib:17.12.68.34 definitions=2025-01-22_05,2025-01-22_02,2024-11-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 > -----Original Message----- > From: pravin.pathak@intel.com > Sent: Tuesday, December 17, 2024 2:03 AM > To: dev@dpdk.org > Cc: Jerin Jacob ; mike.ximing.chen@intel.com; > bruce.richardson@intel.com; thomas@monjalon.net; > david.marchand@redhat.com; tirthendu.sarkar@intel.com; > pravin.pathak@intel.com > Subject: [EXTERNAL] [PATCH v2] eventdev: add port attribute for independe= nt > enqueue >=20 > From: Pravin Pathak = Independent Enqueue > support is added to DPDK 24.=E2=80=8A11. Adding support for > RTE_EVENT_PORT_ATTR_INDEPENDENT_ENQ attribute to > rte_event_port_attr_get() which was missing Signed-off-by: Pravin Pathak >=20 > From: Pravin Pathak >=20 > Independent Enqueue support is added to DPDK 24.11. > Adding support for RTE_EVENT_PORT_ATTR_INDEPENDENT_ENQ attribute to > rte_event_port_attr_get() which was missing >=20 > Signed-off-by: Pravin Pathak Applied to dpdk-next-net-eventdev/for-main. Thanks > --- > lib/eventdev/rte_eventdev.c | 8 ++++++++ lib/eventdev/rte_eventdev.h | 4 > ++++ > 2 files changed, 12 insertions(+) >=20 > diff --git a/lib/eventdev/rte_eventdev.c b/lib/eventdev/rte_eventdev.c in= dex > ca295c87c4..61cff87b63 100644 > --- a/lib/eventdev/rte_eventdev.c > +++ b/lib/eventdev/rte_eventdev.c > @@ -880,6 +880,14 @@ rte_event_port_attr_get(uint8_t dev_id, uint8_t > port_id, uint32_t attr_id, > *attr_value =3D !!(config & > RTE_EVENT_PORT_CFG_DISABLE_IMPL_REL); > break; > } > + case RTE_EVENT_PORT_ATTR_INDEPENDENT_ENQ: > + { > + uint32_t config; > + > + config =3D dev->data->ports_cfg[port_id].event_port_cfg; > + *attr_value =3D !!(config & > RTE_EVENT_PORT_CFG_INDEPENDENT_ENQ); > + break; > + } > default: > return -EINVAL; > }; > diff --git a/lib/eventdev/rte_eventdev.h b/lib/eventdev/rte_eventdev.h in= dex > fabd1490db..6400d6109f 100644 > --- a/lib/eventdev/rte_eventdev.h > +++ b/lib/eventdev/rte_eventdev.h > @@ -1318,6 +1318,10 @@ rte_event_port_quiesce(uint8_t dev_id, uint8_t > port_id, > * Port attribute id for the implicit release disable attribute of the p= ort. > */ > #define RTE_EVENT_PORT_ATTR_IMPLICIT_RELEASE_DISABLE 3 > +/** > + * Port attribute id for the Independent Enqueue feature. > + */ > +#define RTE_EVENT_PORT_ATTR_INDEPENDENT_ENQ 4 >=20 > /** > * Get an attribute from a port. > -- > 2.26.2