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 8341CA0032; Wed, 14 Sep 2022 08:22:30 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 64FEE40151; Wed, 14 Sep 2022 08:22:30 +0200 (CEST) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by mails.dpdk.org (Postfix) with ESMTP id 5484140141 for ; Wed, 14 Sep 2022 08:22:28 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1663136548; x=1694672548; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=SbZAoyPoQFmHM+NtSAEpHmIu43UlJdJ+TpvwZbPlClI=; b=DxdDXnVhOtMZPYLBrwZXF9Mdu2WZ7kqt3dbLjEX3PkTdVdmrXvLulg64 rTXBw1IW/no5ZcI2Jp6QWXdXdtIep2aDeRd7QDmJ8DuRgvmGfoY7YzlJ3 ptaR3UwbmZHEFSIyujqnNg1NtCOdfA2lUd6FOklWB13z3tQ0D1N+zgI58 JH7rvxcfSA4+hjHg2f/T8QmqR7Kzd9ReHsTFAW8FtPRxIRvCWR1w6ueQp NHsE+8Uqu7d9/LG3bfOvm9JOqkpuFx4YBInBwDZRRIRaHqL3rgFSkWtAF qJo2luWD/KRN2kqXeFV+2J9i3YjnNk/pp/enYTDemda390sSYE7Jknyqx A==; X-IronPort-AV: E=McAfee;i="6500,9779,10469"; a="298347927" X-IronPort-AV: E=Sophos;i="5.93,313,1654585200"; d="scan'208";a="298347927" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Sep 2022 23:22:27 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.93,313,1654585200"; d="scan'208";a="720464287" Received: from orsmsx602.amr.corp.intel.com ([10.22.229.15]) by fmsmga002.fm.intel.com with ESMTP; 13 Sep 2022 23:22:27 -0700 Received: from orsmsx608.amr.corp.intel.com (10.22.229.21) by ORSMSX602.amr.corp.intel.com (10.22.229.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Tue, 13 Sep 2022 23:22:27 -0700 Received: from orsmsx607.amr.corp.intel.com (10.22.229.20) by ORSMSX608.amr.corp.intel.com (10.22.229.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Tue, 13 Sep 2022 23:22:26 -0700 Received: from orsedg603.ED.cps.intel.com (10.7.248.4) by orsmsx607.amr.corp.intel.com (10.22.229.20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31 via Frontend Transport; Tue, 13 Sep 2022 23:22:26 -0700 Received: from NAM10-BN7-obe.outbound.protection.outlook.com (104.47.70.102) by edgegateway.intel.com (134.134.137.100) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2375.31; Tue, 13 Sep 2022 23:22:26 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=GrcnS3VbdgnJ6rJqqFxf+nMYW9LFF6cxXkPA0/EV82j2osp8AY0w19dxw+Ru8qXm3Ze5egLQLw52NNpUWNYc4+vcW+4r1BiBHyT8PPlfwU2BeXKnefOGV7x/GyBByeVgAzYrMfQjn6pUikRrBQ4FssT+X3b0ympLwIxyr3hMtpRTf0vSmKETcQCJu8DtZSuqJlOdyivacRFeMyglzvFUwFX2ZwlwU0Ww7Cs3GYvngfPAvSFPZxJhtQUyGkWRWW6SX45SQ08xqKlK+CZhtH0zDPrTVXN2ki3EfDpqDAQw8g1RoPwcMXytFeqGBQV0dD6+3aha5+T8sZaO2ASUZl0+4A== 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=pGlOlfWYLJB3hgOFUxR3CFUhbvr14f4SqEZ37n4AYl0=; b=Q3dxLLslNkGFVA/Q+yiR9uA03VTnJpnsLdPJ7TkAyCu4+bQjfFlYpt/qOy7eVZU7OHLBJbTZ7j6jO5URrhZjDSxTmwPIkGMDX9KR3Se8+6MLtLKWYjuNxvL+X9U3oz/FNfy3cKTzaI/de7CjoZpirqX1wuxK/BbQ1H4iiofOcTs8EnTLUIewxkySNVsSpncB2eO2xVTZs12Ly/NPH+MmZDaFqgtNxVJE7v98rlRKnEqWufPV77uEH5Ilq+xu7uxhDebzdCJAcS6dCbW15qxuAeFM3RaFdYcI8MayooyMdEzGKvGZZi7TUqISQXUcXgqexHRaqgTPnT4Eo/7DcIvxRA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Received: from MW4PR11MB5911.namprd11.prod.outlook.com (2603:10b6:303:16b::16) by IA1PR11MB6369.namprd11.prod.outlook.com (2603:10b6:208:3af::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5612.22; Wed, 14 Sep 2022 06:22:19 +0000 Received: from MW4PR11MB5911.namprd11.prod.outlook.com ([fe80::6c7f:b9c:8a27:ad4c]) by MW4PR11MB5911.namprd11.prod.outlook.com ([fe80::6c7f:b9c:8a27:ad4c%5]) with mapi id 15.20.5612.022; Wed, 14 Sep 2022 06:22:18 +0000 From: "Kundapura, Ganapati" To: "Jayatheerthan, Jay" , "dev@dpdk.org" , "jerinj@marvell.com" CC: "Naga Harish K, S V" Subject: RE: [PATCH v1] eventdev/eth_rx: sub event type gets reset Thread-Topic: [PATCH v1] eventdev/eth_rx: sub event type gets reset Thread-Index: AQHYxz7Vt0wgv95Sn0i6c9/hJxkkHq3dlrcAgADfNnA= Date: Wed, 14 Sep 2022 06:22:18 +0000 Message-ID: References: <20220913070205.1108906-1-ganapati.kundapura@intel.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-reaction: no-action dlp-version: 11.6.500.17 authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: MW4PR11MB5911:EE_|IA1PR11MB6369:EE_ x-ms-office365-filtering-correlation-id: b8c94d8a-0dfb-48b6-ae9e-08da9619798c x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: QrDXC7AIzMehCWPsIieB1riU1Rgm0l8LdiJLjbJbTavcc+HwLwJVtPqf8yZc1ytNvJ85Z7F4wREqhhEj45TtajboJuaVBWtVD3xhGB3QBx2XB7XthWTShu9kVzoVffsVhBaKW6By+hBJuEl+kBGKfMkmikvSqWrUMsl2v8L+WW/fcnMAmt4sNHsSPlji6Y69bONj3/zAwGdEg8YS6txeRBniZY0KQqsiKjJ0zv3moKjNkUMeeH2x8/wHimr0N2STbgDIKr1SmMYW2EvPG8CRf0Bn1/x3pTUXC2gYhER6chw6+I6pW7DTPbhOD3PawiCfuWeXQlb7Z00ab6WSXfApLy5f/I6mPzjUG0aQtUisV3Olp2X26qX0r6w+wWNlcEZWd7AQ8J4tBMunzAQleFe8Zjy7mIpsEHpjdjdzL9BOkOXjCvPgisHkR3X0Wydw7Awwo/PsQCog2MEw2ihMQN/xIiIV+m2yG+/yNvlyAwCvDcCWxG0s/kjOgAhO8n/3rcWRu217TZMjTUnSr477SKnCE3HFjyhhxo1zK+QvOq5JxNfKbkB8/MHObMpBk5ULgrp/uqvBJAM+skkICU9+MsDJ71qwD9Zw1Cjv+c4eWEPlOghO8NAatPmdzaPSEsdj0zsoW6g40M81l/kYsRDQarBpJvPLcEfz/ZGY+vl7k/ODUdfUgYcIPvx/gbRk0U03rB7Io2FqjUbMiIQQwu1hDQN5DIy11xdF/GCmOTfOnZo6SR0VBpfPa+of+a1ubJaU4t4LCUhYW2WSKzLYn2XKwTGpxQ== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MW4PR11MB5911.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230022)(39860400002)(346002)(396003)(136003)(376002)(366004)(451199015)(122000001)(52536014)(66946007)(33656002)(8676002)(66446008)(186003)(66476007)(55236004)(64756008)(7696005)(5660300002)(478600001)(38070700005)(55016003)(107886003)(66556008)(82960400001)(38100700002)(41300700001)(86362001)(8936002)(26005)(110136005)(2906002)(6506007)(53546011)(316002)(4326008)(71200400001)(76116006)(83380400001)(9686003); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?Jhyudn8cOyAd15y9tDQtu3pn7vMEtQD5QxwqKdEy4/Nptte2hrKvgRTq39UT?= =?us-ascii?Q?dW9IUJXzVCxPFiPM01ECWx4MHeBJI/NWKXQe1TQRz2oFlOgKtoeBVuOq9O8V?= =?us-ascii?Q?QUl9nsSDsmpIFZJie3hq+eQHRun3JTVMtIOJWJHZTxXH2HSFTr1hjWphhtaM?= =?us-ascii?Q?v/QaOK4f5ohDxe4UY61jVgq+paKqO2D0zVLDPR3ecGegHoUbdR4ldCp6aEZJ?= =?us-ascii?Q?N4XbNg+uXNTDc5C2gg0eUbunIRgDHlqu05yaSbz9pyq967CSEv3caKkXqV7J?= =?us-ascii?Q?+9as446d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OfXIRdCsoH9?= =?us-ascii?Q?5Lld6Ic4yu+4EB+A/wDyrXLR78YPeHaBXTh5Mk7J48iD+QjO7n6O6PHwcVyh?= =?us-ascii?Q?3+z7LufsdkHCCdvuc68wi1dRtcqqLY+SBMiEbSuIbz0LQ3qkJYhBs4qRamIm?= =?us-ascii?Q?pfWxa9jryQJVjgt/ol2OlH8piUUtWU8tIU4B5sEYWcdEAtpZJUBegrlW1Ttn?= =?us-ascii?Q?49lehpFeTTCNts2cCDOnisU4NYe0OqAfjwQw9TC7eNXIdY8rbszBchRk9ZDn?= =?us-ascii?Q?0Jk6eulQV+38QpiQWjYZx+F/4eCgzCMsXTpmuPWImXUDbzjfQB8kRKMSAyTq?= =?us-ascii?Q?czexdwJ6RI3laf1CHWgvdQd1Gk4I9KAsW+ELyeFlrBMLhcdJDuCNSBg8Wcy5?= =?us-ascii?Q?1x6AnKQCnIXtgBuzxvPEWjcRPpxSvSqP2Waio3/5ralkbqBwfc95H8eHV1yp?= =?us-ascii?Q?/g=3D=3D?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MW4PR11MB5911.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: b8c94d8a-0dfb-48b6-ae9e-08da9619798c X-MS-Exchange-CrossTenant-originalarrivaltime: 14 Sep 2022 06:22:18.3801 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: BYY1ExElAuMLsTrEyJlRf1aj79CO15aBYNRhAMeDLlMkTClMe3HmH6XqDxvqc3Sk3pkbawSF0Qsacjk1M/zoRLRy33tnoR8rVIpEFagYef8= X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA1PR11MB6369 X-OriginatorOrg: intel.com 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 Hi Jay, > -----Original Message----- > From: Jayatheerthan, Jay > Sent: 13 September 2022 22:32 > To: Kundapura, Ganapati ; dev@dpdk.org; > jerinj@marvell.com > Cc: Naga Harish K, S V > Subject: RE: [PATCH v1] eventdev/eth_rx: sub event type gets reset >=20 > > -----Original Message----- > > From: Kundapura, Ganapati > > Sent: Tuesday, September 13, 2022 12:32 PM > > To: dev@dpdk.org; jerinj@marvell.com > > Cc: Jayatheerthan, Jay ; Naga Harish K, S > > V > > Subject: [PATCH v1] eventdev/eth_rx: sub event type gets reset > > > > In rte_event_eth_rx_adapter_queue_add(), sub_event_type of > rte_event > > structure is reset which is used by the application >=20 > Just a minor comment - application may or may not use this field. "which = can > be used" is better suited. Rest looks good. Thanks for posting. Updated commit message as suggested in V2 >=20 > With this change, > Acked-by: Jay Jayatheerthan >=20 Added Ack with commit header change in V2 > > to determine the processing function. > > > > Removed resetting of rte_event::sub_event_type > > > > Signed-off-by: Ganapati Kundapura > > > > diff --git a/lib/eventdev/rte_event_eth_rx_adapter.c > > b/lib/eventdev/rte_event_eth_rx_adapter.c > > index 64a6add..e42e41c 100644 > > --- a/lib/eventdev/rte_event_eth_rx_adapter.c > > +++ b/lib/eventdev/rte_event_eth_rx_adapter.c > > @@ -2054,7 +2054,6 @@ rxa_add_queue(struct event_eth_rx_adapter > *rx_adapter, > > qi_ev->event =3D ev->event; > > qi_ev->op =3D RTE_EVENT_OP_NEW; > > qi_ev->event_type =3D RTE_EVENT_TYPE_ETH_RX_ADAPTER; > > - qi_ev->sub_event_type =3D 0; > > > > if (conf->rx_queue_flags & > > > RTE_EVENT_ETH_RX_ADAPTER_QUEUE_FLOW_ID_VALID) { > > -- > > 2.6.4