From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Bill O'Hara" Subject: Re: Mellanox PMD failure w/DPDK-2.1.0 and MLNX_OFED-3.1-1.0.3 Date: Thu, 8 Oct 2015 09:06:35 -0700 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: "dev@dpdk.org" To: Olga Shern Return-path: Received: from mail-oi0-f45.google.com (mail-oi0-f45.google.com [209.85.218.45]) by dpdk.org (Postfix) with ESMTP id 7956211F5 for ; Thu, 8 Oct 2015 18:06:36 +0200 (CEST) Received: by oibi136 with SMTP id i136so29631170oib.3 for ; Thu, 08 Oct 2015 09:06:35 -0700 (PDT) In-Reply-To: List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Hi Olga Firmware is version 2.35.5100. Configuration details below. Thanks for any hints. bill root:~# cat /etc/modprobe.d/mlx4_core.conf options mlx4_core port_type_array=3D2,2 num_vfs=3D16 probe_vf=3D4 root:~# ibstat CA 'mlx4_0' CA type: MT4099 Number of ports: 1 Firmware version: 2.35.5100 Hardware version: 1 Node GUID: 0xf4521403008f1680 System image GUID: 0xf4521403008f1683 Port 1: State: Active Physical state: LinkUp Rate: 56 Base lid: 0 LMC: 0 SM lid: 0 Capability mask: 0x0c010000 Port GUID: 0xf65214fffe8f1680 Link layer: Ethernet CA 'mlx4_1' CA type: MT4100 Number of ports: 1 Firmware version: 2.35.5100 Hardware version: 1 Node GUID: 0x00140500c2d3b05f System image GUID: 0xf4521403008f1683 Port 1: State: Active Physical state: LinkUp Rate: 56 Base lid: 0 LMC: 0 SM lid: 0 Capability mask: 0x0c010000 Port GUID: 0xfc9739fffe1272c3 Link layer: Ethernet CA 'mlx4_2' CA type: MT4100 Number of ports: 1 Firmware version: 2.35.5100 Hardware version: 1 Node GUID: 0x00140500b90af10c System image GUID: 0xf4521403008f1683 Port 1: State: Active Physical state: LinkUp Rate: 56 Base lid: 0 LMC: 0 SM lid: 0 Capability mask: 0x0c010000 Port GUID: 0x20ecbbfffeefb934 Link layer: Ethernet CA 'mlx4_3' CA type: MT4100 Number of ports: 1 Firmware version: 2.35.5100 Hardware version: 1 Node GUID: 0x001405009661e607 System image GUID: 0xf4521403008f1683 Port 1: State: Active Physical state: LinkUp Rate: 56 Base lid: 0 LMC: 0 SM lid: 0 Capability mask: 0x0c010000 Port GUID: 0xf4c8e6fffe5abc89 Link layer: Ethernet CA 'mlx4_4' CA type: MT4100 Number of ports: 1 Firmware version: 2.35.5100 Hardware version: 1 Node GUID: 0x00140500bd09e128 System image GUID: 0xf4521403008f1683 Port 1: State: Active Physical state: LinkUp Rate: 56 Base lid: 0 LMC: 0 SM lid: 0 Capability mask: 0x0c010000 Port GUID: 0x5828e1fffe34f919 Link layer: Ethernet On Thu, Oct 8, 2015 at 2:03 AM, Olga Shern wrote: > Hi Bill, > > Can you please check the fw version that is installed on your ConnectX3? > > Thanks > > > Sent from Samsung Mobile. > > > -------- Original message -------- > From: Olga Shern > Date:08/10/2015 7:55 AM (GMT+00:00) > To: Bill O'Hara ,dev@dpdk.org > Subject: RE: [dpdk-dev] Mellanox PMD failure w/DPDK-2.1.0 and > MLNX_OFED-3.1-1.0.3 > > Hi Bill, > > There shouldn=E2=80=99t be any problem with what you are doing. > We are checking this now. > > Best Regards, > Olga > > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org ] On Behalf > Of Bill O'Hara > Sent: Thursday, October 08, 2015 6:05 AM > To: dev@dpdk.org > Subject: [dpdk-dev] Mellanox PMD failure w/DPDK-2.1.0 and > MLNX_OFED-3.1-1.0.3 > > Hello > > I wonder if anyone can suggest why previously working dpdk code may fail > in the Mellanox pmd code in dpdk-2.1.0, seemingly due to failure to creat= e > a "resource domain" via ibv_exp_create_res_domain(). I must admit I haven= 't > seen that verb before, and it appears to be returning null with no error > message. > > The DPDK log gives these hints: > > PMD: librte_pmd_mlx4: 0xa4fc20: TX queues number update: 0 -> 1 > PMD: librte_pmd_mlx4: 0xa4fc20: RX queues number update: 0 -> 1 > PMD: librte_pmd_mlx4: 0xa4fc20: RD creation failure: Cannot allocate memo= ry > > I'm using dpdk-2.10.0 and MLNX_OFED_LINUX-3.1-1.0.3 on ubuntu14.04 with = a > connectx-3 card. > > thanks > bill >