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 DB2D5A0C41; Thu, 18 Nov 2021 15:23:00 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6295940687; Thu, 18 Nov 2021 15:23:00 +0100 (CET) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mails.dpdk.org (Postfix) with ESMTP id 9BAD240395 for ; Thu, 18 Nov 2021 15:22:58 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1637245377; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=Vh4ALxnieCGVg4ZgU/vm8PilFZuH5FhaBAjKHRuxOE8=; b=aKzfcy9LahtbRQM7/khNHKzaB3wLyqtAyZ9d+2GrxeiuoJL0eBmexSaeqnKpRPPemM7xt2 qNA+UWdU8GJXWdgxhz13ZeBPUtrnoGJhqQGQ0JftZ9j5ph7F/julFwUs27fG60ycz/sCoh VLXVK//IDvCFIqwrnXeLk1cb3ViEpMo= Received: from mail-lf1-f72.google.com (mail-lf1-f72.google.com [209.85.167.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-375-cQY0ikv6NOyfKD1xAv3Cyg-1; Thu, 18 Nov 2021 09:22:56 -0500 X-MC-Unique: cQY0ikv6NOyfKD1xAv3Cyg-1 Received: by mail-lf1-f72.google.com with SMTP id b23-20020a0565120b9700b00403a044bfcdso4149420lfv.13 for ; Thu, 18 Nov 2021 06:22:56 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Vh4ALxnieCGVg4ZgU/vm8PilFZuH5FhaBAjKHRuxOE8=; b=SK87s83tyHgIU+PQivKO+n0co6oajoydz7AzS9dHLI2Sanps1aQ1S181hMypKmcDdm zH+BSB0lefsiisGVH4pk459n50y6BBYxPEOmWCCo7I5DZdt+b3m70N8l+j5maa3hXMON zbhayh+OA39S5Fzav0Pmq4qN1YKI5fB5mD9xR6F8Wzh42DZKs1pyEjoBZzQ8vNaVj3qo AVbN18UuLFzHoR9FYJv4uyRAAN849BlRM07No2ijsmMgxydRLbHUYD4vBdJwdFDyzgLD 88DJUIfsy9f/YiIfuP72zEEOYfmd7ZZGvqcPBfbawRDwMKjbpmGAuiTi+2gbzzgyJ9Vw UtrA== X-Gm-Message-State: AOAM533UyY4l5VaUxSHCf8HqxCo/VnqqsT+RgApneLzrSQewFmxWsdGL CZDuyV2iuklQmifksiLbmq456/fCcjqb7q/kRZU2ix9J2KrqNZ9giGKM7HBiC5mEQTrjhsiEiiU PIfxj0Gcj2zGtifZhZgc= X-Received: by 2002:ac2:42c6:: with SMTP id n6mr23685361lfl.553.1637245374977; Thu, 18 Nov 2021 06:22:54 -0800 (PST) X-Google-Smtp-Source: ABdhPJzLzOEvu+DGl0vh4UmrrXpngEUq5V556ZIXaHTt1lk4ZzKMmDMvbCYt4ijlihubrAFzti9eOsuc8xHBpM6yhoY= X-Received: by 2002:ac2:42c6:: with SMTP id n6mr23685335lfl.553.1637245374787; Thu, 18 Nov 2021 06:22:54 -0800 (PST) MIME-Version: 1.0 References: <20211116203354.14167-1-david.marchand@redhat.com> In-Reply-To: From: David Marchand Date: Thu, 18 Nov 2021 15:22:43 +0100 Message-ID: Subject: Re: [PATCH] common/mlx5: decrease log level for hlist creation To: Slava Ovsiienko Cc: "dev@dpdk.org" , NBU-Contact-Thomas Monjalon , "ferruh.yigit@intel.com" , Matan Azrad , Suanming Mou , Maxime Coquelin Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=dmarchan@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" 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 Slava, On Wed, Nov 17, 2021 at 3:46 PM David Marchand wrote: > > On Wed, Nov 17, 2021 at 2:28 PM Slava Ovsiienko wrote: > > > > 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 long time > > on my setup. > > I'll double check with Maxime. > There might be a misunderstanding between us. Maxime passed me his setup with a CX6. I confirm there is no warning in main and the problem has been fixed in v20.11 LTS. Sorry for the noise, I'll withdraw this patch. Thanks. For the record: - v20.11 and v20.11.1 has logs about: mlx5_pci: Size 0xFFFF is not power of 2, will be aligned to 0x10000. mlx5_pci: Failed to init cache list FDB_ingress_0_matcher_cache entry (nil). - v20.11.2 has only: mlx5_pci: Failed to init cache list FDB_ingress_0_matcher_cache entry (nil). - v20.11.3 has no warning -- David Marchand