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 B5F63A0613 for ; Thu, 26 Sep 2019 12:59:34 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 7A37637B0; Thu, 26 Sep 2019 12:59:34 +0200 (CEST) Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-eopbgr140084.outbound.protection.outlook.com [40.107.14.84]) by dpdk.org (Postfix) with ESMTP id 2CFB437A2 for ; Thu, 26 Sep 2019 12:59:33 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=X9aUWSjxqp7A9rPw6hU7XItyeHeU5gjiMEh/Ul/Am43WiGfGsonOEhWYIMxtxJkDXAFRNFhD7OOUO2fXOhp1+hKGRnfSd8f8SmrfTxNe0LkXnM1XE2X+0YCVSb7kIzXptnB2bhCPnmcpoCIGiVI4dGgeK1/Ph2SXkqQ4/i2VHCGTmvmd3tqlFyxB9QRqymu864tQTCfLYH4U0KAPFMq2Omvwngpz9TnQ18yVaxoHyTj3jt3XkksDsdM3c5OrSqHuufAejWIz3dGuKnlkY9sOkO3+i1sgKXiXAiSbnDtMH9ZgVPbHnMclRhDtoz5mvNs+b41vL4KUxU4XjO3PQwT+ZA== 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-SenderADCheck; bh=9ar+1eS52CbgYO1+z7Dcy2RtAEpdMaALm9C3+62Dvwc=; b=WSYVbboHGMGph7gKlnvlOA+pT31ssTCaqMacLgC5UfDLy9wkQDmTk4GIQIGRUHu1l4gBuOOTJXDB7mybw6iold+MN6j6BtQA+Xl3lVEjrBs3bfSEVauY/COH95th3EwNV2RedBBuM3c1q4+oYRw8J3pf46HRYaADQU8dfaCN6zgk9nSyXZ14IFBFHsBYVpdMeXmx8iLcXptEFtJ6GDG/81lp61lvy6FNUIbv9bx21S56872rSHTdDr7ZpAkJc5Ja3RhZOXOAOoRBTSd0LVsWbmxjYOPp6XMYk67fqm9mKDOi5HT1U9aPkyvEt0aBWZNyyaL2Iun90QUXbmBk1mja8A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=mellanox.com; dmarc=pass action=none header.from=mellanox.com; dkim=pass header.d=mellanox.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=9ar+1eS52CbgYO1+z7Dcy2RtAEpdMaALm9C3+62Dvwc=; b=Haw2DSrMw5UQ3lWBeZv3j1loK+LDc0925CJQDz9JvYUQZuYLDj3K7FrRIw7R09sj7bWbj7VVf5iB6wGgZtGlxD2cg2ei+m6po6aImKMGHh4tPsdhoatTB+RX8h1Db3N5IVPrQhHKYH/1nFV9bZisv3II7mAS3SpLg4yCjs8yO8I= Received: from AM6PR05MB6615.eurprd05.prod.outlook.com (20.179.1.30) by AM6PR05MB5830.eurprd05.prod.outlook.com (20.178.94.87) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2284.20; Thu, 26 Sep 2019 10:59:31 +0000 Received: from AM6PR05MB6615.eurprd05.prod.outlook.com ([fe80::3473:522e:4599:7b8c]) by AM6PR05MB6615.eurprd05.prod.outlook.com ([fe80::3473:522e:4599:7b8c%3]) with mapi id 15.20.2284.023; Thu, 26 Sep 2019 10:59:31 +0000 From: Asaf Penso To: Jim Vaigl , 'Stephen Hemminger' CC: "users@dpdk.org" , Kiran Vedere , Erez Ferber , Olga Shern Thread-Topic: [dpdk-users] DPDK on Mellanox BlueField Ref Platform Thread-Index: AdVy9ZHo1HqoOeJURCCyk0eROU1EBQABnMsAAAPtiAAAU1unIA== Date: Thu, 26 Sep 2019 10:59:31 +0000 Message-ID: References: <004101d572f5$92d479d0$b87d6d70$@com> <20190924101802.273c25d9@hermes.lan> <000001d5730b$bc69ea30$353dbe90$@com> In-Reply-To: <000001d5730b$bc69ea30$353dbe90$@com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=asafp@mellanox.com; x-originating-ip: [176.12.234.109] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 6388530d-a4e1-42b5-3245-08d742709c16 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(5600167)(711020)(4605104)(1401327)(4618075)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7193020); SRVR:AM6PR05MB5830; x-ms-traffictypediagnostic: AM6PR05MB5830:|AM6PR05MB5830: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:10000; x-forefront-prvs: 0172F0EF77 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(979002)(4636009)(39860400002)(136003)(346002)(366004)(376002)(396003)(13464003)(189003)(199004)(81156014)(81166006)(478600001)(74316002)(229853002)(7736002)(55016002)(305945005)(99286004)(9686003)(6436002)(52536014)(6116002)(3846002)(5660300002)(71200400001)(256004)(2906002)(14454004)(66066001)(54906003)(110136005)(4326008)(107886003)(71190400001)(33656002)(6246003)(14444005)(316002)(486006)(6506007)(102836004)(7696005)(76176011)(53546011)(186003)(446003)(66556008)(66446008)(11346002)(8936002)(66476007)(66946007)(26005)(64756008)(25786009)(86362001)(476003)(76116006)(8676002)(969003)(989001)(999001)(1009001)(1019001); DIR:OUT; SFP:1101; SCL:1; SRVR:AM6PR05MB5830; H:AM6PR05MB6615.eurprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: uln40VCiqgz4EwDbZyhDTQYpRu6S8EI+PTTr1TZlaxjn0OKo4ntarq4JUoQUJ8wu3Dc9J0mnh9LE/GLI+ZjtkYPl6of8xsZVsEhixrxJXuOe1bux+uZnImaPpR04V5P1dPqqnP8uiFq499Re6PuKZ1iener3w3yCilJViGaxrkyUsbIupjidxz+snOsl88VUA+2cuuB6jh1//umLeb+hL5tBWrZoHuZPZTMM0uwYLw8/s2GBa1hwhSeBcsuo4NgZLyq6imZUVZG2WWi9vVmGBFO4WBRiy0vgA7hMFChwEOoCwMkO9eHVV8tThDySDR0n9vNGdsjRDQlENk5Fcun2lcW25uR9L2eOd9Y8fJaVldw7kZ2W2LjaMePHF0DMZ+2he/yk+QuYR6YBoxxipboGJ9NuH9OC4M+jt8DyJvMxeaQ= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6388530d-a4e1-42b5-3245-08d742709c16 X-MS-Exchange-CrossTenant-originalarrivaltime: 26 Sep 2019 10:59:31.6976 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: /14LjDaz+hJdDUp05apx/+022D7F4GW0jwOxYRZrrjmoJQESuzi523umCq2oTorozdMq6k1cI9RQBxG+6o/U7A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR05MB5830 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" Hello Jim, Thanks for your mail. In order for us to have a better resolution please send a mail to our supp= ort team - support@mellanox.com Please provide as much info about the setup, configuration etc as you can. In parallel, I added Erez Ferber here to assist. Regards, Asaf Penso > -----Original Message----- > From: users On Behalf Of Jim Vaigl > Sent: Tuesday, September 24, 2019 10:11 PM > To: 'Stephen Hemminger' > Cc: users@dpdk.org > Subject: Re: [dpdk-users] DPDK on Mellanox BlueField Ref Platform >=20 > On Tue, 24 Sep 2019 12:31:51 -0400 > "Jim Vaigl" wrote: >=20 > >> 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 BlueFiel= d > >> target ID > >> string in the make is causing "CONFIG_RTE_LIBRTE_MLX5_PMD=3Dy" to > appear in > >> the .config. > >> > >> Regards, > >> --Jim Vaigl > >> 614 886 5999 > >> > >> > > > >From: Stephen Hemminger [mailto:stephen@networkplumber.org] > >Sent: Tuesday, September 24, 2019 1:18 PM > >To: Jim Vaigl > >Cc: users@dpdk.org > > > >Subject: Re: [dpdk-users] DPDK on Mellanox BlueField Ref Platform > >make sure you have latest version of rdma-core installed (v25). > >The right version is not in most distros >=20 > Great suggestion. I'm using the rdma-core from the MLNX_OFED 4.6-3.5.8.0 > install. I can't figure out how to tell what version that thing includes= , > even looking at the source, since there's no version information in the > source files, BUT I went to github and downloaded rdma-core v24 and v25 > and neither diff cleanly with the source RPM that comes in the OFED > install. I don't know yet if it's because this is some different version > or if it's because Mellanox has made their own tweaks. >=20 > I would hope that the very latest OFED from Mellanox would include an > up-to-date and working set of libs/modules, but maybe you're on to > something. It sounds like a risky move, but maybe I'll try just > installing rdma-core from github over top of the OFED install. I have a > fear that I'll end up with inconsistent versions, but it's worth a try. >=20 > Thanks, > --Jim >=20 >=20