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 C6868A0C56; Wed, 8 Sep 2021 12:53:32 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8DF3C4117B; Wed, 8 Sep 2021 12:53:32 +0200 (CEST) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by mails.dpdk.org (Postfix) with ESMTP id DDA234115D for ; Wed, 8 Sep 2021 12:53:30 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10100"; a="220133251" X-IronPort-AV: E=Sophos;i="5.85,277,1624345200"; d="scan'208";a="220133251" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Sep 2021 03:53:25 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.85,277,1624345200"; d="scan'208";a="503514270" Received: from orsmsx602.amr.corp.intel.com ([10.22.229.15]) by fmsmga008.fm.intel.com with ESMTP; 08 Sep 2021 03:53:25 -0700 Received: from orsmsx601.amr.corp.intel.com (10.22.229.14) 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.2242.12; Wed, 8 Sep 2021 03:53:25 -0700 Received: from ORSEDG601.ED.cps.intel.com (10.7.248.6) by orsmsx601.amr.corp.intel.com (10.22.229.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12 via Frontend Transport; Wed, 8 Sep 2021 03:53:25 -0700 Received: from NAM12-DM6-obe.outbound.protection.outlook.com (104.47.59.168) by edgegateway.intel.com (134.134.137.102) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.10; Wed, 8 Sep 2021 03:53:24 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jpWxrvjNeCMIkfkeUbuluyCLetbPM5NeR8vYb4sgU81rsR3B9OPIhw+bXA9fPS9QU1tGAteREC61fZd/H8V5ZWPf60bFdtHJpZ11NNgisDjWPgdOytuAPyn2EfAhE7Xr1p1RLg5w1vlI2ISM8RxyaOclE/ncUlVfRxmLG/1mdZzz+YN6WaE3aBUc47dm43lVTWD2Scpc/46DWxt+/Stpr5jI447L8/Ppje3s7QRRP4nlvCo1M1g7CHw0R7Pt9GtbXvvJvXAQQTbx3cHE7G/qErYqhCY4A2gLvXs0tbLFjyx3Jdv2M1sn6NfVAuiaDzMHoqoKqKmlyptxHK0Mj177aw== 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; bh=Q6yxcES6wtsOLnwAgtnHx/GrgoxsttnHPDqdzzB4D8E=; b=Z3izhvGaG0DSADV8pjAqyrHQhGj8aVIy8EiXYcWpzka8zbsqtwjrZfCt6lrOjN98g0jDvVa+cRbRkmQLrzC1px8+VsMQCqYR3lX03NoL3SYdkyDfg1rCjvwKdcqWivzGdWX5EFRSSDVesIsf/WkaEjjV0WAnR3b4JXMZZd1t7e7dOkAVsXjJjihTrrpslYfjTlTjwdSASbSy7dI9UnTGtiWmSTOBwJXJUZbAANZLmfe92R21qLOOcjOSI8qrFqGmvUNA17PuSA1CiItPyYBa6wewZKnOxEw5zU6NPgcFKf/gOegWQVKCy2Ygk6AjF9KSUSsFF1zPNrxLo97CuQksXQ== 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=Q6yxcES6wtsOLnwAgtnHx/GrgoxsttnHPDqdzzB4D8E=; b=wz52d8uzo+z/uEk8/ZeaWsGcRB+PTFUudRqAt2EKdpoo1uiqLxT6EwBhk8CYyQRGla9aanYkjspFmJLoF9mGKm7ZujQGwv+68T91r3pYMWHOHNVkHfLfbZ07cztsuhXebVMNvBe4sMHmVgD5Chs7D66x4FrLnZeANP6my8Y38Bs= Received: from PH0PR11MB5207.namprd11.prod.outlook.com (2603:10b6:510:32::15) by PH0PR11MB5144.namprd11.prod.outlook.com (2603:10b6:510:3e::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4478.22; Wed, 8 Sep 2021 10:53:21 +0000 Received: from PH0PR11MB5207.namprd11.prod.outlook.com ([fe80::c42e:f6ab:d4d6:dc8a]) by PH0PR11MB5207.namprd11.prod.outlook.com ([fe80::c42e:f6ab:d4d6:dc8a%6]) with mapi id 15.20.4478.025; Wed, 8 Sep 2021 10:53:21 +0000 From: "Walsh, Conor" To: "Richardson, Bruce" , "dev@dpdk.org" CC: "Laatz, Kevin" , "fengchengwen@huawei.com" , "jerinj@marvell.com" Thread-Topic: [PATCH v3 2/8] dmadev: add burst capacity API Thread-Index: AQHXpAhhXtHNg6+5VESw3EcYqVoOt6uZ9wYg Date: Wed, 8 Sep 2021 10:53:21 +0000 Message-ID: References: <20210826183301.333442-1-bruce.richardson@intel.com> <20210907164925.291904-1-bruce.richardson@intel.com> <20210907164925.291904-3-bruce.richardson@intel.com> In-Reply-To: <20210907164925.291904-3-bruce.richardson@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-reaction: no-action dlp-version: 11.5.1.3 dlp-product: dlpe-windows 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: d7bf566c-f2e2-4f79-db63-08d972b6e010 x-ms-traffictypediagnostic: PH0PR11MB5144: x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:7219; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: IMrJAP3PNkHKWQqtaLdykxGKf1Kh4aXzTkSvO1BU3RGuxi7GQ2QQnx/lp4bkmK4KHqTYdIWNhMwnL/m/R7dHFMZSUxaWYyhJsHMDw/9acB7r4sbK2L9C2gIUlBXoD0+Gzw3noCaEWTyz9wlTiONyvarRjW2s3RVSlVt/Ip0pj5HrDTQp693sdswISkhuAPb2R1PS50BvuBlmF6iFxmi29VmjUdb1+7W0Mx02VcJtcyNQiSRFbwOaeQHVOU/9WCfyMEuiaW9OjbWXYuNx3UNjV+kwhG/nR5uKyPry9LBa3RrhWHEjI+GK3rFz8ODrk/Qqb8/Uyk6eduE7n+SCDo4zeI++AE2ODYZsxYkuDWXieD60M8isfzbWSRWU60bmWEfi54DZCEMViu0JBHHbFPQTmCMTe9hc6cVBpjS57/mbd5trZXNxSzctKn8pQVH3W/fFL2UqR6M4MBGcSXI2v+b+ALP51/Zoi1T8eremw1bdF5LEYgaOWZeHcmBNqHsL58Kk/h7Sn+U8LzFx25A9XaVjXnnAxjmelS+4K3JvNS+5cmUuD+Ku5UkEzZ15b+C2rKOkk+ZYTCbxXTxK0vDbBCTwwWSmpOWTngL7c3Ug47oXZ8/srYvEHTnFFS5e+alrZ2CVbaR32PY1zQL5mJAYFAlq9KbjdM4f5UI0paS/pxS5JRbt4RCy+/RTlkdRJXtGGo+nhcKGFsDnTf1hKAb2iSYlJA== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PH0PR11MB5207.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(7696005)(186003)(26005)(38070700005)(33656002)(5660300002)(9686003)(508600001)(71200400001)(55016002)(8676002)(52536014)(54906003)(76116006)(4326008)(6506007)(38100700002)(66446008)(64756008)(66476007)(66556008)(110136005)(66946007)(8936002)(2906002)(316002)(122000001)(86362001)(4744005); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?IXoV9EpnyiByaTQkyWgFH1d56NKFEga6sfQz8csZTvGBuOMj7gNXDqU+enwg?= =?us-ascii?Q?MmN1dbNwMhgYrj+tfex5xTbfNjcW9ADf9tU3GS+N1XApUYN4klrlmLKKW8jB?= =?us-ascii?Q?GQVHndQSytSzOrgBrrV9J4vCOj8X6DF2rXwHIJkZqh3+QAfy4Q5L8vPjkYeZ?= =?us-ascii?Q?FEfOCEDo5OUwI82U35YWOzh7t0KclTnuoOl+l51DTqKKqmLjv2qF65MDtg1x?= =?us-ascii?Q?FSmd0e8llsl//nIBWxGej923CNxdqJWDtc3Q9L1rKeqSyFhregduSV5/h2Q8?= =?us-ascii?Q?+d8+3ncm3V844LV+wCEIrqWAdI176BAWlTL3ztKE3t7UMBUeGPOZ1rQ3GO48?= =?us-ascii?Q?q5AuQn3cGklfe1sGCoMUPyGsBCZH51t9xOl4ofnfYFN0EM9bqAh5HC8/uOIB?= =?us-ascii?Q?evy8b9zPxBZj6pGJjMmUcAS91UYxHnAQaXobv2l9XTMulT86O2c7YI/CfkfZ?= =?us-ascii?Q?7STnuaNquOoQ2jIBU2jE8MapJk0WfBmvOl6Fke8t/9Q8nzCKlZ8nZMlj7AU9?= =?us-ascii?Q?ft6GUhVg3aFsqvTyvN0WUE+r4Agtr6gT2FUEODTruuZni38q4CwIBdHqvXZB?= =?us-ascii?Q?JQh/kn9EFCQuCYiglNsmqck4qM7r7z6n93v3REqswVXPC4OWp0Hp0LjL6vBo?= =?us-ascii?Q?PBvIpz0DhH1XEJqf5TpuhDPhFhPOfB9p91ZZM7g8RWc7+Sf7b4wQhGV6jvqM?= =?us-ascii?Q?2d8vTHFQ+/HS91B+ZchyjCA/cCVMndhr3fB+FYNY8owFZERgnZ/soYbQ+jCt?= =?us-ascii?Q?90aMDZ6jt31DUs/S0/KAFK7Yoq4zXHyVgtSFpLEU5Qf7/ngh7W+llilva6gW?= =?us-ascii?Q?byStU+MGOBbbMUgaKlAHX97Asll2F+AcjvAmRuttTQVaSC6RtplWJbnnm4BM?= =?us-ascii?Q?CRMun7qo1hQ1lUYaKV5Wft0O5I8DN6kkELzsDqA7fhjfZbuk1a+YHRw+NBBN?= =?us-ascii?Q?XEWlFQl6CwjHc9Wd5sQ6mP0nmuF14vtVvFSIZ0Aaza1LerPgqXQ5fZuajzJT?= =?us-ascii?Q?t+Ysnhz9YUcEkxhxljfJDaAnDsxi5+IlbJyZRDMt2tZOJ8Hc65c/xonBoPRv?= =?us-ascii?Q?IfTK++h56ykkm2E37K+F2UxnySvVdsBI1TBu09JZ2TGaALDaAJKT6wipz0j4?= =?us-ascii?Q?Sq+7oQRhYoFjI9QJd2eNP0UxXcBd7iRtYuQ4xYblnmhlvgpWK/ziIjZWihr3?= =?us-ascii?Q?lwjE8pm/CcovUPqpmCik2x+GUI23O1LnzMf1Yam9IZmnTOcQz8wB7hYCYVze?= =?us-ascii?Q?xU7SOgorFeTSMfnDFTIJybp0nV6+HyLAAAEl7oSVPJNCmMhu3XRo3QC+qJWM?= =?us-ascii?Q?wgE=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: PH0PR11MB5207.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: d7bf566c-f2e2-4f79-db63-08d972b6e010 X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Sep 2021 10:53:21.7654 (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: GUt0YLY6jKO/Qa/uXKfF6U6MNJ0nf2FQtWYLzc0GY+pHzht6KnVBuN4uQl3jvioNGxOPXhqjVzUk0uhqqQZ8Gw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR11MB5144 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v3 2/8] dmadev: add burst capacity API 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" > Subject: [PATCH v3 2/8] dmadev: add burst capacity API >=20 > From: Kevin Laatz >=20 > Add a burst capacity check API to the dmadev library. This API is useful = to > applications which need to how many descriptors can be enqueued in the > current batch. For example, it could be used to determine whether all > segments of a multi-segment packet can be enqueued in the same batch or > not > (to avoid half-offload of the packet). >=20 > Signed-off-by: Kevin Laatz > --- Reviewed-by: Conor Walsh