From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ua1-f48.google.com (mail-ua1-f48.google.com [209.85.222.48]) by dpdk.org (Postfix) with ESMTP id 15E3E1B13C for ; Wed, 5 Dec 2018 15:59:13 +0100 (CET) Received: by mail-ua1-f48.google.com with SMTP id k10so7191133ual.6 for ; Wed, 05 Dec 2018 06:59:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=scadafence-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=nJzn2Oq/hXt8hcl5PY7sH1U1HootzKif9oioyYc1soc=; b=mgbRkMzv1EisuhQ0CTyY0G7PvxPbwqeIx5DMi8HUH4jO/JyCfMeWO8663FmNqf7jO3 DBiZHvMRgQGSsMtHddZu3hBwK0kqchg7siOvKldX7e4lITHD0/q1ST2hoNOtvOgXCVNw mDveTDML9DicB0N1v/y97jRcZ0/OK1uBcBKdGI/SqXYQp9FXvLuCMP7l8V27bO5KGiyX w/7V3pnMiDfQPEosWm9UGTh0hrbwOYWk2L/qICO++rPSCgVqBVD/UKU3atuAC+ybfwXL L9DmOb6860MnsZpnFsYRqZ/RilS0+UMQ2VYAPsarll1f8IvAVczXYTFc15SwsXx9Abt+ C+Cg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=nJzn2Oq/hXt8hcl5PY7sH1U1HootzKif9oioyYc1soc=; b=BtXf3WYNNHRxvVmMn45Mm7NhwL4NZ4f3j4VSgWasNrAgYfICG0ahFDDKGfnACGzIEW ZJ4SpRGbrDUS+nYkqQCsD/IOwEJtyg3RrmbdU2fngNm1KEDIpx+xXZOKJsftTbIx5IBk pa5cRsqnaHniKK+xOKaZ2EQgFcdJIhWi35jU3S+KNAkykBRyGk5o09bqz1g2REpFYBrh /sQiyAzPCwfFEhWmlezVfRzclXneqDwFq0BupeVW7LsOm6WhrACFJjb985CM7EHBgXX6 jB+xGHY/8k3w3CqDF4HMtUBu+mNr1gortvfSBwJGTLJ2MCSq30xGzWrNqfnKWzZVanUA /KLw== X-Gm-Message-State: AA+aEWZlRWi/T/ileN+r8c+vSGK3jQhKLkdXUxtuROiZRktD6j4W23yz A6HlEtsTfKrv1rfQ3dahwtJT+ZLYkruVuV7O7xxHrw== X-Google-Smtp-Source: AFSGD/X8jawLkXtMqBhpUg567AlVhAbncIdZZjYW4RKTgixu5IG4xDGubY1xxql11O8vhtrR/ZzstSsKmb2aHDXSW28= X-Received: by 2002:ab0:6151:: with SMTP id w17mr11408609uan.114.1544021952344; Wed, 05 Dec 2018 06:59:12 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Alex Zelichenko Date: Wed, 5 Dec 2018 16:59:00 +0200 Message-ID: To: shaklee3@gmail.com Cc: users@dpdk.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-users] error running bonding example - Rx offloads capabilities 0x0 in rte_eth_dev_configure() 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: , X-List-Received-Date: Wed, 05 Dec 2018 14:59:13 -0000 It's *gcc (Ubuntu 4.8.4-2ubuntu1~14.04.4) 4.8.4* On Wed, Dec 5, 2018 at 3:53 PM Cliff Burdick wrote: > Before going there, can you describe your compiler version? The code > should have worked as-is I think, so it would be good to understand what > broke. > > On Wed, Dec 5, 2018, 02:36 Alex Zelichenko >> Great, it worked (10x!). There's no error any more. But how do I interact >> with that bond port? For now it behaves like network stub. Just collects >> stats. Can I feed it to kni? >> >> On Tue, Dec 4, 2018 at 6:59 PM Cliff Burdick wrote: >> >>> Can you try zeroing out the offloads flag at the top? >>> >>> .rxmode = { >>> .mq_mode = ETH_MQ_RX_NONE, >>> .max_rx_pkt_len = ETHER_MAX_LEN, >>> .split_hdr_size = 0, >>> .offloads = 0, >>> }, >>> >>> >>> On Tue, Dec 4, 2018 at 12:53 AM Alex Zelichenko >>> wrote: >>> >>>> Hi, I am running provided *bond_app* for 2 ports (bound to igb_uio), and >>>> the log I get is as follows: >>>> alex@alex-lab:~/dpdk-stable-18.05.1$ sudo >>>> ./examples/bond/build/bond_app >>>> -l 2-7 -n 2 -m --huge-dir /mnt/huge -- -p 3 -P >>>> --config="(0,2,3,7),(1,4,5,6)" >>>> EAL: Detected 8 lcore(s) >>>> EAL: Detected 1 NUMA nodes >>>> EAL: Multi-process socket /var/run/dpdk/rte/mp_socket >>>> EAL: No free hugepages reported in hugepages-1048576kB >>>> EAL: Probing VFIO support... >>>> EAL: PCI device 0000:00:1f.6 on NUMA socket -1 >>>> EAL: Invalid NUMA socket, default to 0 >>>> EAL: probe driver: 8086:15b7 net_e1000_em >>>> EAL: PCI device 0000:03:00.0 on NUMA socket -1 >>>> EAL: Invalid NUMA socket, default to 0 >>>> EAL: probe driver: 8086:1528 net_ixgbe >>>> EAL: PCI device 0000:03:00.1 on NUMA socket -1 >>>> EAL: Invalid NUMA socket, default to 0 >>>> EAL: probe driver: 8086:1528 net_ixgbe >>>> User device list: >>>> Port 0 MAC: b4:96:91:21:a2:6c >>>> Port 1 MAC: b4:96:91:21:a2:6e >>>> ethdev port_id=2 requested Rx offloads 0x1000 doesn't match Rx offloads >>>> capabilities 0x0 in rte_eth_dev_configure() >>>> >>>> Port 2 MAC: b4:96:91:21:a2:6c >>>> Starting lcore_main on core 3:0 Our IP:7.0.0.10 >>>> bond6> >>>> >>>> How do I get rid of that error on bond port? How do I get that bond >>>> interface? I can't see anything in the system that is related to >>>> *net_bonding0* >>>> -- >>>> Best, >>>> Alex Z >>>> >>> >>