From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id D5B42A04B5; Tue, 27 Oct 2020 15:11:22 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 15C5254AE; Tue, 27 Oct 2020 15:11:21 +0100 (CET) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id A72C8377E for ; Tue, 27 Oct 2020 15:11:17 +0100 (CET) IronPort-SDR: /RMEqCkoLuME91YVO5bee+WFkGgmMLILw5HFzdIvZ5goBtgtFKl3L07kTo6c2gPO4NLY6TzvOt 0H93sjUPrIeA== X-IronPort-AV: E=McAfee;i="6000,8403,9786"; a="168185342" X-IronPort-AV: E=Sophos;i="5.77,424,1596524400"; d="scan'208";a="168185342" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Oct 2020 07:11:15 -0700 IronPort-SDR: GkpWgTpR7I5fdDldkXetd2EiR2wF7hCX29d+yFOvo/R+EqxWZWT8Td+wP/ukOq+X/inm9NpTqh MVvhyfcwaIPQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.77,424,1596524400"; d="scan'208";a="350288949" Received: from fmsmsx604.amr.corp.intel.com ([10.18.126.84]) by orsmga008.jf.intel.com with ESMTP; 27 Oct 2020 07:11:13 -0700 Received: from fmsmsx609.amr.corp.intel.com (10.18.126.89) 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.1713.5; Tue, 27 Oct 2020 07:11:11 -0700 Received: from fmsmsx603.amr.corp.intel.com (10.18.126.83) by fmsmsx609.amr.corp.intel.com (10.18.126.89) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Tue, 27 Oct 2020 07:11:10 -0700 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) 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.1713.5 via Frontend Transport; Tue, 27 Oct 2020 07:11:10 -0700 Received: from NAM11-CO1-obe.outbound.protection.outlook.com (104.47.56.174) by edgegateway.intel.com (192.55.55.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.1713.5; Tue, 27 Oct 2020 07:11:10 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=j/FjqruZoJb1Vm8dRr3Utgwo5O4wTdne8xjJs4wX455kAw3aLCnNHAGLu8GD2G3EZcOdMKE9cKIOFF8X4w9ZDG8lD8+GuPAjqc2ayuqSc1gpYaDacw+VzuLgFIXphZRxXQaOk+kYzwD6zCs/6jaUfLjIBSPwblQNTtuyPUoEhDwL/SAEsCg2HJbpJU9bGqeKK3vrvEzM08ko0d8CF9SgIaPz0ku/ja41ahcTI2ts9l8JQqOcuPOQ5S1SYwW7kXc9qlwqX2n+KljmMP0hQ/zS3O7ETOQHLbz1hv78EEIoubz+U3JlroK/Eb8BipjZZyWpIrGGRcMKHqVr4cgpfgHIxQ== 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=FTR1pg7xERiSrwgmXZeQibH6rbV43JO4JIR/qKUineM=; b=ZkkZJYncxtQ7Ok5e9sBcMeXSMpP1Ax8abLNU+R+QX9+hC2HcC0xXH8bv9bGzJ9T/yLJ8iJggqQXyHnJukyRHvm3ZayuZ3qqiRbNDFj0QaDViP0JKLsKLrW5iLzFeFPvGdqdmiSgqh4neJxAlfHrCqV4T/joqBvuptGtnNBHW10//sr7C+8y3PbT/5iFmZ89jJYlMGdM4xmzxCrdftfFV7RexaqKBI11TbwWLTtq2LWrlf1dHMUNt9d/i1twQUdJexFh1TybEPp/WFhGm0zuvdARo9FqDECs6pd5DIB7Jmo3kybaMplfcbEUOdiGXklCqLV1Y8BanfmJVOoKzcXRFxw== 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=FTR1pg7xERiSrwgmXZeQibH6rbV43JO4JIR/qKUineM=; b=kD8+FKSfkKkZF3BmURm1KkYtVl0xG+aBaeINE+tY8i01AddvTEX0mjNPif06wAcs9ZccmvgqLOpkrCxuHZT0smuppyuy/SSOUnpyIDR62Ptk4ldB3PgvRgy/vUYoKyKTmioNe1Y4Cv0rssg4CUHDZTPs0ARWMX2Mcd1TEFKbL5o= Received: from BYAPR11MB3301.namprd11.prod.outlook.com (2603:10b6:a03:7f::26) by SJ0PR11MB5039.namprd11.prod.outlook.com (2603:10b6:a03:2da::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3499.18; Tue, 27 Oct 2020 14:11:09 +0000 Received: from BYAPR11MB3301.namprd11.prod.outlook.com ([fe80::f5a4:3f6b:ade3:296b]) by BYAPR11MB3301.namprd11.prod.outlook.com ([fe80::f5a4:3f6b:ade3:296b%3]) with mapi id 15.20.3499.018; Tue, 27 Oct 2020 14:11:09 +0000 From: "Ananyev, Konstantin" To: Honnappa Nagarahalli , "dev@dpdk.org" , "stephen@networkplumber.org" CC: "dharmik.thakkar@arm.com" , "ruifeng.wang@arm.com" , "olivier.matz@6wind.com" , "david.marchand@redhat.com" , "nd@arm.com" Thread-Topic: [PATCH v5 1/8] lib/ring: add zero copy APIs Thread-Index: AQHWqpIvIRDKxysUA0ixLdp4yKZzrqmrgLzA Date: Tue, 27 Oct 2020 14:11:09 +0000 Message-ID: References: <20200224203931.21256-1-honnappa.nagarahalli@arm.com> <20201025054556.14277-1-honnappa.nagarahalli@arm.com> <20201025054556.14277-2-honnappa.nagarahalli@arm.com> In-Reply-To: <20201025054556.14277-2-honnappa.nagarahalli@arm.com> Accept-Language: en-GB, 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: arm.com; dkim=none (message not signed) header.d=none;arm.com; dmarc=none action=none header.from=intel.com; x-originating-ip: [46.7.39.127] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 1334d36c-5d81-4d21-310b-08d87a822727 x-ms-traffictypediagnostic: SJ0PR11MB5039: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:6430; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 8z/9QpAknOyPwTdP15EkTQncqnCKxa/x0hCnZEBKE3jxMgwzFttbgkXQSBIQ22Baqu4v7Fy+lB/Ho1kmkXjV8fOO7MxniE2zzqTwfU3pVKwD0615QqGbpHrZOFIFCjN9behqd4tG6/Fx5dGSpv1AcCqVYrBMNOmyBWQR/dkzYvMB07oq++OXCUbK3CwuXWIRcGT5A3llTKlTVa+Ju8YqkoxGNaw+z/ZhL6ymGTv0jpQYsMMSlTM/ZISgmcoCC3VBxuczcJdmC/mbaBCL+ZlL3no6zg+rJAgSY+7iio+Jz0ZCRj8tsKsVvQ7ZE5AApIW2ejjHbNDtPBil7pHdTwbc/A== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BYAPR11MB3301.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(396003)(366004)(136003)(39860400002)(376002)(346002)(5660300002)(2906002)(76116006)(9686003)(8676002)(66476007)(26005)(8936002)(66946007)(66556008)(186003)(6506007)(64756008)(66446008)(7696005)(4326008)(71200400001)(52536014)(110136005)(86362001)(478600001)(54906003)(33656002)(316002)(4744005)(55016002); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata: 0bGY+INMPoNqjG4R1mQNrdfRYVXfinzEO7oNwBDiGbtiS1GiRc2cixl7ly5xUU7ghi0pH2dO785Zj8VA9uLyM3COrFO9jCstVV7DE8Woo3RXpIeW+dDZ9Wv24t0BZOFp9wtB7lkWjRz6ZgJ3BYNUbCxTGF6BJ61MgCoe46B12MWBKdOhfDxJAP7I1TSCT4HiFnnBHRwRK4ydQ7tS3L98Rau6Awc1iQElFPqo7aWKWAEmfygcWjdVGyc3Xkip3zakoYs9U6nhkMemXD3z+qggbY6q/6CbGcWp4RF5v5Q6yQHMEAIKXyLlavxckjDq/ceM5FM/V5wvsMLYFQr91ebXaaoT/y3CCea8LXYIBW/dQ/3mAPZKJ4Zvm7K84P7VjKwfzHH222wxviJqhgZAFa3hYxmSKQAYkwvApv6/xl7WeA5P8YLEo2pNwDZ1A2FTiqCXTDsbyDIQGhjKJ8Pz70nGe+Xvojaiv/dALX7C1MfJqH8/NUNoKR4XYFcLyd2JqVsfF9p7Fk6tu1vZ5lYdnN1FJYCgwfGPgi2/7QMh2bLN5gMxuCBOiCnXuznP4LQxhSi4yZF1LAIIQLUqhPGag5DXfe6oCeNP3zLhQd541tO2VgDxhXPgGeVa6XiAw6q1TybBWBoL2Z/wr401lN3ZLJtARQ== x-ms-exchange-transport-forked: True 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: BYAPR11MB3301.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1334d36c-5d81-4d21-310b-08d87a822727 X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Oct 2020 14:11:09.2902 (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: 57AcQDFdCWAafYR80FQ0D4EjWBHBGPgzim9Ttui5e8a+LbT+ASo/w4lUfAPdYs38Zl2TMfZQiaWHxmUM53+SKbVmMp36etkLO8/s3Vhxm94= X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ0PR11MB5039 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v5 1/8] lib/ring: add zero copy APIs X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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" >=20 > Add zero-copy APIs. These APIs provide the capability to > copy the data to/from the ring memory directly, without > having a temporary copy (for ex: an array of mbufs on > the stack). Use cases that involve copying large amount > of data to/from the ring can benefit from these APIs. >=20 > Signed-off-by: Honnappa Nagarahalli > Reviewed-by: Dharmik Thakkar > --- Acked-by: Konstantin Ananyev > 2.17.1