From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 22D9FA0613 for ; Tue, 24 Sep 2019 18:32:01 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 00D3C2B99; Tue, 24 Sep 2019 18:32:01 +0200 (CEST) Received: from mail-qk1-f172.google.com (mail-qk1-f172.google.com [209.85.222.172]) by dpdk.org (Postfix) with ESMTP id 1E5B22B96 for ; Tue, 24 Sep 2019 18:32:00 +0200 (CEST) Received: by mail-qk1-f172.google.com with SMTP id 4so2419881qki.6 for ; Tue, 24 Sep 2019 09:32:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rockbridgesoftware-com.20150623.gappssmtp.com; s=20150623; h=from:to:subject:date:message-id:mime-version :content-transfer-encoding:thread-index:content-language; bh=twIXsSsc23h+YLb8deCWKh80FdM7gRXsITeSHfMapRA=; b=UElcFeX0RAC6tkDuLcNTOeoWgw/a3cIbYWSqlKKT+PBZr1L8wUJ9HnntMz7o+4RGhC PuLZJncc6A9f3OQpbjuSlJiJFXwPwG9/NirEnU3crZYZf9feG94qBuoldv3HaHQTyGIu 3+cOHdZDqe00cUJ10PT3uRMMrb0ODWCJKx8ODnPLO9t1omymFLLUdGbmlTpZqqzUF2ya NygnkppsWFI9yaEShANkHhBYEArg8HJDv3e2PPGvRHAY8C19Owglgc6UYn4t6HEdVrxf 6G2Vs21hNRWOvsWAOSLq/31wmIz0ur6BCAoR9ak8bPo+2GFUypae3fusuIsIBSacm1dX avTg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding:thread-index:content-language; bh=twIXsSsc23h+YLb8deCWKh80FdM7gRXsITeSHfMapRA=; b=uP4EKFiQX66Hcs68DiXWEIZiifaATxKWR3vSWOguUnOSLjyYtN1MM9JxdmkkhkQ8oC 16xmzm1IObBCm3MQ4M9LxL1m3uhAB10qyQhe5IkAVxnmV7voBc6DrvKtOw9IN/EeW4w0 tBGDhpWlqRjqiDvMknP/1LqDFn35VIO6IRhDdxUSKK6fFtgzyb9MZcjJZxFcAMFiT+11 VNrEXmwYkpuOfY9epOLQfV/uRwrS2k88KRpSeMo5u7kOCo/94nrFmAwAqVlAgq9WtX3n z7eZFo50QPCgmaYu1VZU3SYEkQ2PLABTAgKQhmqQM+cUe3Lpu+wj6TwipnCLhI0A6ls2 /4cg== X-Gm-Message-State: APjAAAVs2S6IooNlD3AVhyS29q23BJUnVVrWWUTjynnLZitJ8X5JFU7n /zGXwFsa7l3DG0cKpjthi+Jusy8ZOzI= X-Google-Smtp-Source: APXvYqw6B+piIBNsZZAcIHYquW2AYHsv+TCo8NG4U47zllwyIx6TBMrvvt8hfD0OZlVlqe0L5QbZ0Q== X-Received: by 2002:a05:620a:13d9:: with SMTP id g25mr3384744qkl.230.1569342719022; Tue, 24 Sep 2019 09:31:59 -0700 (PDT) Received: from heisenberg ([45.53.197.50]) by smtp.gmail.com with ESMTPSA id t17sm1892567qtt.57.2019.09.24.09.31.57 for (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 24 Sep 2019 09:31:58 -0700 (PDT) From: "Jim Vaigl" To: Date: Tue, 24 Sep 2019 12:31:51 -0400 Message-ID: <004101d572f5$92d479d0$b87d6d70$@com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: AdVy9ZHo1HqoOeJURCCyk0eROU1EBQ== Content-Language: en-us Subject: Re: [dpdk-users] DPDK on Mellanox BlueField Ref Platform X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org Sender: "users" Since no one has chimed in with any build/install/configure suggestion for the BlueField, I've spent some time debugging and thought I'd share the results. Building the l3fwd example application and running it as the docs suggest, when I try to send it UDP packets from another machine, it dumps core. Debugging a bit with gdb and printf, I can see that from inside process_packet() and processx4_step1() the calls to rte_pktmbuf_mtod() return Nil or suspicious pointer values (i.e. 0x80). The sample apps don't guard against NULL pointers being returned from this rte call, so that's why it's dumping core. I still think the problem is related to the driver config, but thought this might ring a bell for anyone who's had problems like this. The thing that still bothers me is that rather than seeing what I was expecting at init based on what the documentation shows: [...] EAL: probe driver: 15b3:1013 librte_pmd_mlx5 ... when rte_eal_init() runs, I'm seeing: [...] EAL: Selected IOVA mode 'PA' EAL: Probing VFIO support... This still seems wrong, and I've verified that specifying the BlueField target ID string in the make is causing "CONFIG_RTE_LIBRTE_MLX5_PMD=y" to appear in the .config. Regards, --Jim Vaigl 614 886 5999