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 60D70A00BE; Sun, 5 Jun 2022 17:07:20 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4F6EE410D5; Sun, 5 Jun 2022 17:07:20 +0200 (CEST) Received: from NAM12-MW2-obe.outbound.protection.outlook.com (mail-mw2nam12on2047.outbound.protection.outlook.com [40.107.244.47]) by mails.dpdk.org (Postfix) with ESMTP id C17CF40E03; Sun, 5 Jun 2022 17:07:18 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=EwHRFHICWE/83EZrbT8jDfWiJkhSbLHC6qZXn5dOAKytrPBPglW010ZHewH0mwuDzP2HrYIDWE1i1GPqTsTcfcpFeAw1jnrA8YIOFWpWI3JQOqEfLyIJDhXHynMkFyNFeEnf1kCdQfsl7nmYseyknJ24PKCGmR9s/K1qBOevEfLOlgQES5cyO4c3tR1q8oDAXz/In5n35xTnh1DJl2KjylSQRJtSM3WF6Ywkiy+2qWYoQychbPcrSj+O2o09IXPRF3ml208irXNyQfRmNYXXZrRhXZ9gH7inOi9FXEFQDjqUI1EmxSYmhX0suLJoxvCBd3kb2fxJipM4RCjBIbC4kA== 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=439h1i6bKSI8mzygpk/SU0gBjRSqhgoO89Pp90Uw9sQ=; b=M2OrH6u++V6HR0jYqfvqBy0Df7RtjN+cnn/gMi2AFLsWtV7HOZWWOzqFrKcY6ri7ffi23mk5NQCvaXk76mRYVkozVRphOUxAYeC758qUzz51ChuZ7FXYe4lJkd4NygaIdw3Mjopes42tQLupkpx/ncHWzBSWc8CVOvYw49/1yIwNLR3pDcP4f9SdHqvdik/miY8afEXY5IFZ4aU+rnaOmvGNlf/6W9evpvvXgNC/RmYn9hHsNhgJtkeQM3R3JpAO777lEbmWY/5dtMXbCc4NBSK+qyTrJUhDQ3Mkdy153AMMLlIVH5G9JH9kT8wgx+gYxpiryjGbO570iyzWZQG0Dg== 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=439h1i6bKSI8mzygpk/SU0gBjRSqhgoO89Pp90Uw9sQ=; b=KqkJvcRullpQsYGOjcsob/zh9Tzb29rLUQA8UgMjlkAFDaayy8fbk7vpzPlQV9+JroKXpnWfSbqGUlaLOVSy8EnCvyLnVpYvv1Opgv0KnZgkeLOhrs4gHAdoRrydqpP4yOwLgpJOTbAmEqeOHjJVu8tEiUvNzp6bGe3Vp/X4MgsEIrKCBNiQ4QDrZ5Wlj+wZUS35EBLlwtNRvkTw7rqMiPMQMRLV3NfFbzJ3ejz8FExo9DsZM6AjZ4EqgdIxVofJntF72TRNwxIls+rns7S6cofq9dRUBkja9dIBoXZqTC4GOOnMyPYR/hPQuP7z5sV6ID6Ps6zARHeWk5wQnwJaiA== Received: from BYAPR12MB3078.namprd12.prod.outlook.com (2603:10b6:a03:a8::31) by BY5PR12MB4257.namprd12.prod.outlook.com (2603:10b6:a03:20f::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5314.12; Sun, 5 Jun 2022 15:07:17 +0000 Received: from BYAPR12MB3078.namprd12.prod.outlook.com ([fe80::bd2a:f22f:f435:7b36]) by BYAPR12MB3078.namprd12.prod.outlook.com ([fe80::bd2a:f22f:f435:7b36%5]) with mapi id 15.20.5314.015; Sun, 5 Jun 2022 15:07:17 +0000 From: Raslan Darawsheh To: Michael Baum , "dev@dpdk.org" CC: Matan Azrad , Slava Ovsiienko , Suanming Mou , "stable@dpdk.org" Subject: RE: [PATCH] net/mlx5: fix entry size in HWS construct data ipool Thread-Topic: [PATCH] net/mlx5: fix entry size in HWS construct data ipool Thread-Index: AQHYdnVsLgOuRTU+Qk67f/rs1h9eJq1A7ukQ Date: Sun, 5 Jun 2022 15:07:17 +0000 Message-ID: References: <20220602113916.1680094-1-michaelba@nvidia.com> In-Reply-To: <20220602113916.1680094-1-michaelba@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: dcdd09e6-d527-425c-8b87-08da470514cc x-ms-traffictypediagnostic: BY5PR12MB4257:EE_ x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: A8PPkedPVyWDBUSjQaWbK2Ea/3bLdN2vOw2RABuK3C9IRcXLzw+ylyCbJo2RLV1PKc34C4czpTqTwiDVTAhy/aL0j68UlcgAAmnUQ5HwM1N7twLSBhQW7EiB9rL6/bIuc9S4AGUaM0AoySpoHRVrblkXwgkUvThHh0W5nGl567jBIZhWNczkAcLEP1I5nPCyyOnG4Uvu8bmqdZvPPkLt3ScKUv7VIH/3n3BskfTzxp6ByR8lraFxpms6Wqznpc9ITNbNgPSgDxSNprBjqIURI0ofMpA1UeASglR5kOB2FPSjY77Lv0CGYAMIhYci3AoyUkkSa7YdSqtIwfpgyEnXZZCDqJDn06qhI15V3y5i1MZ8zeHGuSFN6fWo5UfjjB06BMDGHOcz3vpsIw9dzn+niURZ409MNM88iI2mIlpjCzUDLhb9bw+mnL5MQwh/a+XbgC8THrX52Bk/NKu086csprupTjI1YqBOAXlcfgqEVabuAd3/HXWXkoGfmFUQB5sbGa5Sz3PaFlPyhnX9eW27q8uqIfPTlgyI9bhvYpQAMqq5bPS3wKfRkHJutqtHKRDz2zOT60tZYOUABgYClh015ANpKS7Z9EztJnW4b69yXmuvnwVu8KHqrZD1A3c2d73i/BOzf+01d+9TkPJEL17TWVTxiT5zOiK/yMa6k6hqRBRjRW/PHITMN1w0z8L7oPyC+zVRl0xkSV8wArQOyn674Q== 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:(13230001)(4636009)(366004)(33656002)(52536014)(316002)(186003)(26005)(55016003)(9686003)(86362001)(83380400001)(110136005)(53546011)(6506007)(7696005)(54906003)(66556008)(66476007)(38100700002)(66446008)(64756008)(66946007)(71200400001)(8676002)(4326008)(508600001)(5660300002)(122000001)(38070700005)(4744005)(450100002)(2906002)(76116006)(8936002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?DKGEcEkio1LQxbRDTUY7Gq0NXClzz5NRMo1fQxK7ySI6iccSwirDmRBwbXPc?= =?us-ascii?Q?zDT+Cgfhzu60VlBoNGkZPj3XqFEq7p7dvwm7wq/Sb2wfZieq+VSwRcW94LT7?= =?us-ascii?Q?x4/RIAzUwQWm+VgEPLSw/VXHMUniDrk54ZR5mnsldGQv95qOJ8PnVGzYfs+4?= =?us-ascii?Q?nz1ZGk8e+sCO4C/MZRIBnE2ridzdgzX6+wV5x/h2pxeUDUEyWJoG9gQGc9aa?= =?us-ascii?Q?XUj/mE+J1e3rlVbxHtQEuy52pZkZkDdmT+udstWfBTz80+sJGz0czO3XWjrK?= =?us-ascii?Q?Z9MRuh48V/AQht8gKOtq+7732uYOI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MrTZgILM/D72OZJR+tL7cKtgS06gIxITFq4O70LVmKhb1wque8OxOL?= =?us-ascii?Q?DZniDIJRZvgM6TympYR5c77C31bkDuKVRZz4kfB1j8dXHz8oEa4x6UYMyt3e?= =?us-ascii?Q?cFBavKkr3fB2cXS7UZKY4ILjCzIFggsmGVMkOmHIvo33Ven7s0fLuRD7lVct?= =?us-ascii?Q?I/+lMwULl25MEj84ULo5l9ntuPkFE7XZ81exS039wIWQd9mEown5BRsowemI?= =?us-ascii?Q?QnCf1iqDOpX3yGFZCTVd4oI6NOJytOvUjF1RxsVQpCeomhNzZn4ifJl/4tgn?= =?us-ascii?Q?+Y4KHPUtHmqnwmN6mSx2URhaW/9ZKjkIltPwaQtt7o1aNq3xo97KgHbolRBs?= =?us-ascii?Q?mCaX2HDoB6ZaurhVcZkIgewIkkNNnyqlXjsfHjmy0+A4hbKdQCRQnFxG9rkt?= =?us-ascii?Q?yekybS5YDecpTcj3CCYmv9JzqbgaM856yuI4njQpwn6fieeZHdRB8Rqp3qgw?= =?us-ascii?Q?p9bMOOuNeyJiex2qzx6q48Gm0NgXveAiCuFy/UFsrCrXuCKQA05q6v7m1dUi?= =?us-ascii?Q?ySJ+1dmL+Q=3D=3D?= 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: dcdd09e6-d527-425c-8b87-08da470514cc X-MS-Exchange-CrossTenant-originalarrivaltime: 05 Jun 2022 15:07:17.5235 (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: xlnJdL+PjK1upKppkgALz/SQy/E5wtNtqa4efTfgjWW5CsHZO3hje3kSYt9ZBahANYpdOsXaA5kiz28WeXegxA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY5PR12MB4257 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: Michael Baum > Sent: Thursday, June 2, 2022 2:39 PM > To: dev@dpdk.org > Cc: Matan Azrad ; Raslan Darawsheh > ; Slava Ovsiienko ; > Suanming Mou ; stable@dpdk.org > Subject: [PATCH] net/mlx5: fix entry size in HWS construct data ipool >=20 > The mlx5_action_construct_data structure memory is managed by ipool > named acts_ipool. >=20 > The size of one entry in this ipool is mistakenly defined as size of > rte_flow_hw structure. > This size is used to reset in the allocated part. When the size is incorr= ect it > resets memory that does not belong to it. >=20 > This patch defines the correct size. >=20 > Fixes: f13fab23922b ("net/mlx5: add flow jump action") > Cc: suanmingm@nvidia.com > Cc: stable@dpdk.org >=20 > Signed-off-by: Michael Baum > Acked-by: Matan Azrad Patch applied to next-net-mlx, Kindest regards, Raslan Darawsheh