From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from emea01-am1-obe.outbound.protection.outlook.com (mail-am1on0087.outbound.protection.outlook.com [157.56.112.87]) by dpdk.org (Postfix) with ESMTP id 944C28DA7 for ; Thu, 8 Oct 2015 17:36:24 +0200 (CEST) Received: from VI1PR05MB1008.eurprd05.prod.outlook.com (10.162.11.143) by VI1PR05MB1470.eurprd05.prod.outlook.com (10.164.85.28) with Microsoft SMTP Server (TLS) id 15.1.280.20; Thu, 8 Oct 2015 15:36:23 +0000 Received: from HE1PR05MB1001.eurprd05.prod.outlook.com (10.161.115.140) by VI1PR05MB1008.eurprd05.prod.outlook.com (10.162.11.143) with Microsoft SMTP Server (TLS) id 15.1.286.20; Thu, 8 Oct 2015 15:36:22 +0000 Received: from HE1PR05MB1001.eurprd05.prod.outlook.com ([10.161.115.140]) by HE1PR05MB1001.eurprd05.prod.outlook.com ([10.161.115.140]) with mapi id 15.01.0286.019; Thu, 8 Oct 2015 15:36:22 +0000 From: Olga Shern To: Jesper Wramberg , "dev@dpdk.org" Thread-Topic: [dpdk-dev] Segmentation fault when bonding ports on Mellanox ConnectX-3 Thread-Index: AQHRAd2E+gfBc1Rsb024ZKG7zP7kXp5hum+m Date: Thu, 8 Oct 2015 15:36:21 +0000 Message-ID: References: In-Reply-To: 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=olgas@mellanox.com; x-originating-ip: [89.101.84.21] x-microsoft-exchange-diagnostics: 1; VI1PR05MB1008; 5:rOpFYP5Ch5SxyWPGFlfe5PrJUGDOHxwlvLxCyfZ0eoTmlXDnTTlIYVMyNMvaZruE6PAhRA3Vpw9+1rExSoqiGJOrEQBt7VprXYkf0VL/84SKv7OHNuWPVzhdmkx12rpTuuPN6N4vxvjLmZz4Ie8YPg==; 24:UilkbPRa16RDskNa8LO3GtMURS442rQq3dVDTHx+rYKbck69Qw7ulrYemIYFUgMl9XlL3KQalwLouHSdz4hHYpZHZIcv4NFCSVwjOJOP6nU=; 20:9G07UWmXjT36kHDCl46poso0+7mt8BcGo9Qx9LlpVamozOBxxTAeGUYusoHDNNeOlkAi2VFElHGFNyljcgzPgA== x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:VI1PR05MB1008; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(601004)(2401047)(8121501046)(5005006)(520078)(3002001); SRVR:VI1PR05MB1008; BCL:0; PCL:0; RULEID:; SRVR:VI1PR05MB1008; x-forefront-prvs: 0723A02764 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(6009001)(377454003)(165144002)(189002)(479174004)(53754006)(199003)(86362001)(33646002)(5001770100001)(50986999)(95246002)(16236675004)(54356999)(92566002)(40100003)(77096005)(5007970100001)(19580405001)(19580395003)(2950100001)(2900100001)(97736004)(102836002)(122556002)(5004730100002)(64706001)(101416001)(5008740100001)(76176999)(81156007)(19625215002)(87936001)(66066001)(10400500002)(11100500001)(189998001)(107886002)(63666004)(46102003)(5002640100001)(106356001)(105586002)(106116001)(2501003)(5001960100002); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR05MB1008; H:HE1PR05MB1001.eurprd05.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; received-spf: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) spamdiagnosticoutput: 1:23 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Oct 2015 15:36:21.7426 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR05MB1008 X-Microsoft-Exchange-Diagnostics: 1; VI1PR05MB1470; 2:gazeB57n1YQ97wmJ7TTwgRabaZQxzToXTuIqvC5NOSLSK568F9HYb/6j/cTMxZ39X0TKY/8Jj5aFQfDCBv8Lt2X6cpmjCRMFpwjS7hKJLSGl7me+B0kFcQWIdM7HeaWhko4cTY9NUgpxDkyCYHURiwd0Ua7gfmsmZ3Dbi0/lyck=; 23:91599z2IsZRXb4bhkxwbgYpwho/CH7OYfd3RwPCmh9J86pqe4Lcivr0WBQU7iQ8VWuA21BdxRRONsnLPRrb+jRfulvQ6dRvQee1CHTEUBCOSYOzDsNLzX1sW5UrNyAB3IXWjVzG7B6tCsT7D8rTVnbqMI+qxTzKKLFbHaBf14TWImn+wNQWu7cIrJ6y+nY5u X-OriginatorOrg: Mellanox.com Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-dev] Segmentation fault when bonding ports on Mellanox ConnectX-3 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Oct 2015 15:36:24 -0000 Hi Jesper, Bonding pmd is not supported with dpdk 2.1 on Mellanox nic We just sent patches to support async link events. Without these patches it= will not work. Best Regards Olga Sent from Samsung Mobile. -------- Original message -------- From: Jesper Wramberg Date:08/10/2015 4:25 PM (GMT+00:00) To: dev@dpdk.org Subject: [dpdk-dev] Segmentation fault when bonding ports on Mellanox Conne= ctX-3 Hi all, I was wondering if anyone has any experience with the ConnectX-3 card from Mellanox ? I have a server with such a card I can't seem to get link bonding to work. I've installed the necessary kernel modules, etc. and the card works as expected when testing it using e.g. the layer 2 forwarding example. If i try to run the bond example, however, I get a segmentation fault when the "rte_eth_bond_slave_add" function is called. Originally I wanted to bond the ports using the EAL cmd line option but the card only has one pci address :( Does anyone have any idea what could be causing this behavior ? I am running fw version 2.30.x which I have considered upgrading. Besides this I have been wondering if I have to do anything in Linux since the PMD uses the Linux drivers for control. I haven't been able to find any information on it though. Regards, Jesper Wramberg