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 B951BA0C41; Wed, 17 Nov 2021 14:28:17 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 43DD14068C; Wed, 17 Nov 2021 14:28:17 +0100 (CET) Received: from NAM12-BN8-obe.outbound.protection.outlook.com (mail-bn8nam12on2062.outbound.protection.outlook.com [40.107.237.62]) by mails.dpdk.org (Postfix) with ESMTP id E5D4340040 for ; Wed, 17 Nov 2021 14:28:15 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Vg/B4VNOJr15tKAimCdvpXzrxHD9dyyKw0OhhZRo71Sm8gO06iERIbbissLcRKJRSoHY04s8qCoqt5wM2nup53vyNZ7/6+ljjtUuA59GH4OS6JzPKxQcKC5AXSxPKEQx00erewtDpzOEf9J1CPEERBpgfvQSu2Hwfk7//iKGw3ILiBFCDnJ0AipaxHe7+GesaXgCprXCibv6JAKkSWaxbRGHWdAp22mYThtiwGyNbXvU9oqUtfFmHlxsctCWIEzBd5RLbzvjxiageyptT8rg92EgqmWjL1kn+nbIbW/6aMHYkmXpmKTbFzKYf5v9vPMNdJhFy7g7eR53jH0NpWKwTA== 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=E195+ZxyT5Leoz1N4l8Nynt6lxynOZw0TslNNX5ZvTU=; b=FbhOi/zG9A5OdH/EPFFoWjvFXb9/duRk2t66+3Z0j1/WlEhFnIQOlP3QT6T9Q2A75zgu/Fo4d5SuajUwX20zraJtBLJ9vIjDl7EomdJATgK/KTs0NXRryiMKSWsyYMI7Eq/P47JuihzFyjUnNZPT4P5ycL4fEeJJ4hFKDG0J3+nPOe1IZkVXE3O8JTMFtPIq6cDUq7jtLdhSRv4yHvTs2gMp9cFoZdquScn12YKJRAojvowcyzFp2FWKhL5abyJKqV7LBRUvjtBdpOCzzS7gJbqGCDivA6mwHrScPYhAsrSXwc6odKEBcr31UBVBoxllNPBmLFh45EGU+9zqaExWqQ== 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=E195+ZxyT5Leoz1N4l8Nynt6lxynOZw0TslNNX5ZvTU=; b=Q/nI2HCCqcMKb02/vXnY+Z2aOD6ATQ1U3W+VMacp8tBjOqKTbULlqG0On288uA4GewTSn6beJgjBS/Cr5ZvPc6AHLZcAojEt2qXmgYfMtnYd1poZBDrOgqdHwNS18DLJc3iMznPGpy+mYlulcwR9nzNokXmOmwu112NB8J4gyL+WRknV+WpR3DHbvm72TmORV0/Xn734AFPjYWbQS7l2d9O8Ap+epTDpDgXJc9j8dNf2EAo/pfW25fz5w5tycdbYTS0lq96mLwg1MQJ91Nf4Sr4FA83YU27aK+nbPzqkGQatcui8wo+xnPFc1056pwKNH6IZz43KV+ef0Dp39dJt8w== Received: from DM6PR12MB3753.namprd12.prod.outlook.com (2603:10b6:5:1c7::18) by DM5PR12MB2568.namprd12.prod.outlook.com (2603:10b6:4:b5::35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4713.19; Wed, 17 Nov 2021 13:28:11 +0000 Received: from DM6PR12MB3753.namprd12.prod.outlook.com ([fe80::8dc4:eba4:b43b:7d59]) by DM6PR12MB3753.namprd12.prod.outlook.com ([fe80::8dc4:eba4:b43b:7d59%5]) with mapi id 15.20.4690.027; Wed, 17 Nov 2021 13:28:11 +0000 From: Slava Ovsiienko To: David Marchand CC: "dev@dpdk.org" , NBU-Contact-Thomas Monjalon , "ferruh.yigit@intel.com" , Matan Azrad , Suanming Mou , Maxime Coquelin Subject: RE: [PATCH] common/mlx5: decrease log level for hlist creation Thread-Topic: [PATCH] common/mlx5: decrease log level for hlist creation Thread-Index: AQHX2ylR5nKtgbFpwEaDX85y5efFTqwHojWAgAAONwCAAAQtwA== Date: Wed, 17 Nov 2021 13:28:10 +0000 Message-ID: References: <20211116203354.14167-1-david.marchand@redhat.com> In-Reply-To: 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: a41be9fa-c753-4b9e-04d3-08d9a9ce19d4 x-ms-traffictypediagnostic: DM5PR12MB2568: x-ld-processed: 43083d15-7273-40c1-b7db-39efd9ccc17a,ExtAddr x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8882; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: UijX+mOttTV7YK7aKK3u2PY6II9DE5m5JqXaiIhsmtiojPZ+Mxgs/ws+WRUHE7G+1bBwjwBHt1IvUHY9J+ZsQjab/7wEuhfGHbTwOpuDty7ZEGkaMRLxCkdhmOQV9t37ECaS3ZjNACsaZ3zmwMqqzU5FpSOFDzb63127DvaTOm1sYH8hAk8xLzMH6WewdfE2ncYYRNowhYgp7EzK+dMHNsbUpbUeGA4t9zKBwuebsJv4h+50bOnSfPmDCTidUm9gi5/LI59mwCLIdUoAX08ptL9fzSKwIx0PcZi03jgUy0mkqFlxw7DCuzZN909yJ4kuxnEr32mlxxH4C981ewAEysLx0MitZAVRDt3OZTEgqkb1YHpGvOdByCebIRIC9gWcmIH00/xAu86J5y4FvZKwiI+xAKTD6z/SxSqmWofj+tW53GCqTy0DSA/E3IJQOQC67skL307ipDqdKwCV4r5iaJoCrZJ9aFM3vQN2HMoXsBSdGffVv4ZuusRy/RRAVgqrd28C9xaiGbnBq2L/eeTwRbJfOQVn4C5lMIVgeblgZwbEhYPv0Cv9l9F55h0oDm1S4LYmqCZOkohd+RC5I2oXG+GaTLahumqHx++VVqK1KpaTgM0UF9rB7iAPKB3GFvJRqGGs8KuJRIcnNuXeUuQJdXRWXC2PmtBmnpm2FIXlsgmToyO+3kQweAcwpTL3u00OnwkgsJmszQ3LKIOKLbyknSYg8WJ975zcz3k/9Tno0wigYrL1vq4swCYXxPWQiiWWB5I4K5EKdDdjgLDzO2K2BkWaDh8bZxYMW/GKWHuxlaWJPwAV744P8Er6fzx3ccLTNZ4DtKeVsJfaeZwbCHJhDw== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM6PR12MB3753.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(122000001)(38100700002)(66476007)(66946007)(64756008)(66446008)(66556008)(316002)(186003)(966005)(76116006)(508600001)(2906002)(5660300002)(33656002)(83380400001)(52536014)(6916009)(55016002)(9686003)(71200400001)(86362001)(4326008)(54906003)(8936002)(53546011)(6506007)(38070700005)(8676002)(7696005)(26005); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?C+5NhK6sM5cOlarEC/MNyQbvK5JVmbrYtt3L75c6VkalBJ+P4XNNJy9b5PeX?= =?us-ascii?Q?2gyVb7TJxh4cZpi1JQEUZqyGQkk6gh/WAhva+sYWzI0rqg8v/VfA4GH9SsdN?= =?us-ascii?Q?dnuSJdijkJGxOftY2sDJQ13NQSsP0RyhdJVIwyq/bYEGK4eOijknfsxNIAPR?= =?us-ascii?Q?AC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TvHtbDlzTjsenlMDr/ZPx?= =?us-ascii?Q?LGzf6DH3k0FQAIVULAOSuaXZRIIGaqLqja/mY5X6X/1lzdhU/AWzrbkF3fRd?= =?us-ascii?Q?UDnwXnt9dnBbXRuPXxyMH+y3tXS3dBzKvzgfmhmCjlOVYv+B9vPrBFz/b40f?= =?us-ascii?Q?SYXwOVAO8vxlZZtkFFTU6IFEMLlcfgwdp69x2UsAe8Z3eH81+qj5/6mJ3V7q?= =?us-ascii?Q?dGfxpBi/WwpYlgom1oi49zeIolW3LVDUMU0OZEJphnou+gZ5kaOH2bTHyV5U?= =?us-ascii?Q?UlEMAAO7AqAxT2uEpRNCpZbK+IlwmMtDvB/Iw8+6fvMUSGZOovIw9qVI/I0m?= =?us-ascii?Q?2lFf0OEmK8iolb8Mru+oiRNCSdX7y/tGUdsp7TtWGWx7P3BjggM9XLtZP0dU?= =?us-ascii?Q?ycZIwCyHETYchu0vuCAZUclPSRJAI1xQ4+MuyQNCZobhX6t6dQijNoNroX30?= =?us-ascii?Q?zL/wqEARP0B1VK8Nu93lBC7z1LIB1Aisau1JROGfwJhpSfdEksBrwLjbAEzu?= =?us-ascii?Q?T6Wd9O6LpaQQj5o5PrsSLlFrizbWhjBJU/+p8t1JuT0W7fQvQDGXGcWljQQZ?= =?us-ascii?Q?rg=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: DM6PR12MB3753.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: a41be9fa-c753-4b9e-04d3-08d9a9ce19d4 X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Nov 2021 13:28:11.0168 (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: zUs0Zalz8XUFGXHdg+1E/CqczucFhgc6dAketw5aMJ4OKw2tS2VWmkCqGFwTrsgvboLwyF7YsZieaW9cS2z26Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR12MB2568 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, David I've re-checked the mlx5_hlist_create() call tree. And it seems all the calls are done with hardcoded const values for "size"= argument, and all these values are powers-of-2. We had an issue in the past, but then I was not seeing this warning for a l= ong time on my setup.=20 With best regards, Slava > -----Original Message----- > From: David Marchand > Sent: Wednesday, November 17, 2021 15:02 > To: Slava Ovsiienko > Cc: dev@dpdk.org; NBU-Contact-Thomas Monjalon ; > ferruh.yigit@intel.com; Matan Azrad ; Suanming Mou > ; Maxime Coquelin > > Subject: Re: [PATCH] common/mlx5: decrease log level for hlist creation >=20 > On Wed, Nov 17, 2021 at 1:14 PM Slava Ovsiienko > wrote: > > > > Hi, David > > > > In general, I'm OK with lowering the log level. > > But we do not expect the warning " is not power of 2". > > What mlx5_hlist_create() call caused this? >=20 > That's something Maxime can see on RHEL8 with CX6 devices. > I remember seeing it too in the (recent) past, probably when working with= our > QE. > So far, I did not associate this log presence to functional issues. >=20 >=20 > Looking at DPDK mailing lists: > http://inbox.dpdk.org/dev/?q=3D%220xFFFF+is+not+power+of+2%22 > http://inbox.dpdk.org/users/?q=3D%220xFFFF+is+not+power+of+2%22 >=20 > So we are not the only ones seeing this. >=20 > > > > > -----Original Message----- > > > From: David Marchand > > > Sent: Tuesday, November 16, 2021 22:34 > > > To: dev@dpdk.org > > > Cc: NBU-Contact-Thomas Monjalon ; > > > ferruh.yigit@intel.com; Matan Azrad ; Slava > > > Ovsiienko ; Suanming Mou > > > > > > Subject: [PATCH] common/mlx5: decrease log level for hlist creation > > > > > > Initialising mlx5 devices in OVS, I get the following logs: > > > 2021-11-16T20:08:37Z|00021|dpdk|INFO|EAL: Probe PCI driver: > mlx5_pci > > > (15b3:101d) device: 0000:3b:00.0 (socket 0) > > > 2021-11-16T20:08:37Z|00022|dpdk|INFO|common_mlx5: RTE_MEM is > > > selected. > > > 2021-11-16T20:08:38Z|00023|dpdk|WARN|mlx5_pci: Size 0xFFFF is not > > > power of 2, will be aligned to 0x10000. > > > > Can we remove not too meaningful details from commit message? > > Date/time in messages: 2021-11-16T20:08:38Z|00023| ? >=20 > I don't mind. > Logs were coming from OVS unit tests but the same can most likely be > reproduced with testpmd. >=20 >=20 > -- > David Marchand