From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-yw1-f52.google.com (mail-yw1-f52.google.com [209.85.161.52]) by dpdk.org (Postfix) with ESMTP id 5B0A81B141 for ; Wed, 5 Dec 2018 14:53:13 +0100 (CET) Received: by mail-yw1-f52.google.com with SMTP id d190so8527531ywd.12 for ; Wed, 05 Dec 2018 05:53:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=bkQTOwaBgXLO4iMSl2ZlL7ZuAFM2xb8s4Uai2vwNKmE=; b=r1gshvwGzKtrhDWpY2pSZ7Kypyl3Ng6RIjmQQwHn22inY0hZ9csaqeD2t8v/iSZADo gfrx2RLxhCDKwCfJJEDgw7cwMPLpizCOUqzIEKd4fQD3T9YT4wbb6WUGj9Rrx1nxemwa aWNM+iOXoN9rij5DLbxeANj7O300+hBsU2O95Vg/lttzB7lvzQOiRqwQCm6Aok9k8UTW oMQHfmEg6zfNoCFefPjxanlwRvaBi9Kbut/YrQI2NVg6O95QyJLW0ooe6SOxVQlEP5tk 6l320H4sxtAK9TiWzx1eQUq5eVmgS9eECadl+kRIMS50O1D/p20MYxZHIhdYjTIbokN4 k4lg== 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=bkQTOwaBgXLO4iMSl2ZlL7ZuAFM2xb8s4Uai2vwNKmE=; b=DCu7xnlFBKm4FX2etOXrbT9jx2sIsYJ1c6D678VgLPREW6TCTevL5cFFM7/Ewpwvum SeDupMKqa5pj3ptPPuNVqQg9QV/RT+fB9kQ0g/oAlcg9NTC8qVIzdF39e+463BjWkTOZ D3iIxY/VKznKAcVltCjfBqIGoXE5vBDlJ0LuhmmiUfKYFfZ21TCJNOVN4MBtAJgOnf1+ 3YeT2Adxuxo9BWV6nBUaKwnimzwxhcOYPGkSw6GabJtNzNggdS9u0ZPwU602ekPG9xoX XPtmBnH2sBhjRsAeCJTs9iWGmCYQWbZ5x6CyvI+bIOY6yWbiCZafBtSx+ksSDVA6rFlf +11Q== X-Gm-Message-State: AA+aEWb3a9hX5IvucuVP4stueUInLWbsGxXLKJOcAlgO5RMf9unT+OMF TfbOM0NozY8dywQIeYS2kQMrjzwo/5Y4nUhb+OM= X-Google-Smtp-Source: AFSGD/V6XL6eUE0zzh4QWeAkHA+fAjK9KgsREYoQRxzUh/s9AvilHp2MO9PPubDSsEGGBTt4zT/ytfrY6EIxu7rxBS8= X-Received: by 2002:a81:af0c:: with SMTP id n12mr23460455ywh.446.1544017992536; Wed, 05 Dec 2018 05:53:12 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Cliff Burdick Date: Wed, 5 Dec 2018 05:53:00 -0800 Message-ID: To: Alex Zelichenko Cc: users 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 13:53:13 -0000 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 >>> >> > > -- > Best Regards, > *Alex Zelichenko > , Senior > Researcher* > +972-53-7737006 > SCADAfence.com >