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 85953A034D; Thu, 6 Jan 2022 10:06:03 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6D600410F7; Thu, 6 Jan 2022 10:06:03 +0100 (CET) Received: from NAM11-BN8-obe.outbound.protection.outlook.com (mail-bn8nam11on2077.outbound.protection.outlook.com [40.107.236.77]) by mails.dpdk.org (Postfix) with ESMTP id 3D4D7406B4; Thu, 6 Jan 2022 10:06:01 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=oHVMXolVxISro+/Tk5o0pH0G3Bd9kFWXajWIn3FodFfV+VnOuThpAXqWVIp1t7vTQvRVagffSIV+r0ODSjYa5eD3VUS5xaJNNpesBVlriBAbVB0TLB+FL1MsdxGjSJ32tNRSf/BYz1+SU+QaIxF7x/TGp+4lETCwSuqGjOZGc9zXdviMVg5DxIhpgPzXV/L9L6/DeIqZE/EcW8itylEAOnYcE2vHP7NNaurU43mauPl4My2bYACR8fpV4ih3QvROxbzIbRHSkmvNJ5NDwQY73Xm+mJVJe1ua5fSZ+73zrkdTTwmCA7JASZfIj6Q4Gbv+26C2ShQwolh7EK0lBQWGdg== 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=82xywc09AMj5YZwlL/2qrxbPzfYY+OV29Ivcn51LyIc=; b=NZzLSlguQB8hJ7B28hHzFHTqZfZVmgyJ7FhVemFmUUdr73PC3GjCR4N3mz23hrkN+NCYkaAfmeg84MBfMTUf3cgaHgp2vYcNVuTgOO7sz8sW2lS41Wo0ljxY8VeHenrPPrUANe2uxT3TQ0KhdXJ09pOU6zycaKc3h07lnMQFhaMYv/Bwu9Zvd7v3A4uMpzpLEkBeDQaNNf48YEzw+G2+OFmPFjlf4mwZ1PFST2ns6nhAGl6xlzKnRXFaziRzeIlybHgubk0jU5KoKr+zyNfxKmJrC+zFQ7VTqWcghHMSEyP8ExgFLYYkjPOzYT/hJeiKV/qd6mup2o/5YdtlBeSuZQ== 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=82xywc09AMj5YZwlL/2qrxbPzfYY+OV29Ivcn51LyIc=; b=NoDcWXzuJGTZvccxXhE+a5ShWYojRaXgA8VhoDQnqZ4Nz5cJ6C1pZLbU0v83H/IUSATXhd0UBeNYmfHVIO8cdm5GY8Std0f0q5xlfOnbqDAym2e/382YWqkiU1sV7OoUjM0FD/BIWjaYmEEI+Zw5D/js9AgPBIPFvKPoewkuTHf8PPIcrlWBiDDF9vCPt4sTvkhwyct+Tm+OuP+7yaAFtDRe5YgntC3/OWbmHLfMsPO1Tzo/BveFwniCRcqi4j+yyxRtinCD/rteiotTXr6RyeOmq1hTmWMyYfsbLfUvWF+F8LTFh5nNNouXLSwDRwi5aC+q6LR2n2jaL01W+M+9Mg== Received: from BYAPR12MB3078.namprd12.prod.outlook.com (2603:10b6:a03:a8::31) by BYAPR12MB2933.namprd12.prod.outlook.com (2603:10b6:a03:138::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4844.15; Thu, 6 Jan 2022 09:06:00 +0000 Received: from BYAPR12MB3078.namprd12.prod.outlook.com ([fe80::587a:420a:2c5c:90ce]) by BYAPR12MB3078.namprd12.prod.outlook.com ([fe80::587a:420a:2c5c:90ce%6]) with mapi id 15.20.4867.009; Thu, 6 Jan 2022 09:06:00 +0000 From: Raslan Darawsheh To: Michael Baum , "dev@dpdk.org" CC: Matan Azrad , Slava Ovsiienko , "stable@dpdk.org" Subject: RE: [PATCH] net/mlx5: fix the memory socket selection in ASO management Thread-Topic: [PATCH] net/mlx5: fix the memory socket selection in ASO management Thread-Index: AQHX7EM3amaMROvWDEed/9fJqFSWzqxV4KEQ Date: Thu, 6 Jan 2022 09:05:59 +0000 Message-ID: References: <20211208145134.171137-1-michaelba@nvidia.com> In-Reply-To: <20211208145134.171137-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: ac7656db-2657-4a8d-c3fe-08d9d0f3c207 x-ms-traffictypediagnostic: BYAPR12MB2933:EE_ x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:1443; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: N79icRprdLzFNbOlHVEk/mPuwj9K+5bGsBv01JwL74Q0QS8MkQsLrXColyYj/mx8bKXDKd0u1aj57yUP9bxgqXhUomc9IA5KJtnGKaLGbI0cue7cdbJeGUEFuBTZoUOFCW+grvkGMkgaSxMp+aR33JZ+xMSlT/mTHM2OXEjt7rxRboyZYCO7Vf47zwNjGB0k3st2012gUyXPeRwdCArEQrtPwosVNnByxHKptQSlAcG5ugWnHHk7GzfALWkq3faZDhzr1YgD39RqYtBFmoETZIR5B4WWLUWYOzejFeqXrkVSZ0CY5JFaaLmvi0nrjTu7OK1quMh78xe1tWmLVEXeW/zH3TzjK7eTFbuaXE+qtPriSgACIGzzv21FDVvsCz9aK4ASmUkZGIT8cQF+a1vK5bTH/i1b2en9UFTCjsJIZqHIK+DvFFaoQyDhfvy3zQ5F3U4WLMrwbEXjgb8pUBFSegI9AxGpQJwQTiOUt8VQ6TaDtrfMM8dUSr90d3QImfHp+tGSyn/l2wnVH0ls+mWKBD7ezR9NSo20Acarc75tQrXU3koq8S2ls3pJAm4ARq2dHjjgVjBJbRV8XSwiP5luFm/WIs3cspAbgHRLn63AtbNbrqlRj/wGd75G5qAc0m8Q8Ia4J45oR0mjt4XAvAHd0Yy00D5pPiR820ecbugcycAx8T/q+xz29cy+30NICWuzbsWnop7p3NCzzOP/bUPukw== 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:(4636009)(366004)(110136005)(83380400001)(9686003)(38100700002)(8676002)(2906002)(186003)(54906003)(52536014)(5660300002)(33656002)(4744005)(64756008)(66556008)(71200400001)(53546011)(6506007)(7696005)(66476007)(38070700005)(66946007)(8936002)(26005)(4326008)(508600001)(122000001)(86362001)(76116006)(55016003)(316002)(66446008)(450100002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?Axi7xYpacEZTUcRNgXN+8PlqGC0Y3B5jYX8siKv8iMCuoASRaM+BbjMGQ1et?= =?us-ascii?Q?Rp7Ya/b9MnIVX9aEsIMCrm5TqpalPvu0YG8KQdkEWMAmH0mz2QtmYffo9vro?= =?us-ascii?Q?ssWaJnKcCLGFP61rxT3Ln0dgtJJIxxedV/ngiJL9bi1y2XCNP8cyuRnVslrm?= =?us-ascii?Q?ggh65QAlaYHYZ4EaWl2abZLQvMxK2BVlP2+K+GRlzFVZPw6WJ7E10jWznoUW?= =?us-ascii?Q?hIhneBESEcvuk8QVuOC7en3/H/qOQcmRjZKq3V8uuO3vjyzrpyjLZxjUUJNm?= =?us-ascii?Q?EBkQykOjxP5IToA6jjm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LHT?= =?us-ascii?Q?elSmuFug58zYMdnzYNd7RFzAdisOtbColjppPHwpiq9YUVGTE6cbFlJOJsxR?= =?us-ascii?Q?lXC9yjvxPnKAMDvVXj8rW9OzoMobVSpSxI799wNYsRLp++mEeDEYcxpMcVwB?= =?us-ascii?Q?NSX+Qx8m/TYJf6rQTiwHIOao2CZ/YF8ULaMy1p3pLYeI+xJDO9UyaRQLFof8?= =?us-ascii?Q?U5EHazpiyXYOFBtM1eiZA8TWRr0h2j+1O1VEDX+c7mc/mWEEeNux7w0HjG60?= =?us-ascii?Q?u4zGDIq40puXXNCb6NLtPGllJWf2LvUOXZPGSrWjciTqt0kMSsdgSvq2CuSb?= =?us-ascii?Q?R1M5VyBzVsthwYrBlVoNUR1TGBT3ztBosViBXCTHuA+hR2wf42DoIOpcfLHC?= =?us-ascii?Q?lLFXGDieOc+p2IAkcwV8xkgf7WVSaAtm6wYUFFMBAqOQpBLczlUD8MCXoGqI?= =?us-ascii?Q?cOcZLdiSv8+IxeVFLA9Fi/8=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: ac7656db-2657-4a8d-c3fe-08d9d0f3c207 X-MS-Exchange-CrossTenant-originalarrivaltime: 06 Jan 2022 09:05:59.9305 (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: JrwriFDLH/+koXBlO9zgTIkKS5JBs4AVh2tI2nNNqLI5QU8vvg6ioJDhbgjYA2zgQInt8fpEXYHqREqZcR0Swg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR12MB2933 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: Wednesday, December 8, 2021 4:52 PM > To: dev@dpdk.org > Cc: Matan Azrad ; Raslan Darawsheh > ; Slava Ovsiienko ; Michael > Baum ; stable@dpdk.org > Subject: [PATCH] net/mlx5: fix the memory socket selection in ASO > management >=20 > From: Michael Baum >=20 > In ASO objects creation (WQE, CQE and MR), socket number is given as a > parameter. >=20 > The selection was wrongly socket 0 hardcoded even if the user didn't > configure memory for this socket. >=20 > This patch replaces the selection to default socket (SOCKET_ID_ANY). >=20 > Fixes: f935ed4b645a ("net/mlx5: support flow hit action for aging") > Cc: stable@dpdk.org >=20 > Signed-off-by: Michael Baum > Acked-by: Matan Azrad Patch applied to next-net-mlx, Kindest regards, Raslan Darawsheh