Re: [dpdk-users] error running bonding example - Rx offloads capabilities 0x0 in rte_eth_dev_configure()

2018-12-05 Thread 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? > >

[dpdk-users] Hyper-V multi-queue not working on Kernel v4.20

2018-12-05 Thread Gareth Bradshaw
Hi, I'm developing a DPDK application for Hyper-V and would like to use Kernel v4.20 as it fixes a crash in previous kernels (per this pull request) but multi-queue support seems to have broken in that kernel.

[dpdk-users] error while compiling pktgen-dpdk on RHEL/Centos 7.5

2018-12-05 Thread Murali Krishna
Hi, I am trying to compile pktgen-3.5.8 on RHEL/Centos 7.5 kernel. I see below error while compiling it from source. # cd pktgen-3.5.8/ # make == lib == common == utils == vec == lua Package lua5.3 was not found in the pkg-config search path. Perhaps you should add the directory

Re: [dpdk-users] error running bonding example - Rx offloads capabilities 0x0 in rte_eth_dev_configure()

2018-12-05 Thread Cliff Burdick
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

Re: [dpdk-users] error running bonding example - Rx offloads capabilities 0x0 in rte_eth_dev_configure()

2018-12-05 Thread Alex Zelichenko
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

Re: [dpdk-users] error while compiling pktgen-dpdk on RHEL/Centos 7.5

2018-12-05 Thread Wiles, Keith
> On Dec 5, 2018, at 7:56 AM, Wiles, Keith wrote: > > > >> On Dec 5, 2018, at 2:23 AM, Murali Krishna >> wrote: >> >> Hi, >> >> >> >> I am trying to compile pktgen-3.5.8 on RHEL/Centos 7.5 kernel. I see below >> error while compiling it from source. >> >> >> >> # cd pktgen-3.5.8/ >>

Re: [dpdk-users] Hyper-V multi-queue not working on Kernel v4.20

2018-12-05 Thread Stephen Hemminger
On Wed, 5 Dec 2018 11:05:58 + Gareth Bradshaw wrote: > Hi, > > I'm developing a DPDK application for Hyper-V and would like to use Kernel > v4.20 as it fixes a crash in previous kernels (per this pull >

Re: [dpdk-users] error while compiling pktgen-dpdk on RHEL/Centos 7.5

2018-12-05 Thread Wiles, Keith
> On Dec 5, 2018, at 2:23 AM, Murali Krishna > wrote: > > Hi, > > > > I am trying to compile pktgen-3.5.8 on RHEL/Centos 7.5 kernel. I see below > error while compiling it from source. > > > > # cd pktgen-3.5.8/ > > # make > > == lib > > == common > > == utils > > == vec > > ==

Re: [dpdk-users] error while compiling pktgen-dpdk on RHEL/Centos 7.5

2018-12-05 Thread Wiles, Keith
> On Dec 5, 2018, at 12:57 PM, Murali Krishna > wrote: > > Hi Keith, > > Thanks for the pointing to docs and .pc file example. I tried to build lua > package manually using below steps: > > Step 1. updated kernel > > Step 2. removed existing lua-devel package > > Step 3. downloaded

[dpdk-users] Unregistered mempool in secondary

2018-12-05 Thread Tom Barbette
Hi mlx5 maintainers, Since we're using a second ConnectX 5 NIC plugged to our second CPU socket, we see the following message when flowing packets through that port : net_mlx5: port 1 using address (0x6000712742c0) of unregistered mempool in secondary process, please create mempool before

[dpdk-users] Using PMD to forward packets from several NICs to single virtual interface accessible by tcpdump

2018-12-05 Thread Alex Zelichenko
Hi, When I use testpmd to create vdev with 2 PCI slaves: *sudo ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x3 -n 2 --vdev 'eth_bond0,mode=0,slave=:03:00.0,slave=:03:00.1' -- --port-topology=chained* the eth_bond0 device is not seen anywhere in the system. How can I access it from

Re: [dpdk-users] error while compiling pktgen-dpdk on RHEL/Centos 7.5

2018-12-05 Thread Murali Krishna
Hi Keith, I am able to build pktgen-dpdk app after copying pktgen-dpdk/lib/lua/x86_64-native-linuxapp-gcc/lib/libpktgen_lua.a to pktgen-dpdk/lib/common/x86_64-native-linuxapp-gcc/lib/ folder. Thanks for all the help. Regards, Murali > On Dec 5, 2018, at 12:57 PM, Murali Krishna > wrote: > >

Re: [dpdk-users] Unregistered mempool in secondary

2018-12-05 Thread Shahaf Shuler
Hi Tom, There is a complete isolation between the resources of each port. Meaning, mempool cannot be registered on one port and be used on the other (w/o explicit registration). In order your solution to work, the primary process needs to probe both ports, so that the mempool_walk will happen

[dpdk-users] Fwd: Issue in Dequeue Operations

2018-12-05 Thread Sami Ullah
Hi! I am trying to develop a custom application using DPDK API. My application scenario is like Host2Host encryption/decryption using single port and my hardware is intel *X520* NIC. The problem is in the dequeue operations, and in my testing i think the problem is in queue argument. I am using

Re: [dpdk-users] Hyper-V multi-queue not working on Kernel v4.20

2018-12-05 Thread Gareth Bradshaw
Thanks for coming back to me Stephen. I found the thread you mentioned and will keep an eye on it. I'm happy to help out with testing the change. Gareth -Original Message- From: Stephen Hemminger Sent: Wednesday 5 December 2018 16:04 To: Gareth Bradshaw Cc: users@dpdk.org Subject: