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 98172A0C41; Wed, 17 Nov 2021 20:16:27 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3371D40687; Wed, 17 Nov 2021 20:16:27 +0100 (CET) Received: from inbox.dpdk.org (inbox.dpdk.org [95.142.172.178]) by mails.dpdk.org (Postfix) with ESMTP id D607A40040 for ; Wed, 17 Nov 2021 20:16:25 +0100 (CET) Received: by inbox.dpdk.org (Postfix, from userid 33) id 7717DA0C45; Wed, 17 Nov 2021 20:16:25 +0100 (CET) From: bugzilla@dpdk.org To: dev@dpdk.org Subject: [Bug 887] mlx5: cannot probe ConnectX-6 Dx if socket-limit is too small on NUMA socket 0 Date: Wed, 17 Nov 2021 19:16:25 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: DPDK X-Bugzilla-Component: ethdev X-Bugzilla-Version: 21.08 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: sunnylandh@gmail.com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: dev@dpdk.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.dpdk.org/ Auto-Submitted: auto-generated X-Auto-Response-Suppress: All MIME-Version: 1.0 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 https://bugs.dpdk.org/show_bug.cgi?id=3D887 Bug ID: 887 Summary: mlx5: cannot probe ConnectX-6 Dx if socket-limit is too small on NUMA socket 0 Product: DPDK Version: 21.08 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: Normal Component: ethdev Assignee: dev@dpdk.org Reporter: sunnylandh@gmail.com Target Milestone: --- Our client has a ConnectX-6 Dx Ethernet adapter, installed on a PCI slot belonging to NUMA socket 1. When DPDK is initialized with flags "--socket-limit 1,2048 -a c1:00.0", PCI probe fails with this message: EAL: No available 2048 kB hugepages reported EAL: No free 2048 kB hugepages reported on node 0 EAL: No free 2048 kB hugepages reported on node 1 EAL: No available 2048 kB hugepages reported mlx5_net: probe of PCI device 0000:c1:00.0 aborted after encountering an er= ror: Cannot allocate memory mlx5_common: Failed to load driver mlx5_eth EAL: Requested device 0000:c1:00.0 cannot be used EAL: Bus (pci) probe failed. I suspect somewhere in the driver is trying to allocate certain objects on = NUMA socket 0, but I don't know which. It should be changed to allow allocation on any NUMA socket. --=20 You are receiving this mail because: You are the assignee for the bug.=