Re: [dpdk-dev] [BUG] net/af_xdp: Current code can only create one af_xdp device

2019-04-24 Thread Ye Xiaolong
Hi, Markus On 04/24, Markus Theil wrote: >Hi Xiaolong, > >I also tested with i40e devices, with the same result. > >./dpdk-testpmd -n 4 --log-level=pmd.net.af_xdp:debug --no-pci --vdev >net_af_xdp0,iface=enp36s0f0 --vdev net_af_xdp1,iface=enp36s0f1 >EAL: Detected 16 lcore(s) >EAL: Detected 1 NUMA

Re: [dpdk-dev] [BUG] net/af_xdp: Current code can only create one af_xdp device

2019-04-24 Thread Markus Theil
Hi Xiaolong, with only one vdev everything works. It stops working if I use two vdevs. Both interfaces were brought up before testing. Best regards, Markus On 24.04.19 16:47, Ye Xiaolong wrote: > Hi, Markus > > On 04/24, Markus Theil wrote: >> Hi Xiaolong, >> >> I also tested with i40e devices,

Re: [dpdk-dev] [BUG] net/af_xdp: Current code can only create one af_xdp device

2019-04-24 Thread Ye Xiaolong
Hi, Markus On 04/24, Markus Theil wrote: >Hi Xiaolong, > >I also tested with i40e devices, with the same result. > >./dpdk-testpmd -n 4 --log-level=pmd.net.af_xdp:debug --no-pci --vdev >net_af_xdp0,iface=enp36s0f0 --vdev net_af_xdp1,iface=enp36s0f1 >EAL: Detected 16 lcore(s) >EAL: Detected 1 NUMA

Re: [dpdk-dev] [BUG] net/af_xdp: Current code can only create one af_xdp device

2019-04-24 Thread Markus Theil
Hi Xiaolong, I also tested with i40e devices, with the same result. ./dpdk-testpmd -n 4 --log-level=pmd.net.af_xdp:debug --no-pci --vdev net_af_xdp0,iface=enp36s0f0 --vdev net_af_xdp1,iface=enp36s0f1 EAL: Detected 16 lcore(s) EAL: Detected 1 NUMA nodes EAL: Multi-process socket /var/run/dpdk/rte/

Re: [dpdk-dev] [BUG] net/af_xdp: Current code can only create one af_xdp device

2019-04-23 Thread Ye Xiaolong
Hi, Markus On 04/23, Markus Theil wrote: >Hi Xiaolong, > >I tested your commit "net/af_xdp: fix creating multiple instance" on the >current master branch. It does not work for me in the following minimal >test setting: > >1) allocate 2x 1GB huge pages for DPDK > >2) ip link add p1 type veth peer n

Re: [dpdk-dev] [BUG] net/af_xdp: Current code can only create one af_xdp device

2019-04-23 Thread Markus Theil
Hi Xiaolong, I tested your commit "net/af_xdp: fix creating multiple instance" on the current master branch. It does not work for me in the following minimal test setting: 1) allocate 2x 1GB huge pages for DPDK 2) ip link add p1 type veth peer name p2 3) ./dpdk-testpmd --vdev=net_af_xdp0,iface=

Re: [dpdk-dev] [BUG] net/af_xdp: Current code can only create one af_xdp device

2019-04-17 Thread Ye Xiaolong
Hi, Markus On 04/17, Markus Theil wrote: >I tested the new af_xdp based device on the current master branch and >noticed, that the usage of static mempool names allows only for the >creation of a single af_xdp vdev. If a second vdev of the same type gets >created, the mempool allocation fails. Th

[dpdk-dev] [BUG] net/af_xdp: Current code can only create one af_xdp device

2019-04-17 Thread Markus Theil
I tested the new af_xdp based device on the current master branch and noticed, that the usage of static mempool names allows only for the creation of a single af_xdp vdev. If a second vdev of the same type gets created, the mempool allocation fails. Best regards, Markus Theil