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 79C94A052A; Wed, 27 Jan 2021 10:31:27 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id DD051140D94; Wed, 27 Jan 2021 10:31:26 +0100 (CET) Received: from hqnvemgate24.nvidia.com (hqnvemgate24.nvidia.com [216.228.121.143]) by mails.dpdk.org (Postfix) with ESMTP id 1164F140D93 for ; Wed, 27 Jan 2021 10:31:24 +0100 (CET) Received: from hqpgpgate101.nvidia.com (Not Verified[216.228.121.13]) by hqnvemgate24.nvidia.com (using TLS: TLSv1.2, DES-CBC3-SHA) id ; Wed, 27 Jan 2021 01:31:24 -0800 Received: from HQMAIL107.nvidia.com ([172.20.161.6]) by hqpgpgate101.nvidia.com (PGP Universal service); Wed, 27 Jan 2021 01:31:24 -0800 X-PGP-Universal: processed; by hqpgpgate101.nvidia.com on Wed, 27 Jan 2021 01:31:24 -0800 Received: from HKMAIL101.nvidia.com (10.18.16.10) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Wed, 27 Jan 2021 09:31:21 +0000 Received: from HKMAIL101.nvidia.com (10.18.16.10) by HKMAIL101.nvidia.com (10.18.16.10) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Wed, 27 Jan 2021 09:31:19 +0000 Received: from NAM10-DM6-obe.outbound.protection.outlook.com (104.47.58.101) by HKMAIL101.nvidia.com (10.18.16.10) with Microsoft SMTP Server (TLS) id 15.0.1473.3 via Frontend Transport; Wed, 27 Jan 2021 09:31:19 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=VeUy01/MiHWWw45MwMbNaSbIeEx5tvT9E8EwoSSi4J+fl/1dnz0tioTJdIV2WaXaMoGJMilZUOR1f/vn0MaYM5a4VQe9mr+DrE9YiD0LZAOmVfhQ74H30JDeX67Y2Dc3pmsntHm7GdUn0tAKHchlZWVtwEAyiGgGvMI0NiIoxTX1gUubwgQTrwVhDimSbNOT3H/MbDqDkqrXui7ihjT+iYKaZvY+bDcbZ+IAWSNkFuNkNrY9h40c7zLZLl2DzUIcduEsV4tt+Z8lUl0mx/sQY1eJdBGKEKY7mEc9On/owHcEyLg0Ene9by/dbxVU+mx29CY7AOTA0v9yzqr/eiN8Cg== 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=aTwXBciTIQs94oKJa4xuHdq4bFORgB8ZaGCsmWlE6JI=; b=YT+M3zDmiOv2nsNvrw57R0cIvNcdR05l/VsHOirpQAXx2Q1SPtyR089SPVKnoImw02vpING/L6kKN/7OFymfp04C605b775W6jZf0pfKl0sMvtKmM1zXsaZps2hfFnFklkSIC4SHzrR5jwkEgDqquhRt8GxYX97y0kkSOs8HNld2WH5iuk2thyMFXfm20vfthKK3xc2shQBzNz3mpI4MM21BSrktDoL/zZpyHVXTTqN/5+lW2GDJEUTLd/zyANu39aCVs/scoNZB0BlE5agzso7SYQ7c0Y2LAWY4XeL4PjrE+oZP+mJUZpqYNRZ4jJR3UOQZyGG4nbRkex+EpldE0g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nvidia.com; dmarc=pass action=none header.from=nvidia.com; dkim=pass header.d=nvidia.com; arc=none Received: from DM6PR12MB2748.namprd12.prod.outlook.com (2603:10b6:5:43::28) by DM5PR12MB1723.namprd12.prod.outlook.com (2603:10b6:3:111::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3784.12; Wed, 27 Jan 2021 09:31:17 +0000 Received: from DM6PR12MB2748.namprd12.prod.outlook.com ([fe80::759a:fb10:c6af:87a3]) by DM6PR12MB2748.namprd12.prod.outlook.com ([fe80::759a:fb10:c6af:87a3%7]) with mapi id 15.20.3742.015; Wed, 27 Jan 2021 09:31:17 +0000 From: Raslan Darawsheh To: Slava Ovsiienko , "dev@dpdk.org" CC: Matan Azrad , Ori Kam , NBU-Contact-Thomas Monjalon , Alexander Kozyrev Thread-Topic: [PATCH v3 0/2] add mbuf fast free offload support Thread-Index: AQHW8OG8JVYYJB9ceUCrB7el38YCu6o7PG8g Date: Wed, 27 Jan 2021 09:31:16 +0000 Message-ID: References: <1608311697-31529-1-git-send-email-viacheslavo@nvidia.com> <1611335529-26503-1-git-send-email-viacheslavo@nvidia.com> In-Reply-To: <1611335529-26503-1-git-send-email-viacheslavo@nvidia.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: nvidia.com; dkim=none (message not signed) header.d=none;nvidia.com; dmarc=none action=none header.from=nvidia.com; x-originating-ip: [188.161.229.85] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 6f805f09-a4a1-4492-b055-08d8c2a64c21 x-ms-traffictypediagnostic: DM5PR12MB1723: x-ld-processed: 43083d15-7273-40c1-b7db-39efd9ccc17a,ExtAddr x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8882; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: +UGT4hHd2f84PQyuMEOpppfIKxzdNSlIft7OTjSMT5s5yST6geWX2VqiwDk21yUNjfRpBN0HKHs1wkyI+A/GCumVy2Zj3l7wdFEGlT3avS+tfzrEbtsStjzmnEv2bZW5jLaSfosTr3vVpF28kHMVFUZmmxJV49q/NjoxXDnZfJj71+GuiP8q7DC+qjecgDAfuSPV7sC3T2y497mi0UxDjaDAdYMxfuiXkdjGSXWNIpiJ/Q2LbPLdsoN5JtPJsWi1wEeuK3g0C5xuOwes1qk1nFDcd67wGRkW4+qmwoi5gOGWz4phXH4rbLj19XVokwHmUiYnJzlMJn/L10c3bvdHmpPSdw226ouGgxmuZ+sRRaMqr18Wo9D5aGnxR7yi+lEqOe8GYlcjl72L++lWcnTkgLYc01U2zAQIeVhqyj7ZEamp9R3bB9pVTCnB4GTGXVPLc9G5/rvAWjJk6HMlRheYJZxApi3MHfLOPKGaC1kjQwCXUL81jpgKixL3no88WB5tBSbwdVSoACojz/ILSeAHj1lv3r65hVEvKE7Kud/Li6AHcLfD3HfGYVT49Fwk8phP5+1Bl56i5wmDgBm0mJuBFA6NG3gAPFttoDV7W/X1me4= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM6PR12MB2748.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(136003)(396003)(346002)(376002)(366004)(39860400002)(7696005)(6506007)(66946007)(64756008)(86362001)(9686003)(478600001)(26005)(186003)(71200400001)(55016002)(8676002)(966005)(45080400002)(54906003)(53546011)(66446008)(107886003)(5660300002)(110136005)(83380400001)(8936002)(2906002)(33656002)(52536014)(316002)(4326008)(76116006)(66556008)(66476007); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: =?us-ascii?Q?J7HlS9kT3Lt1xLtb+arXRvWLHfQqGUlnJt/6/sN/zDjcaP/fEK4xzakNfysI?= =?us-ascii?Q?jK9+iyXzZnJFhhSCEpCe/Lz/5OwjYmB4Q0ppsKD7ZHUkOVZXGTYEyWrZu1Ms?= =?us-ascii?Q?Lr/PShrTwWYujrLKe0VMbBKSglFWTEgLEsfTjnnJRpJex/odr32TzpEyBi0d?= =?us-ascii?Q?u1RxKwMjSGAK1C1RBGmqwwICB/W+CpT7wO8k1fjeFZiW0a4II6Bm4+zKRKwT?= =?us-ascii?Q?KqAkrOIlbbf5IYBt5PbscpIxSTyne4Ry5mDePUbqKDbm9jQ1/CGxvGDljNXf?= =?us-ascii?Q?Zk3VExUSrmBpPLWPPEO0T2u6tM0oNIC+8owpbQPatLZ7z9o/gAD3zcI+XJab?= =?us-ascii?Q?nRHGRYh40SuBj3zEWSD3nxfxwj3/vUeghHmWt3KsMkFPvxYhbHiWYCI0pjKO?= =?us-ascii?Q?f77IbKiFXz37+2ZexFOdSNYHj1USjyFs35j4htICbaNn9xIvBXZv5ON0CP04?= =?us-ascii?Q?mURwkOqtPfbVgsSPa1mbvxAMSpWkLwNa/mGwikgmXIJgnXiQgPloLMVBUQRg?= =?us-ascii?Q?yYOhUkvF2heRcVqK9/wU1Yof8uR5o2DJrk6rgBvOfOWVQOzJWBMPNBW8oHrt?= =?us-ascii?Q?zJ8ky2IA+rdQFaE+kpUpzP9zkMrYk4+ptQJZHhgBeOuHaDqawI9llALf4SRk?= =?us-ascii?Q?/DF7ZfjPvJh5eYf7ljjRIKOX4F8jciJxxISicpIZ4Wmosf7IIXX0/y++g97n?= =?us-ascii?Q?7gdu0GIuQuNM6tUAekBfV5s8Gsywt5W5AxY1U2rPKHeChcEqZPXUw9bm46aF?= =?us-ascii?Q?P1bBJOk9IFf05f44xSMlBVuL4p/kJTv42Ye5qMGTpJkz+c8PDns8Ob06WyPs?= =?us-ascii?Q?sJMd8eWCOojmMNL3o0aqlwX7Tx+1GoON8S5Bxae9f81O4inTxNl/MgrqC8/C?= =?us-ascii?Q?GxT1EFO1Ao5ypXHsTltDBetDxaJ+1YeXDBsHkdD+ab4G2dP2SK4TsKAR6xoH?= =?us-ascii?Q?cTvSSgn6efTjBy3ZBcwrxoiehNHN+OUUAYCSvWBWoCjE6Cn5okllvccuVU+k?= =?us-ascii?Q?y143+7d6zEASmz6cFNLvQxbQ9gOV8VSXB49QG/km9bood2jezYBlQOwvk1Uj?= =?us-ascii?Q?OZSb5uxu?= 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: DM6PR12MB2748.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6f805f09-a4a1-4492-b055-08d8c2a64c21 X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Jan 2021 09:31:16.9851 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 9AoQsN/FGgzGOVzta30ytpZzdApgN9iGkug3+XR0ncglHEesjvCiyocsANSXzmXh/taU6PkqHjfbwMG8pw44UQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR12MB1723 X-OriginatorOrg: Nvidia.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nvidia.com; s=n1; t=1611739884; bh=aTwXBciTIQs94oKJa4xuHdq4bFORgB8ZaGCsmWlE6JI=; h=X-PGP-Universal:ARC-Seal:ARC-Message-Signature: ARC-Authentication-Results:From:To:CC:Subject:Thread-Topic: Thread-Index:Date:Message-ID:References:In-Reply-To: Accept-Language:Content-Language:X-MS-Has-Attach: X-MS-TNEF-Correlator:authentication-results:x-originating-ip: x-ms-publictraffictype:x-ms-office365-filtering-correlation-id: x-ms-traffictypediagnostic:x-ld-processed: x-ms-exchange-transport-forked:x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers:x-ms-exchange-senderadcheck: x-microsoft-antispam:x-microsoft-antispam-message-info: x-forefront-antispam-report:x-ms-exchange-antispam-messagedata: Content-Type:Content-Transfer-Encoding:MIME-Version: X-MS-Exchange-CrossTenant-AuthAs: X-MS-Exchange-CrossTenant-AuthSource: X-MS-Exchange-CrossTenant-Network-Message-Id: X-MS-Exchange-CrossTenant-originalarrivaltime: X-MS-Exchange-CrossTenant-fromentityheader: X-MS-Exchange-CrossTenant-id:X-MS-Exchange-CrossTenant-mailboxtype: X-MS-Exchange-CrossTenant-userprincipalname: X-MS-Exchange-Transport-CrossTenantHeadersStamped:X-OriginatorOrg; b=SvqUdtabJhoMoCa/2zcIgj5p10Bh8sUY0KATVkRVgXMx/y8CIAAunUk1o3JXydlyf Y7bqHPBAHae/FOI/w9kWLzwEh4ciJnc+BvsKxBOOBpr5aprWXWnA56S0bj4l5ms3wJ JlQ3FuOGwCOkcDYDJ9brXwv6evs8BoxzPtIEVRWSzDJ+51Ii04kyEJxvfAllqnYNpl iyJvUf/m4EXKiHIP/88PFugwFzFjatb8ycIa31Ea04VkCt+CAx8NX7h7Eb3g3T7NGK /nlwxYEDk5UeRqx48fwHvoKfR27YTuvsOeyBo75Lur0xUes05Ke8adPn+pixj1NzyL nz8X2SymSraaA== Subject: Re: [dpdk-dev] [PATCH v3 0/2] add mbuf fast free offload support 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" Hi, > -----Original Message----- > From: Viacheslav Ovsiienko > Sent: Friday, January 22, 2021 7:12 PM > To: dev@dpdk.org > Cc: Raslan Darawsheh ; Matan Azrad > ; Ori Kam ; NBU-Contact-Thomas > Monjalon ; Alexander Kozyrev > > Subject: [PATCH v3 0/2] add mbuf fast free offload support >=20 > This patch adds support of the mbuf fast free offload to the > transmit datapath. This offload allows to free the mbufs on > transmit completion in the most efficient way. It requires > the all mbufs were allocated from the same pool, have > the reference counter value as 1, and have no any externally > attached buffers. >=20 > The patchset is split in two parts, the first one is overall > send loop optimization and can be ported back to stable release, > and also is the preparation step before introducing the fast > free offload. The second part provides the code for the feature. >=20 > Signed-off-by: Viacheslav Ovsiienko >=20 > --- > v1: > https://nam11.safelinks.protection.outlook.com/?url=3Dhttp%3A%2F%2Fpatch > es.dpdk.org%2Fpatch%2F85482%2F&data=3D04%7C01%7Crasland%40nvid > ia.com%7Cb616de17445740f7ea7908d8bef8ddea%7C43083d15727340c1b7db > 39efd9ccc17a%7C0%7C0%7C637469323379495159%7CUnknown%7CTWFpbG > Zsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6 > Mn0%3D%7C1000&sdata=3D5GosR%2BxQfWziqF3bWmOUfa%2FuTKuf%2 > BOkjdklt%2BJrnK%2FA%3D&reserved=3D0 > v2: release notes, PMD features and documentation update > v3: typo fixes, documentation update >=20 > Viacheslav Ovsiienko (2): > net/mlx5: optimize inline mbuf freeing > net/mlx5: add mbuf fast free offload support >=20 > doc/guides/nics/features/mlx5.ini | 1 + > doc/guides/nics/mlx5.rst | 12 ++++++ > doc/guides/rel_notes/release_21_02.rst | 2 +- > drivers/net/mlx5/mlx5_rxtx.c | 67 > +++++++++++++++++++++++++++++----- > drivers/net/mlx5/mlx5_rxtx.h | 2 + > drivers/net/mlx5/mlx5_txq.c | 6 +++ > 6 files changed, 80 insertions(+), 10 deletions(-) >=20 > -- > 1.8.3.1 Series applied to next-net-mlx, Kindest regards, Raslan Darawsheh