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 89546A034F; Wed, 28 Jul 2021 08:44:08 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 60683410ED; Wed, 28 Jul 2021 08:44:08 +0200 (CEST) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by mails.dpdk.org (Postfix) with ESMTP id 10D1740142 for ; Wed, 28 Jul 2021 08:44:06 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10058"; a="210706366" X-IronPort-AV: E=Sophos;i="5.84,275,1620716400"; d="scan'208";a="210706366" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Jul 2021 23:44:06 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.84,275,1620716400"; d="scan'208";a="499112130" Received: from fmsmsx602.amr.corp.intel.com ([10.18.126.82]) by fmsmga004.fm.intel.com with ESMTP; 27 Jul 2021 23:44:05 -0700 Received: from fmsmsx603.amr.corp.intel.com (10.18.126.83) by fmsmsx602.amr.corp.intel.com (10.18.126.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.10; Tue, 27 Jul 2021 23:44:05 -0700 Received: from FMSEDG603.ED.cps.intel.com (10.1.192.133) by fmsmsx603.amr.corp.intel.com (10.18.126.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.10 via Frontend Transport; Tue, 27 Jul 2021 23:44:05 -0700 Received: from NAM12-DM6-obe.outbound.protection.outlook.com (104.47.59.171) by edgegateway.intel.com (192.55.55.68) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.10; Tue, 27 Jul 2021 23:44:05 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=YT6OdNqJLgQd+JfIxRbj5HDheFBc/sdr3bmd85Kp7hDWsbj8md3TgkHIB7ZMMgdPJpXn/TH93qIE/xnE9Q2Y0nzYvtlGTIQnGPnh4fmvmYonXueYfRheBTpEO+0ggWiUUuSKa420TVpxQxWkOpqzpJMYkmt5+IX5iGs84j2B9gCFyA1xwwxUr/4a9vJBHjGYt3XQv24nXUgCNlRy6P7DQuBQxmx5+B9igUmW3f18Ip7gCrfCWMfitvfptMTGNcpUJREU2a/a9Chhtkf2GgFMhvmy8ZPtfG2i9i3bjcsD4wU7al18WWvuz9pT+sXxHZrlSssaDUId1UKfpE46sAZtQA== 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-SenderADCheck; bh=wdo8Kd4vo9+vcJazwpiLnx3A8MLQiuqCqqxdhbMUtko=; b=eS42m25a8YXRRa0KrctlFKQKKOXTYWjWUTycPAOY6UOhDz8MxGatP+f/TUv8qCclREVLcoLyvGVbdRfmV6vDcNc4U27cJzcFpLIXabp3jIncAmEix6t0GE2NYh6+UwNA4F65goF5Z4+1L3ajbB3ekjvWpuP57xN2FhcegeoIP0yfQ9vTXKIlQZUVBEzYY/E9/Rzw7ZzOx9/0XCVEYpsSDdGLSegroZBmwKngPd6R0RpyF3eGgxaEe6nnFHj29ZtqrSvg17LABBOSXl4qHiqCeRYyOXM+URv7dAYQDCgnNhgAEVLt4FNX8QKK2jsmUabY0jiv7YpIh0Ggz4Hba2SFBg== 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 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=wdo8Kd4vo9+vcJazwpiLnx3A8MLQiuqCqqxdhbMUtko=; b=ZrS8gF5vQdidMjA8QUdg1k3bBbjaPWuUka23Roa37IEM3jXIck+1E14I6ga/LAr7vkIlu2moRtKzJnuGL/B+BaKuEWL0sV/dALMI4QW75XeH/ecEciq2QswSCg6m7KmUq1cMpt1rGT5KhkHw0O4AdJTMVq4Mf+HjPEWrKjUJbj4= Received: from SN6PR11MB3117.namprd11.prod.outlook.com (2603:10b6:805:d7::32) by SA2PR11MB5001.namprd11.prod.outlook.com (2603:10b6:806:118::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4373.17; Wed, 28 Jul 2021 06:44:04 +0000 Received: from SN6PR11MB3117.namprd11.prod.outlook.com ([fe80::a4cd:7d59:a399:fc3e]) by SN6PR11MB3117.namprd11.prod.outlook.com ([fe80::a4cd:7d59:a399:fc3e%5]) with mapi id 15.20.4373.019; Wed, 28 Jul 2021 06:44:04 +0000 From: "Jayatheerthan, Jay" To: "Naga Harish K, S V" , "jerinjacobk@gmail.com" CC: "dev@dpdk.org" Thread-Topic: [PATCH v2] eventdev: fix event port setup in tx adapter Thread-Index: AQHXgJWy7Bi6/DXeB0246ndHks5ZIqtX9fiA Date: Wed, 28 Jul 2021 06:44:04 +0000 Message-ID: References: <20210723081222.4176279-1-s.v.naga.harish.k@intel.com> <20210724141036.915356-1-s.v.naga.harish.k@intel.com> In-Reply-To: <20210724141036.915356-1-s.v.naga.harish.k@intel.com> 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.5.1.3 authentication-results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: bf98f463-6775-4c8c-894a-08d951931769 x-ms-traffictypediagnostic: SA2PR11MB5001: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:108; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: j8Tgglf5flZM24ehKHzedeepOes3tvFaOAYAmxDsee4Bm8oNouuNK9d4UNr+L+NypH5e5gItj/MbWVsKw9rhEql5AxD1ewWhmjxNQj1np6e39flFJdrc+vhoxe8vHXifev/hcWkX8287Lj8nFlhloV15q/sS9xw2nE/4PRrh3+3LQgBkyBfn22c4/I4vl3BbxUU8iq19y/LTOgFfanyQli9oNrcvSi6eGjs2sB2O/hAY/Sv52lXhAa2foG+SZM58+VWGHTHCVuGDESULQzN5Kjms4conxSLlPGga5yBkMRmqCglBvlq5w9eqkAU1JYrBIMHzwzXFH2rwR1Ud4D2ltaPREPKZuBzQMvy0jTEkv6YNFDlUyZeGKrDn1cy+6+4Mn9ZzqGO0sbWJXZQguQYJPZB8EOQoJzGfIeQ/a7WBsuyNijhAsHFQxlMVy495bBaQpRE+uqzxVTNVZjoveLPe06VdHM1tLx9wchIlEi9Vis20gBDBjPddBaxuS8R+lnTKIKqQAnCSAe7m/guhFfgv3HZye7jYUTR713AjVBP8eRSlTopqwL77Fgyr/OZlutL+9I3orzxe7600S2EYhjOIJ7Iaichecc/JrkVRHik/ONQRjwFSQ2nf32bLSv1oxzMMlBy8fxg4E47iUd+mR4K7C6uU/LeHJLqfT9uRyRMAqZmMc6CFRfabgIyG/oprmTycz521TeB95M+ftimFqqJxmw== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SN6PR11MB3117.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(136003)(346002)(39860400002)(396003)(376002)(110136005)(66946007)(122000001)(186003)(66556008)(7696005)(316002)(66476007)(71200400001)(478600001)(83380400001)(64756008)(38100700002)(66446008)(6506007)(76116006)(2906002)(8936002)(55016002)(53546011)(9686003)(26005)(86362001)(5660300002)(4326008)(52536014)(8676002)(38070700005)(33656002); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?ecb8igIFjURjkIUlhMYyLZN8P3wx7kYsbpap/41F3QjV7QJ3qFrcNT3qPUyn?= =?us-ascii?Q?/uoyCsB/fi4cqp2MSeDggvM60UVcf3mun5fUp4oWyHeR3+dDtacD2Yk5/u7Z?= =?us-ascii?Q?iB7sSkgeMBwu79hrBRXmU5Jat6D/JVoKIggtiGhd396vm50elcGfQYltuxje?= =?us-ascii?Q?QuvvVIB5yvDiBSJP5ERYbaE/DTS88wpY3mBjUDzjwx6GKX1IV7ml2eyT1t0C?= =?us-ascii?Q?agGs5f3Xunj9oDE9zEKflkhnrQkIhg1fRFw9i++apXIL1GgMo4I3eDzgVN64?= =?us-ascii?Q?0hRIUy88sUNfupkh+UBpAbPzS2AF70NO/sk9Go0YWQPudAaKFbAhhfzk/SmW?= =?us-ascii?Q?yvr0qSZ7r+Y/20ZlwhbONuoavj+nOBYKLnkVF+6vaQphYXdvPnKmTnSUFCXv?= =?us-ascii?Q?OjCxFcYyXv8o0Kf+CBA2jp/HpMUhthBVjdb+kHHUvaFIqFkf+dV0tx2RFuvC?= =?us-ascii?Q?ggoYfLGO0ShULlVH9WUc/SoXyW3jIBETH5hSC3C+OM+y2NKocexT/R/fE7dN?= =?us-ascii?Q?NkdbG3AYM7A16RcVlrHyHE67N19x2IxuCiTKNqT2PtNN6G+P8AqaGQMkleLh?= =?us-ascii?Q?pCOP20C8XzphyX3VfbR58dpZKCaH9hPf8fhQ7QesclXQVGaHZ1nxUfnNSdnD?= =?us-ascii?Q?pzKYTxYXpIhF/ymFQ/P9+JZF+MVN1kAB0L81Wi87OWsYnfD+41ijn9Qez6R8?= =?us-ascii?Q?M+/GtEbI+k/fXtci/gjk0X2MfGBFAcBUcj79UJdHM4BSfwJxLFV+uXDIwqwb?= =?us-ascii?Q?Yc0qycBLWcQOxJFGnK7mDRr9/+VDH8JaibGiij7S02mJ+YmbWR0JqSpl2Wzr?= =?us-ascii?Q?swbvVhmMzRYq7+EmhhJcDKLTfE4VPKB7rAFK7p717r3Kgk+qh/FDA3J6ofL+?= =?us-ascii?Q?VmDI9rkdBs9PAsKuV2x4HbfdPiyNbc1yiXgLu8qWox+mbzsxsA9rf8WUV4nG?= =?us-ascii?Q?MmjCsJHhB5KZ+wf2PinfnXETF7KRG+WrAopXVHY3PTaGqt122Fz1/Ni81BLk?= =?us-ascii?Q?nro7BFmYgZGv9Oivx6kTIddZpb/k4eLjfBLEXX3gl/JXtakfBaD+7uCeH5kj?= =?us-ascii?Q?fOlxNqqPwhW9T0AtTl0DEi3+u8Iaa6YygH/vLwmzsRgqH2jxTHM8av+6sKVv?= =?us-ascii?Q?AffmHuq9LkwPEtexpXfrK8WwOLbChR1qlHDO8M5VFyGBZg4mUkqQSE6V5KI+?= =?us-ascii?Q?91gGpiLjQ6Poeoa8C/od85g3g+7PnKlrASMO0qhlHTGmYoNfLWv2qM0ZisHU?= =?us-ascii?Q?TrEXYqnHVpH3VtXJUkgLl+Mlgpv/zbvPrMfJHgDwo3r+lyiuEqDIhVF65UeF?= =?us-ascii?Q?RC1t3+uU6uzI4DMiUpbL73a/?= 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: SN6PR11MB3117.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: bf98f463-6775-4c8c-894a-08d951931769 X-MS-Exchange-CrossTenant-originalarrivaltime: 28 Jul 2021 06:44:04.3171 (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: Zdcq519PQDtOYdox6ixt0joh4BduGSenZ6Rj8M9UD9UBHT/iiniaOLNfmdKWAyGWZQRQQBnWBkc5jMXvaaQjJJZdFuaqrqsUmtw92rfrgsg= X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA2PR11MB5001 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v2] eventdev: fix event port setup in tx adapter 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 Sender: "dev" > -----Original Message----- > From: Naga Harish K, S V > Sent: Saturday, July 24, 2021 7:41 PM > To: Jayatheerthan, Jay ; jerinjacobk@gmail.c= om > Cc: dev@dpdk.org > Subject: [PATCH v2] eventdev: fix event port setup in tx adapter >=20 > The event port config set by application in > rte_event_eth_tx_adapter_create API is modified in > default configuration callback function. This patch removes > this hardcode to use application provided event port > config value. >=20 > Fixes: ("eventdev: fix event port config override in tx adapter") @Jerin, does this look good to you ? >=20 > Signed-off-by: Naga Harish K, S V > --- > lib/eventdev/rte_event_eth_tx_adapter.c | 1 - > 1 file changed, 1 deletion(-) >=20 > diff --git a/lib/eventdev/rte_event_eth_tx_adapter.c b/lib/eventdev/rte_e= vent_eth_tx_adapter.c > index db260bfb68..18c0359db7 100644 > --- a/lib/eventdev/rte_event_eth_tx_adapter.c > +++ b/lib/eventdev/rte_event_eth_tx_adapter.c > @@ -286,7 +286,6 @@ txa_service_conf_cb(uint8_t __rte_unused id, uint8_t = dev_id, > return ret; > } >=20 > - pc->event_port_cfg =3D 0; > ret =3D rte_event_port_setup(dev_id, port_id, pc); > if (ret) { > RTE_EDEV_LOG_ERR("failed to setup event port %u\n", > -- > 2.25.1