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 B105DA0032; Wed, 17 Aug 2022 10:21:54 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A496840DDA; Wed, 17 Aug 2022 10:21:54 +0200 (CEST) Received: from NAM04-BN8-obe.outbound.protection.outlook.com (mail-bn8nam04on2083.outbound.protection.outlook.com [40.107.100.83]) by mails.dpdk.org (Postfix) with ESMTP id ED2614068E; Wed, 17 Aug 2022 10:21:53 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=J9mZAPl0rf6SEZJZvhWyVbcHbbQK6sp7jV5+GgovJItTVwodjPjGzgy2EhzN7OjuppRA0+N3LZdrgocurpawXiejdK4z39zQgvB3YkHumIyeYZv9h2R5kco5Qipc5J7n0F4Z/JYW5PYmIfGVJrRX6WtymvKqRSuhw1z38K6SoC5Jjvtq5QcC88dPH0aZDzfJEkOB1IReRm36s0PKkCrkrSaIn/KHba1PD4cjTqvuk03aJ/A2eetEqdVkrpQjlcy4L/rC6GTHMB0moHMdfD9GEnYyAMYuwaHnfmGkWPWQct/K9BdJKQn6/S1NeXbwu/z/uYWaIUaGc07QV4qP9hWLow== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=Bjg82doxvuzrW0oNsy8XbKlBo9aKiCOl3vm5dsHOxyY=; b=HhjvyOjdNUWt8qjSJlhVRNNhsnAzlwpoiKWYZEEeyuEGWgF3FpxKv1Y+PBUEmZ9zdv/GZZzZLgwHOWRpkcoOyfGdkYttEk9x1rD+wUcUXrzVmMEWBNdBDFIFQubXjx78DkP8lcKvXcJqxOf9qRQligtBdyPXPqoQEXgQDcmlhmWkFxbbpXx1ls4tq7Xv3FUb1YkM98Yr96XYmhXLe1RuMB3pCvtwYHYMKR/QrRY5bILUVdWeA4bnW1a4RsvPLevXWkTmjBPqEVljoO4k4QUynLT2P79N2+sgsM/vrRUidwt6c7QNbFdqEa513+aY2jHuNYSYPt+/dcIFjBAA2ngi7A== 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 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Bjg82doxvuzrW0oNsy8XbKlBo9aKiCOl3vm5dsHOxyY=; b=WyeK7Z1ll12lWCvqkYCB4HHmgi10ZuexLXvpbQdgqQQcLwJ4UANdt+Buc0GoVICVFKSD7Q5jp0uCox6Qd8qA9B8pJabr8r6TZ0puN04XB+rMUNI803UQyAXyqOpikojqU+CRc4HQx7nSOeaJdLBZ+oW27irmKeP59qjDNGKy1yaJp6yKiyhvTRm50Ws5sPJSk/SjppVYvSqhoqkXnhN7l8Q7Eo1UtH/h/OdOsswF0L28PZ+cU/D0RramaVLdJdBbCMnSqfgCnd1L+PMKufPX2bSWYvrmwe7sYUXSMCDRIgOwzR3tijclQaGFiYLpUg3Oq1REPPrFUPanc2c9+NVvRw== Received: from BYAPR12MB3078.namprd12.prod.outlook.com (2603:10b6:a03:a8::31) by SN7PR12MB6864.namprd12.prod.outlook.com (2603:10b6:806:263::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5504.16; Wed, 17 Aug 2022 08:21:52 +0000 Received: from BYAPR12MB3078.namprd12.prod.outlook.com ([fe80::acbb:9c84:ec42:78a3]) by BYAPR12MB3078.namprd12.prod.outlook.com ([fe80::acbb:9c84:ec42:78a3%5]) with mapi id 15.20.5504.020; Wed, 17 Aug 2022 08:21:52 +0000 From: Raslan Darawsheh To: Slava Ovsiienko , "dev@dpdk.org" CC: Matan Azrad , "stable@dpdk.org" Subject: RE: [PATCH v2] net/mlx5: fix single not inline packet elts storing Thread-Topic: [PATCH v2] net/mlx5: fix single not inline packet elts storing Thread-Index: AQHYsgelp48CophN+0mbINS7Frnogq2ywKiQ Date: Wed, 17 Aug 2022 08:21:52 +0000 Message-ID: References: <20220811055215.30214-1-viacheslavo@nvidia.com> <20220817070425.30121-1-viacheslavo@nvidia.com> In-Reply-To: <20220817070425.30121-1-viacheslavo@nvidia.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nvidia.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: b375b065-70ae-4d98-be1f-08da80298a16 x-ms-traffictypediagnostic: SN7PR12MB6864:EE_ x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: yz0DwkwHb2oVjKDO8LSgKv8g8xcTD7YCq5Gro8HL5p0w/KjBRs6sn63SS0RzA0aNEgB24XPlL7xHkVcy3opuHjsrLq6pVjZlhjLFKWalnJnf7XUq5etHnKhpHFYwPT6MPnjXYUIuXn1vnXTHzq4Q24agEK2nCFwe8UR6Gc5HRPHFfEKpevP6sVKjmVG6Wti73pH1p7Re4PPyc82YsFLkiJse5hkPIpU/C30ryfKZs0p2RmhOQVRfAf0kUa2p96784Wrg0ETS7/9lniXjyS+HZbaH5i4PmjftjcKWoS61NjV5Yl+uuipW7sS5qGdc9vOAlFIjPwfTB4LKIU3TKN9IDwet4ZJ71rT928gNgpmUT5u5P3FDnjQgX8luBFNKn6PThgqiFdholZVnh50ITeS7WiSrh8/bdQdOfKsula5vShlr0VUMJ/FuMZF3PC+P1ltuvAgJ+ARb8NQNMZaB5+SZingupzOmW/IagsxUTkdHNPZLDyBDvn6OEQBOKi+Jastw6TKUJDtLgXalCHTbKCJkDsM75AMF/mmMn4iPXiD+mTOo2fs9BdViMfPL7NuXRrrGxDOgvTSGD4+VNZ6X+UVZCfJyo0ZW1Dh43Af6PaY/TIcmHDhR+M7WNaBcRwW6mg1Fkbcdbw8vWPpERXHbtLoRGWjKALBCPhn3n+Y9Nd8VYlPjGQVBL+KbJUgwuWImgRBBqFkginBASdV/BbQjKSSrfPrXIZVHajh7n0Qd0S1ryjYyri16ryLfO9P1bwEl4gSITx0e0q3RpUttOGRoeyLAHrpLyGou3rr5O0wBWYcgzco= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BYAPR12MB3078.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230016)(4636009)(396003)(366004)(376002)(136003)(346002)(39860400002)(52536014)(83380400001)(110136005)(316002)(9686003)(7696005)(33656002)(54906003)(6506007)(55016003)(2906002)(86362001)(8936002)(4744005)(5660300002)(38070700005)(122000001)(38100700002)(478600001)(26005)(186003)(64756008)(450100002)(66556008)(71200400001)(66446008)(41300700001)(66946007)(66476007)(53546011)(76116006)(4326008)(8676002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?638tw9mAADoT0OK6eZMBnF4eNN5bF/JZ7T0f81a5NKCNrLqbqHgSDuVbYTZz?= =?us-ascii?Q?3Pu80d9teukucYyf7DU6Td9KV4Q+/ssDhVYmXcqbK3J2iyhiThF0Cjy6RUep?= =?us-ascii?Q?eyHVjN4xKvYPrVU/yO1ZmFr3jMYHy7HG0ObuY41JPUpZF+W7Adt4tVz9P/v2?= =?us-ascii?Q?H2+OZxy5AFiQlkz40ZI8yvT9YO9RyNgktNQTu+snicJogyZMs+VNNLO1HlDs?= =?us-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fohtdZF+no3vV?= =?us-ascii?Q?dCRmXrPhKa9tTKLgZn3TPw76EoYHrA3zAzDJl5CuaR+IgcaEWEZMNkuHshmR?= =?us-ascii?Q?JWMRCtbocplw6oinNRhhnMPgRndcBr/F8TT/huF+Y1GoaIGU4PpniPH+UgDR?= =?us-ascii?Q?A4HQbMlWuvg9eS+IzE8SSWazx+Ly8iXiIS6klvuy5r+ze8uLnjl6D5Y9VItG?= =?us-ascii?Q?VSOoaVwNTnhnmUXnxicQ/SrBY+bp84moxOx12vDXa957ct14+uOCghrnFgy9?= =?us-ascii?Q?1ILoNBKQqCN7kYORfk3rQ3zCmskLVQPaYumzAAgd3sPWdUsKe0yeUwrO2p9w?= =?us-ascii?Q?Oh+QeMdjtmgulvi9AufVBP9zPe6qdnPNUkLyoj90i8fYItvMuE0kSmuttd0K?= =?us-ascii?Q?R6XDmLI+gs5LigTBaMSDhT+afYf3fmCJOzpiqYv8fPMSLWxab2msq8fcAWrW?= =?us-ascii?Q?0LRIPx1JH54ZKK0ix/EuaGy4FF6KfZ2/8iRzv0FM?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BYAPR12MB3078.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: b375b065-70ae-4d98-be1f-08da80298a16 X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Aug 2022 08:21:52.4950 (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: fwntwc+4gzH6MUFwjlvu1KPyZjuH9RtCig6ZiP83dmpJPYzaSPLMvTJcY2nfwjdQxpsC8b3qvIRkcdwjAAGa4w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN7PR12MB6864 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 Hi, > -----Original Message----- > From: Slava Ovsiienko > Sent: Wednesday, August 17, 2022 10:04 AM > To: dev@dpdk.org > Cc: Matan Azrad ; Raslan Darawsheh > ; stable@dpdk.org > Subject: [PATCH v2] net/mlx5: fix single not inline packet elts storing >=20 > The mlx5 PMD can inline packet data into transmitting descriptor (WQE) > and free mbuf immediately as data no longer needed, for non-inline > packets the mbuf pointer should be stored in elts array for coming > freeing on send completion. There was an optimization on storing > pointers in batch and there was missed storing mbuf for single > packet if non-inline was explicitly requested by flag. >=20 > Fixes: cacb44a09962 ("net/mlx5: add no-inline Tx flag") > Cc: stable@dpdk.org >=20 > Signed-off-by: Viacheslav Ovsiienko > --- > v2: "Fixes tag" added >=20 Patch applied to next-net-mlx, Kindest regards, Raslan Darawsheh