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 606CAA0C47; Mon, 26 Jul 2021 15:07:58 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2233540F35; Mon, 26 Jul 2021 15:07:58 +0200 (CEST) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by mails.dpdk.org (Postfix) with ESMTP id B045E40DDA for ; Mon, 26 Jul 2021 15:07:56 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10056"; a="297804407" X-IronPort-AV: E=Sophos;i="5.84,270,1620716400"; d="scan'208";a="297804407" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Jul 2021 06:04:59 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.84,270,1620716400"; d="scan'208";a="664659880" Received: from fmsmsx604.amr.corp.intel.com ([10.18.126.84]) by fmsmga005.fm.intel.com with ESMTP; 26 Jul 2021 06:04:59 -0700 Received: from fmsmsx612.amr.corp.intel.com (10.18.126.92) by fmsmsx604.amr.corp.intel.com (10.18.126.84) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.10; Mon, 26 Jul 2021 06:04:59 -0700 Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) by fmsmsx612.amr.corp.intel.com (10.18.126.92) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.10; Mon, 26 Jul 2021 06:04:58 -0700 Received: from FMSEDG603.ED.cps.intel.com (10.1.192.133) by fmsmsx610.amr.corp.intel.com (10.18.126.90) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.10 via Frontend Transport; Mon, 26 Jul 2021 06:04:58 -0700 Received: from NAM11-DM6-obe.outbound.protection.outlook.com (104.47.57.177) 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; Mon, 26 Jul 2021 06:04:58 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=K5qJ+qD2eFFXUy5gq27MZgC1q5qv40H9KALIhe6o3F7nmPTtcEbm9bsU/5Wk5Tml7H+Ehx1jigz2zRkRyQJtAKYDK3WrxOWSCNIvZQMRHZMB0A9mbyTOvFvlxZILhMsN3j8obu10RABdALM10CUSYM9ntsWp52SApT46iMc0/J7vgjMvMKer37E1+FrZ86cLQ8HEpT2koun8/G5ibZO7gnlit7APvVH20J/KBjrbBQHvF8oD3ZFTVXNGKaCr3D7BTQOXuEm6KnU5yiBs7SCb+0FnpynxPNfRoa9M5gFMkCZBJkqShtJwd22NWPi8lhbKWEi6jQ57KDG01xuAD6U1cA== 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=7MiXFJvvxUkJVaKjLPhqFXxWv/qMVXC6AzYDMe1FRvA=; b=D3Lq1L7BNIycpkoJ92liD94p7Pz/8Pb/Aap5maTNM8NZngQ51VfsjHECvE2jXbBjCLZYx7rqM9gWjfn4v8ov4fgyM+i+gOkSRPRpXt2o3AQt9JPCtnNKJw2YFSdC3S8LV1S4W1K7+TAcSq3bOPmRL55pUe2enRywJO/P7y5PC/dmqaXj3UOePgHPOvJ5dqXRXNurp8OCA0SNW7MBgwZQ6tcfBiUMXULNhjsK+g/HKmL6rX3cquIrCw9ieP7MqY7xEEFq3eFANM7UvnR4Ug7zbCwYbPkGr8wcJBry4ww3Of83KPqfkw4uY6ZGStbGnefFEwWpTy4p1U71Rb9fhDOLYQ== 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=7MiXFJvvxUkJVaKjLPhqFXxWv/qMVXC6AzYDMe1FRvA=; b=Qooc5Bj0ZBN/3pEP34d0Wuujfyttsk7AImkJqXemeA+e1+8hexPMknoDEQM34dGYE/ZeyJ+WWTW/QblGTfjBA5YVjSZtboiCMPNcdAZKhnI49XF++HGsy9uuWYbxemeK5abgB/pD02n1Nj2TP8JZtSTESgA3J5XC4vMSwV9N5zo= Received: from CO1PR11MB4882.namprd11.prod.outlook.com (2603:10b6:303:97::8) by CO1PR11MB4915.namprd11.prod.outlook.com (2603:10b6:303:93::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4352.25; Mon, 26 Jul 2021 13:04:57 +0000 Received: from CO1PR11MB4882.namprd11.prod.outlook.com ([fe80::905b:f608:d0e6:6cf4]) by CO1PR11MB4882.namprd11.prod.outlook.com ([fe80::905b:f608:d0e6:6cf4%7]) with mapi id 15.20.4352.031; Mon, 26 Jul 2021 13:04:57 +0000 From: "Kundapura, Ganapati" To: "Kundapura, Ganapati" , dpdk-dev , Jerin Jacob , "Jayatheerthan, Jay" Thread-Topic: RFC: Enahancements to Rx adapter for DPDK 21.11 Thread-Index: Add/kJndQaG5SmUcSACniB6e6xDgNwCjiERQ Date: Mon, 26 Jul 2021 13:04:57 +0000 Message-ID: References: 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.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: 610e7125-d921-404b-7be6-08d95035f80c x-ms-traffictypediagnostic: CO1PR11MB4915: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:9508; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: tkv2Rx7wyvBw2ReaTvAx9R3+/qaSgJxtoVC+K7jzDkHjl80LxLJbz3hDq8MgyOru1TUVLWD4cekCkPfSWqcgfF69ZxKf/KT7xWU4JTuIR2yveOkjXC21VJeimTgD6OuygGgs9CeusZqh5P8q1ga8wdEWYrvXIDC8lCDkdeSZlNgizrQc4Xf29/eGO13puPReiq3c+3EfvLhajJrjzj3eSkW73i8SMTw8aJP6mkx5/EqbdGcjEp44idcLJYEptJ7cvZr04fORy+o+LJPgvm8pXsabJTZrCQOyuGmDpNBS9PU//pNnD+xJed+HDteT2OGDdWarzIDTJ2xhc+uzBx74eGmhq9rSsfcWRf9PcfISbiKDXFQMzeo62oOyPcPSelA72fCd2qphlZibqJoZbiV73TDENQUIFZgVxYsWo6+1v/zw0dkdJwPOCJRuYTD8y+yXgBZAwT4waD9/gpA1fT59QVbwttEphvq4tYzslw6R5RSAxAGjJ6C3RViyCM/LaS9zKOF6dTTakJuZ8aU/qhJokjvcILHo1PCQTXe2otMnRSUjEY2QVTP1eRBEuruN6UOWRQldsomwa/PbLyjIBpF+6eOW7Nn41tf1rtKR+nOHh9kZqnTlhaUtSh7ARKSaEqgN7/YFvWnxhEGfL/uUxbQGtjAAs03gRpN+b0H8+E98WJX5JgmYSMhPnL+Sl03lFkH8mamNTf+i6j4owSG1QzIqmQ== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CO1PR11MB4882.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(39860400002)(376002)(366004)(346002)(136003)(396003)(316002)(478600001)(5660300002)(55236004)(6636002)(83380400001)(33656002)(86362001)(122000001)(55016002)(66446008)(66476007)(66556008)(110136005)(76116006)(66946007)(8676002)(26005)(8936002)(64756008)(186003)(71200400001)(38100700002)(53546011)(2906002)(52536014)(6506007)(9686003)(7696005)(38070700004); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?91WKcA7VJhRuRvGheY8lsxAZH/XAbrkNUsy+6aJJtYDm/FMKUSoxYzaqmldF?= =?us-ascii?Q?MBg64ln3u8c/TKu+NgmdAha8n+u62uFeDJgohU9iN+zlh3jD8T/It60XOnoO?= =?us-ascii?Q?RimqquGw1Wv/gHPewxq1oLeRh7LWLlWALlEKJwTGS08pJa7jttDzPs2OdJ8M?= =?us-ascii?Q?h/XqxXA8A1tzkoMb/Tpq9AOI9GfOGbkiHMgmWqlpM/c+NYjyxEC+vTJpGLE9?= =?us-ascii?Q?VZbXeKxvyyNXgowY57gpI7DaIstf8WN7b5DXm+ckfvtGP8E1LL4zlnyjGINv?= =?us-ascii?Q?6De6Qg3fc8cbhtXJN+WOy2HqE1uTcW/EFLO+Mz4iz3uiLrsTGrtrrg/fpIU6?= =?us-ascii?Q?hTvvotHthLztsqXHv/uvSQMKg2fI2zB/HtT+fhhQ5n8Ux573AR5oDTigEUFq?= =?us-ascii?Q?PpDZ3xh99TyKVVddHB0NpyohoWFJRx1mgU/hG0idg/X2HBftEBjMw9d4guBv?= =?us-ascii?Q?REr7XkEidEMZw6Apd5AKof00fvGpgRJlFQcyDRHf9/w4VVAHPx+WaDrCiF9H?= =?us-ascii?Q?Knhyfycdt7/Qe8SWe4YqXeei7ZAisFqtHLETvCv7qX6jDjONXM15rrviO0tA?= =?us-ascii?Q?0CwfUo/CFId0Wvkb6pKR7wYO+KOMiE6cYOoC7HYzWEzZdEWKrvVx2dkSmp4c?= =?us-ascii?Q?ZNhi2ggxNlnFAJk/5eTcECqkCXZE8BQ7KV3e+tcYwO8gTHrKI+9caAPFJTj6?= =?us-ascii?Q?42RHSCnD9re//w1ZAysYC6eIDV00jq7m5qzFhp0al+IR+hMpdCn4pjVZGyal?= =?us-ascii?Q?YBbxVt1Lxdvx9gKWY5O1NqoViJzdIdiiaMnNq1uSZ2Q9ghlEXoVmt4BXrk2A?= =?us-ascii?Q?YHn/xLmbLxK5khTblEygv8ee6gvpfe65sMOTLPR6PqyCsPD2/HTza0Jds7sB?= =?us-ascii?Q?05pGnr03z2J+uqFuhB9UY59dbfIbilxJz5OIJan60VS+hGRTjQSzqAOKZdSy?= =?us-ascii?Q?D385Bsn3F48wjAQq1RdqmbcxHKoDh0v099jwg3n0XE83I9rImrTLPoS1J+4z?= =?us-ascii?Q?gcq8d/2pnScK4cKzUDM/F7GIpo6TvmmmBYmGHWsgSrk1NYodV91M8UcralI7?= =?us-ascii?Q?HroEoJoYgq1smxfPObWd3BQBYo0V4vNv2dTULYHWcfm30wVHY2rs8HL7K674?= =?us-ascii?Q?kES/EI90TJ2viAQGQConRMTE7WPb6nWwI5g0ziacTs10VX681I6AK1t2StJM?= =?us-ascii?Q?4NrqozhJD1sZKMgCXQilG9eppzHrk/3z0SsXrun4zkfZKIEoqhjAqS4SZzPt?= =?us-ascii?Q?t/irmStQPQilhungaY3LcA7TymZawFaYM6Zx3ujldn+wIf/KrBQsY91Nknid?= =?us-ascii?Q?1ig=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: CO1PR11MB4882.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 610e7125-d921-404b-7be6-08d95035f80c X-MS-Exchange-CrossTenant-originalarrivaltime: 26 Jul 2021 13:04:57.3198 (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: hq6RnBhNhYmK5QOAerTgZmoJBSaXVWULP0AKOaueGs7MREZSWE9k0EbHHYQKsOF4khHJ4mRd+bY0s9cqUs0gHRLLgPbLgEpMBp8RNNFsIDA= X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO1PR11MB4915 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] RFC: Enahancements to Rx adapter for DPDK 21.11 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" A gentle ping for comments. -----Original Message----- From: dev On Behalf Of Kundapura, Ganapati Sent: 23 July 2021 12:33 To: dpdk-dev ; Jerin Jacob ; Jayatheer= than, Jay Subject: [dpdk-dev] RFC: Enahancements to Rx adapter for DPDK 21.11 Hi dpdk-dev, We would like to submit series of patches to Rx adapters that will enhance = the configuration and performance. Please find the details below. (1) Configure Rx event buffer at run time Add new api to configure the size of the Rx event buffer at run time. This api allows setting the size of the event buffer at adapter level. (2) Change packet enqueue buffer in Rx adapter to circular buffer Rx adapter uses memmove() to move unprocessed events to the begining of packet enqueue buffer which consumes good amount of CPU cycles. (3) Add API to retrieve the Rx queue info Rx queue info containining flags for handling received packets, event queue identifier, schedular type, event priority, polling frequence of the receive queue and flow identifier (4) Add adapter_stats cli to retrive Rx/Tx adapter stats and rxq info This cli displays Rx and Tx adapter stats containing recieved packet co= unt, eventdev enqueue count, enqueue retry count, event buffer size, queue p= oll count, transmitted packet count, packet dropped count, transmit fail count etc= and rx queue info. (5) Update Rx timestamp in mbuf using mbuf dynamic field Add support to register timestamp dynamic field in mbuf Update the timestamp in mbuf for each packet before eventdev enqueue We look forward to feedback on this proposal. Once we have initial feedback= , patches will be submitted for review. Thanks, Ganapati