From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lb0-f180.google.com (mail-lb0-f180.google.com [209.85.217.180]) by dpdk.org (Postfix) with ESMTP id E0B8E9E5 for ; Mon, 12 Oct 2015 18:02:43 +0200 (CEST) Received: by lbbck17 with SMTP id ck17so27476006lbb.1 for ; Mon, 12 Oct 2015 09:02:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=ApJnD3LgOVGz8k4FXrG9k/BiGKsqj8gFK1YZYgCaEV0=; b=eLBDFvF+LLCPEHMNCz5nlXYIT2ofe6hZhGNS1QgPk/Emt8Lixri0LjSyO97tXBMzlL NcR+RxnML5mnawhdNVbh7RM4K9CR03BkAz1JqFclFjWtgPuXqWrn7Rfxn1pF8Cy8U06H HBNj7JCwPWtyPi4/qTipoeucryVk55a8X1l26/oEhdLDheTtF2rGsSWO5/OS0vWWW9bs EG3u/I+GNbOl991LF+iPU6NFvkN1Oqz6H1udqLhWOuK3Gcj0HtJ/zvp/y4xbxsTFVcyE YeK4i9HbpH+KW7Q6xGb5aIGEOyA5crifgunFT4/0eOZE7eTzLJR8SPOk/iGnN43YzPdR lBPA== MIME-Version: 1.0 X-Received: by 10.25.21.149 with SMTP id 21mr1229097lfv.61.1444665763590; Mon, 12 Oct 2015 09:02:43 -0700 (PDT) Received: by 10.25.167.12 with HTTP; Mon, 12 Oct 2015 09:02:43 -0700 (PDT) In-Reply-To: References: Date: Mon, 12 Oct 2015 18:02:43 +0200 Message-ID: From: Jesper Wramberg To: Olga Shern Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Cc: "dev@dpdk.org" 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: Mon, 12 Oct 2015 16:02:44 -0000 Hi again, The patches worked great and the DPDK bonding API functions with the ConnectX-3 now.. yay :-) I have run into some new trouble however and since its related I figured I would ask here if anyone could help. I am using SR-IOV to create a dual-port VF. When trying to bond the ports on this VF it seems that DPDK cannot set the mac address on the slaves. As a result, I am unable to receive data on the bonded port. As a workaround, I can set the mac address on the two VF ports manually in Linux using "ip link set vf 0 mac ..." after which I can start DPDK and receive data on the bonded port as wanted. Is there a way to allow DPDK to change the mac address so I avoid the workaround ? I have done some searching but couldn't find anything. Regards, Jesper Wramberg 2015-10-09 0:29 GMT+02:00 Olga Shern : > For the sake of clarity, I assume you mean the patches about: > > "eal: new interrupt handler type" > > "mlx4: handle interrupts" > > *[Olga ] Yes, you are right * > > > > Best Regards, > > Olga > > > > 2015-10-08 17:36 GMT+02:00 Olga Shern : > > > > > > 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 > ConnectX-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 > > >