Need help to resolve Error: number of ports must be even in dpdk

2023-10-16 Thread Kiran Nayak
Hi team, I recently installed dpdk on linux and i am doing the experiments on examples. after executing the basic forwarding example i am getting below error. Please help me to resolve this issue. == I used the commands below before executing the example binary

Re: help

2023-08-11 Thread Igor de Paula
3 PMD are ok? > > > > > > > > > > > > *From:* Igor de Paula > > > *Sent:* Tuesday, July 25, 2023 8:42 PM > > > *To:* Varghese, Vipin > > > *Cc:* Yigit, Ferruh ; Jochen Behrens < > > > jbehr...@vmware.com>; Thomas

Re: help

2023-08-11 Thread Thomas Monjalon
et3 PMD are ok? > > > > > > > > *From:* Igor de Paula > > *Sent:* Tuesday, July 25, 2023 8:42 PM > > *To:* Varghese, Vipin > > *Cc:* Yigit, Ferruh ; Jochen Behrens < > > jbehr...@vmware.com>; Thomas Monjalon ; > > users@dpdk.org; Gupta, Ni

Re: help

2023-08-11 Thread Igor de Paula
*From:* Igor de Paula > *Sent:* Tuesday, July 25, 2023 8:42 PM > *To:* Varghese, Vipin > *Cc:* Yigit, Ferruh ; Jochen Behrens < > jbehr...@vmware.com>; Thomas Monjalon ; > users@dpdk.org; Gupta, Nipun ; Agarwal, Nikhil < > nikhil.agar...@amd.com>; Ronak Doshi ; Immann

Re: Help Running Example

2023-08-09 Thread Alan Beadle
first (I also only worked > with UDP in dpdk) and you will get a lot of help about this from "bond" app > in the official examples. > > On Sun, Aug 6, 2023 at 9:34 PM Alan Beadle wrote: >> >> Hi, >> >> I need some help getting DPDK working. I am runn

Re: Help Running Example

2023-08-08 Thread Stephen Hemminger
gt; NIC? > > > > -Alan > > > > On Mon, Aug 7, 2023 at 8:26 PM Stephen Hemminger > > wrote: > > > > > > On Mon, 7 Aug 2023 12:40:21 -0700 > > > Stephen Hemminger wrote: > > > > > > > On Sun, 6 Aug 2023 11:33:43 -0400 &g

Re: Help Running Example

2023-08-08 Thread Alan Beadle
ans I won't be able to do this with this > NIC? > > -Alan > > On Mon, Aug 7, 2023 at 8:26 PM Stephen Hemminger > wrote: > > > > On Mon, 7 Aug 2023 12:40:21 -0700 > > Stephen Hemminger wrote: > > > > > On Sun, 6 Aug 2023 11:33:43 -0400 > > >

Re: Help Running Example

2023-08-08 Thread Alan Beadle
On Sun, 6 Aug 2023 11:33:43 -0400 > > Alan Beadle wrote: > > > > > Hi, > > > > > > I need some help getting DPDK working. I am running Ubuntu 20.04 with > > > a modified Linux 5.4 kernel, but I have also tried the stock Ubuntu > > > 5.

Re: Help Running Example

2023-08-07 Thread Fuji Nafiul
nd monitor the packet counting which will give you a kick start and later you can try replying to arp requests to expose IP by which you will be able to establish udp/tcp connection.. I suggest try udp first (I also only worked with UDP in dpdk) and you will get a lot of help about this from

Fwd: Help Running Example

2023-08-07 Thread Fuji Nafiul
-- Forwarded message - From: Fuji Nafiul Date: Tue, Aug 8, 2023 at 9:22 AM Subject: Re: Help Running Example To: Alan Beadle In the case of the " number of ports must be even " error, it's a simple one. if you look into the code, you will see that it is checking for

Re: Help Running Example

2023-08-07 Thread Stephen Hemminger
On Mon, 7 Aug 2023 12:40:21 -0700 Stephen Hemminger wrote: > On Sun, 6 Aug 2023 11:33:43 -0400 > Alan Beadle wrote: > > > Hi, > > > > I need some help getting DPDK working. I am running Ubuntu 20.04 with > > a modified Linux 5.4 kernel, but I have also tried

Re: Help Running Example

2023-08-07 Thread Stephen Hemminger
On Sun, 6 Aug 2023 11:33:43 -0400 Alan Beadle wrote: > Hi, > > I need some help getting DPDK working. I am running Ubuntu 20.04 with > a modified Linux 5.4 kernel, but I have also tried the stock Ubuntu > 5.15 kernel with the same results. > > Here is my NIC info from lspc

Help Running Example

2023-08-06 Thread Alan Beadle
Hi, I need some help getting DPDK working. I am running Ubuntu 20.04 with a modified Linux 5.4 kernel, but I have also tried the stock Ubuntu 5.15 kernel with the same results. Here is my NIC info from lspci: 00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection (3) I219-LM (rev 09

RE: help

2023-07-25 Thread Varghese, Vipin
Subject: Re: help Caution: This message originated from an External Source. Use proper caution when opening attachments, clicking links, or responding. Well, Like I said earlier, trying with the Intel host I have on VMWARE, specifically Intel(R) Xeon(R) CPU E5-2697A v4 @ 2.60GHz With IOMMU

Re: help

2023-07-25 Thread Igor de Paula
, 2023 8:16 PM > *To:* Yigit, Ferruh > *Cc:* Jochen Behrens ; Thomas Monjalon < > tho...@monjalon.net>; users@dpdk.org; Gupta, Nipun ; > Agarwal, Nikhil ; Ronak Doshi ; > Immanni, Venkat ; Varghese, Vipin < > vipin.vargh...@amd.com>; Chenbo Xia > *Subject:*

RE: help

2023-07-25 Thread Varghese, Vipin
: Tuesday, July 25, 2023 8:16 PM To: Yigit, Ferruh Cc: Jochen Behrens ; Thomas Monjalon ; users@dpdk.org; Gupta, Nipun ; Agarwal, Nikhil ; Ronak Doshi ; Immanni, Venkat ; Varghese, Vipin ; Chenbo Xia Subject: Re: help Caution: This message originated from an External Source. Use proper

Re: help

2023-07-21 Thread Ferruh Yigit
t 6:00 AM > > *To: *Igor de Paula mailto:igord...@gmail.com>> > > *Cc: *users@dpdk.org <mailto:users@dpdk.org> <mailto:users@dpdk.org>>, Jochen Behrens > > mailto:jbehr...@vmware.com>>, Nipun Gupta > mailto:nipun.gu...@amd.com>>, N

Re: help

2023-07-21 Thread Igor de Paula
; > *From: *Thomas Monjalon > > *Date: *Thursday, July 20, 2023 at 6:00 AM > > *To: *Igor de Paula > > *Cc: *users@dpdk.org , Jochen Behrens > > , Nipun Gupta , Nikhil Agarwal > > , Ferruh Yigit > > *Subject: *Re: help > > > > !! External Emai

Re: help

2023-07-21 Thread Ferruh Yigit
mmu=off for Intel processors.) > >   > >     Jochen > >   > > *From: *Thomas Monjalon > *Date: *Thursday, July 20, 2023 at 6:00 AM > *To: *Igor de Paula > *Cc: *users@dpdk.org , Jochen Behrens > , Nipun Gupta , Nikhil Agarwal > , Ferruh Yigit > *Subject: *Re: help >

Re: help

2023-07-20 Thread Jochen Behrens
Gupta , Nikhil Agarwal , Ferruh Yigit Subject: Re: help !! External Email +Cc some AMD maintainers, they can have an idea about IOMMU settings. 20/07/2023 14:44, Igor de Paula: > I have enabled it in the host and in the BIOS for AMD... > In the Bios I changed to amd_iommu=on and in th

Re: help

2023-07-20 Thread Thomas Monjalon
; When I disable it by modifying > > > > > > > /sys/module/vfio/parameters/enable_unsafe_noiommu_mode, I get > > another > > > > > > error. > > > > > > > The error is that it doesn't find a suitable IOMMU type: > > > > > > > Just putting the relevant message: > > > > > > > > > > > > > > > > > > > > > EAL: Heap on socket 0 was expanded by 1024MB > > > > > > > EAL: PCI device :0b:00.0 on NUMA socket -1 > > > > > > > EAL: probe driver: 15ad:7b0 net_vmxnet3 > > > > > > > EAL: Set IOMMU type 1 (Type 1) failed, error 19 (No such device) > > > > > > > EAL: Set IOMMU type 7 (sPAPR) failed, error 19 (No such device) > > > > > > > EAL: Set IOMMU type 8 (No-IOMMU) failed, error 19 (No such > > device) > > > > > > > EAL: :0b:00.0 failed to select IOMMU type > > > > > > > EAL: Requested device :0b:00.0 cannot be used > > > > > > > EAL: PCI device :13:00.0 on NUMA socket -1 > > > > > > > EAL: probe driver: 15ad:7b0 net_vmxnet3 > > > > > > > EAL: Set IOMMU type 1 (Type 1) failed, error 19 (No such device) > > > > > > > EAL: Set IOMMU type 7 (sPAPR) failed, error 19 (No such device) > > > > > > > EAL: Set IOMMU type 8 (No-IOMMU) failed, error 19 (No such > > device) > > > > > > > EAL: :13:00.0 failed to select IOMMU type > > > > > > > EAL: Requested device :13:00.0 cannot be used > > > > > > > > > > > > > > > > > > > > > I can see where it fails: > > > > > > > > > > > > > > > > > > > > > const struct vfio_iommu_type * > > > > > > > vfio_set_iommu_type(int vfio_container_fd) > > > > > > > { > > > > > > > unsigned idx; > > > > > > > for (idx = 0; idx < RTE_DIM(iommu_types); idx++) { > > > > > > > const struct vfio_iommu_type *t = _types[idx]; > > > > > > > > > > > > > > int ret = ioctl(vfio_container_fd, VFIO_SET_IOMMU, > > > > > > > t->type_id); > > > > > > > if (!ret) { > > > > > > > RTE_LOG(INFO, EAL, "Using IOMMU type %d (%s)\n", > > > > > > > t->type_id, t->name); > > > > > > > return t; > > > > > > > } > > > > > > > /* not an error, there may be more supported IOMMU types */ > > > > > > > RTE_LOG(DEBUG, EAL, "Set IOMMU type %d (%s) failed, error " > > > > > > > "%i (%s)\n", t->type_id, t->name, errno, > > > > > > > strerror(errno)); > > > > > > > } > > > > > > > /* if we didn't find a suitable IOMMU type, fail */ > > > > > > > return NULL; > > > > > > > } > > > > > > > > > > > > > > > > > > > > > The ioctl returns -1. > > > > > > > > > > > > > > > > > > > > > > > > > > > > I tried many things. > > > > > > > Enabling/disabling IOMMU. > > > > > > > Modifying the enable_unsafe_noiommu_mode flag. > > > > > > > Running in PA mode. > > > > > > > Any help will be much appreciated. > > > > > > > > > > > > >

Re: help

2023-07-20 Thread Igor de Paula
it doesn't find a suitable IOMMU type: > > > > > > Just putting the relevant message: > > > > > > > > > > > > > > > > > > EAL: Heap on socket 0 was expanded by 1024MB > > > > > > EAL: PCI device :0b:00.

Re: help

2023-07-20 Thread Thomas Monjalon
> > EAL: Set IOMMU type 8 (No-IOMMU) failed, error 19 (No such device) > > > > > EAL: :0b:00.0 failed to select IOMMU type > > > > > EAL: Requested device :0b:00.0 cannot be used > > > > > EAL: PCI device :13:00.0 on NUMA socket -1 > > > > > EAL: probe driver: 15ad:7b0 net_vmxnet3 > > > > > EAL: Set IOMMU type 1 (Type 1) failed, error 19 (No such device) > > > > > EAL: Set IOMMU type 7 (sPAPR) failed, error 19 (No such device) > > > > > EAL: Set IOMMU type 8 (No-IOMMU) failed, error 19 (No such device) > > > > > EAL: :13:00.0 failed to select IOMMU type > > > > > EAL: Requested device :13:00.0 cannot be used > > > > > > > > > > > > > > > I can see where it fails: > > > > > > > > > > > > > > > const struct vfio_iommu_type * > > > > > vfio_set_iommu_type(int vfio_container_fd) > > > > > { > > > > > unsigned idx; > > > > > for (idx = 0; idx < RTE_DIM(iommu_types); idx++) { > > > > > const struct vfio_iommu_type *t = _types[idx]; > > > > > > > > > > int ret = ioctl(vfio_container_fd, VFIO_SET_IOMMU, > > > > > t->type_id); > > > > > if (!ret) { > > > > > RTE_LOG(INFO, EAL, "Using IOMMU type %d (%s)\n", > > > > > t->type_id, t->name); > > > > > return t; > > > > > } > > > > > /* not an error, there may be more supported IOMMU types */ > > > > > RTE_LOG(DEBUG, EAL, "Set IOMMU type %d (%s) failed, error " > > > > > "%i (%s)\n", t->type_id, t->name, errno, > > > > > strerror(errno)); > > > > > } > > > > > /* if we didn't find a suitable IOMMU type, fail */ > > > > > return NULL; > > > > > } > > > > > > > > > > > > > > > The ioctl returns -1. > > > > > > > > > > > > > > > > > > > > I tried many things. > > > > > Enabling/disabling IOMMU. > > > > > Modifying the enable_unsafe_noiommu_mode flag. > > > > > Running in PA mode. > > > > > Any help will be much appreciated.

Re: help

2023-07-20 Thread Igor de Paula
MU type > > > > EAL: Requested device :0b:00.0 cannot be used > > > > EAL: PCI device :13:00.0 on NUMA socket -1 > > > > EAL: probe driver: 15ad:7b0 net_vmxnet3 > > > > EAL: Set IOMMU type 1 (Type 1) failed, error 19 (No such device) > > > > EAL: Set IOMMU type 7 (sPAPR) failed, error 19 (No such device) > > > > EAL: Set IOMMU type 8 (No-IOMMU) failed, error 19 (No such device) > > > > EAL: :13:00.0 failed to select IOMMU type > > > > EAL: Requested device :13:00.0 cannot be used > > > > > > > > > > > > I can see where it fails: > > > > > > > > > > > > const struct vfio_iommu_type * > > > > vfio_set_iommu_type(int vfio_container_fd) > > > > { > > > > unsigned idx; > > > > for (idx = 0; idx < RTE_DIM(iommu_types); idx++) { > > > > const struct vfio_iommu_type *t = _types[idx]; > > > > > > > > int ret = ioctl(vfio_container_fd, VFIO_SET_IOMMU, > > > > t->type_id); > > > > if (!ret) { > > > > RTE_LOG(INFO, EAL, "Using IOMMU type %d (%s)\n", > > > > t->type_id, t->name); > > > > return t; > > > > } > > > > /* not an error, there may be more supported IOMMU types */ > > > > RTE_LOG(DEBUG, EAL, "Set IOMMU type %d (%s) failed, error " > > > > "%i (%s)\n", t->type_id, t->name, errno, > > > > strerror(errno)); > > > > } > > > > /* if we didn't find a suitable IOMMU type, fail */ > > > > return NULL; > > > > } > > > > > > > > > > > > The ioctl returns -1. > > > > > > > > > > > > > > > > I tried many things. > > > > Enabling/disabling IOMMU. > > > > Modifying the enable_unsafe_noiommu_mode flag. > > > > Running in PA mode. > > > > Any help will be much appreciated. > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >

Re: help

2023-07-20 Thread Thomas Monjalon
) failed, error 19 (No such device) > > > EAL: Set IOMMU type 7 (sPAPR) failed, error 19 (No such device) > > > EAL: Set IOMMU type 8 (No-IOMMU) failed, error 19 (No such device) > > > EAL: :13:00.0 failed to select IOMMU type > > > EAL: Requested device :13:00.0 cannot be used > > > > > > > > > I can see where it fails: > > > > > > > > > const struct vfio_iommu_type * > > > vfio_set_iommu_type(int vfio_container_fd) > > > { > > > unsigned idx; > > > for (idx = 0; idx < RTE_DIM(iommu_types); idx++) { > > > const struct vfio_iommu_type *t = _types[idx]; > > > > > > int ret = ioctl(vfio_container_fd, VFIO_SET_IOMMU, > > > t->type_id); > > > if (!ret) { > > > RTE_LOG(INFO, EAL, "Using IOMMU type %d (%s)\n", > > > t->type_id, t->name); > > > return t; > > > } > > > /* not an error, there may be more supported IOMMU types */ > > > RTE_LOG(DEBUG, EAL, "Set IOMMU type %d (%s) failed, error " > > > "%i (%s)\n", t->type_id, t->name, errno, > > > strerror(errno)); > > > } > > > /* if we didn't find a suitable IOMMU type, fail */ > > > return NULL; > > > } > > > > > > > > > The ioctl returns -1. > > > > > > > > > > > > I tried many things. > > > Enabling/disabling IOMMU. > > > Modifying the enable_unsafe_noiommu_mode flag. > > > Running in PA mode. > > > Any help will be much appreciated. > > > > > > > > > > > > > > > >

Re: help

2023-07-20 Thread Igor de Paula
fio_set_iommu_type(int vfio_container_fd) > > { > > unsigned idx; > > for (idx = 0; idx < RTE_DIM(iommu_types); idx++) { > > const struct vfio_iommu_type *t = _types[idx]; > > > > int ret = ioctl(vfio_container_fd, VFIO_SET_IOMMU, > > t->type_id); > > if (!ret) { > > RTE_LOG(INFO, EAL, "Using IOMMU type %d (%s)\n", > > t->type_id, t->name); > > return t; > > } > > /* not an error, there may be more supported IOMMU types */ > > RTE_LOG(DEBUG, EAL, "Set IOMMU type %d (%s) failed, error " > > "%i (%s)\n", t->type_id, t->name, errno, > > strerror(errno)); > > } > > /* if we didn't find a suitable IOMMU type, fail */ > > return NULL; > > } > > > > > > The ioctl returns -1. > > > > > > > > I tried many things. > > Enabling/disabling IOMMU. > > Modifying the enable_unsafe_noiommu_mode flag. > > Running in PA mode. > > Any help will be much appreciated. > > > > > > > >

Re: help

2023-07-19 Thread Thomas Monjalon
io_iommu_type *t = _types[idx]; > > int ret = ioctl(vfio_container_fd, VFIO_SET_IOMMU, > t->type_id); > if (!ret) { > RTE_LOG(INFO, EAL, "Using IOMMU type %d (%s)\n", > t->type_id, t->name); > return t; > } > /* not an error, there may be more supported IOMMU types */ > RTE_LOG(DEBUG, EAL, "Set IOMMU type %d (%s) failed, error " > "%i (%s)\n", t->type_id, t->name, errno, > strerror(errno)); > } > /* if we didn't find a suitable IOMMU type, fail */ > return NULL; > } > > > The ioctl returns -1. > > > > I tried many things. > Enabling/disabling IOMMU. > Modifying the enable_unsafe_noiommu_mode flag. > Running in PA mode. > Any help will be much appreciated. >

Re: help with virtio_port

2023-05-27 Thread Igor de Paula
a packet when I use tcpdump. I guess when KNI initialized it takes the traffic associated with the functions it supports. Can someone confirm that this is actually the case? Many thanks for the help so far On Tue, May 23, 2023 at 5:23 PM Stephen Hemminger wrote: > > On Tue, 23 May 2023 16

Re: help with virtio_port

2023-05-24 Thread Igor de Paula
ppe_ppo_set_kni_mtu; > > ops.config_network_if = ippe_ppo_set_kni_interface; > > ops.config_mac_address = ippe_ppo_set_kni_mac_address; > > kni = rte_kni_alloc(pktmbuf_pool[0], , ); > > > > > > And there is a handle_request function supplied by KNI tha

Re: help with virtio_port

2023-05-23 Thread Stephen Hemminger
ool[0], , ); > > > And there is a handle_request function supplied by KNI that calls these > functions when need be, > I haven't found any documentation on how to replace this functionality. I > am no expert in how to set up and interact with the kernel stack, Some help > on h

help with virtio_port

2023-05-23 Thread Igor de Paula
. I am no expert in how to set up and interact with the kernel stack, Some help on how to achieve this would be appreciated.

help

2023-05-03 Thread Igor de Paula
/* if we didn't find a suitable IOMMU type, fail */ return NULL; } The ioctl returns -1. I tried many things. Enabling/disabling IOMMU. Modifying the enable_unsafe_noiommu_mode flag. Running in PA mode. Any help will be much appreciated.

Please help to see this DPDK problem//Reply: DPDK 20.11 - i40evf: No response for 14

2021-11-04 Thread liaobiting
48+08:00|info|ovs-vswitchd[1721043]|EAL: [eth_dev_ops] Slave 1: start dev. How can I solve this problem ? Thakns for help. Regards, Liao

[dpdk-users] Help required, DPDK throws EAL: eal_memalloc_alloc_seg_bulk()

2021-04-11 Thread Abid Zaidi
Hi everyone, I have a DPDK environment setup and the buggy part of my program concatenates a string. That string can be as long as it gets (lets say a 1,000,000 max characters). I run my program with *./program --lcores='0-4'* I'm using DPDK's rte_malloc, rte_memcpy, rte_strlcat and rte_free

Re: [dpdk-users] Help needed to interface to new device

2021-03-24 Thread David Aldrich
to-use-dpdk-ipn3ke-poll-mode-driver> if anyone is able to help. Best regards David

Re: [dpdk-users] Help needed to interface to new device

2021-03-24 Thread David Marchand
On Wed, Mar 24, 2021 at 1:27 PM David Aldrich wrote: > > If you are talking about a XX710/N3000 device, I think its support was > > added in 19.05. > > No 18.11 driver supports this nic, you can probably have a try with > > the next LTS release 19.11, or the latest LTS which is 20.11. > > Thanks

Re: [dpdk-users] Help needed to interface to new device

2021-03-24 Thread David Aldrich
> If you are talking about a XX710/N3000 device, I think its support was > added in 19.05. > No 18.11 driver supports this nic, you can probably have a try with > the next LTS release 19.11, or the latest LTS which is 20.11. Thanks for your reply. Yes, I am talking about the Intel N3000 FPGA

[dpdk-users] Help needed to interface to new device

2021-03-24 Thread David Aldrich
Hi We currently use DPDK v.18.11.9 with a 10GBe NIC based on the Intel X722 chipset. We bind to that device using the command: usertools/dpdk-devbind.py -b igb_uio `lspci | grep X722 | awk '{print $1}'` and it works ok. Now we need to bind to a different NIC, which is part of an in-house FPGA

[dpdk-users] Help with ./ndpiReader.dpdk command

2021-01-21 Thread Utkarsh Kathuria
Hello,, If someone has worked with this commands before, please help me with what arguments to use with it and what is expected from them. Thank you Regards Utkarsh

[dpdk-users] Help with DPDK environment

2021-01-20 Thread Utkarsh Kathuria
Hello, I am trying to develop an environment where nDPI can work with DPDK. Has someone done this before? I am working on Centos 7 with DPDK-17.11.10 Please any help is appreciated. Thank you Regards Utkarsh

Re: [dpdk-users] Help with error: *** Did not find any ports to use ***

2020-12-14 Thread Krishnamurthy Srinivasan
; > I have seen that this error has been brought up before. However, the > > solutions discussed did not help resolve the error. I would appreciate > any > > help. > > > > I am running DPDK version 20.11 with Pktgen 3.7.2 on Ubuntu 20.04/K8s. > My > > server has Int

Re: [dpdk-users] Help with error: *** Did not find any ports to use ***

2020-12-14 Thread David Marchand
On Mon, Dec 14, 2020 at 8:46 PM Krishnamurthy Srinivasan wrote: > > I have seen that this error has been brought up before. However, the > solutions discussed did not help resolve the error. I would appreciate any > help. > > I am running DPDK version 20.11 with Pktgen 3.7.2 o

[dpdk-users] [Help] Link dynamic libs in dpdk build

2020-08-21 Thread Amul Patel
Hi team. I need help to link external dynamic so file to be linked In dpdk code examples. I am trying to link conntrack lib in dpdk example code. If any one did already then can please help out how to do it. Meanwhile I am looking Dpdk make files where i can link dynamic lib. Thanks

[dpdk-users] Help - Query related to hugepages and rte_ring

2020-08-17 Thread Chandrika Gautam
Hi, We are using only ring buffers from DPDK and we are observing good performance without using hugepages! We are facing some issue in our application using hugepages for which we have raised a separate query. I wanted to understand whether configuring 1G hugepages for an application using

Re: [dpdk-users] Need help: Generate core list error. rte_eal port num [0] is not match the pciidlist [4]

2020-06-03 Thread Vincent Li
On Wed, 3 Jun 2020, Ding Ma wrote: > Thanks for reply. > BTW I guess "CONFIG_RTE_MAX_LCORE=128" means no more than 128 cores.  But > what does "CONFIG_RTE_MAX_LCORE_FREQS=64" mean?   > right, CONFIG_RTE_MAX_LCORE_FREQS=64 is irrelevant here I think, something relate to power. # Compile

Re: [dpdk-users] Need help: Generate core list error. rte_eal port num [0] is not match the pciidlist [4]

2020-06-03 Thread Ding Ma
Thanks for reply. BTW I guess "CONFIG_RTE_MAX_LCORE=128" means no more than 128 cores. But what does "CONFIG_RTE_MAX_LCORE_FREQS=64" mean? On Wed, Jun 3, 2020 at 1:51 PM Vincent Li wrote: > > > On Tue, 2 Jun 2020, Ding Ma wrote: > > > Reall

Re: [dpdk-users] Need help: Generate core list error. rte_eal port num [0] is not match the pciidlist [4]

2020-06-02 Thread Ding Ma
Really appreciate your help. Two follow-ups: - it actually works on 48 cores server and do you know why? (The problem server is 96 cores) - which part in config I need to change? (Sorry I am a noob) . Also, I am using pre-built RPM to install dpdk, do I have to rebuild the RPM on 96 cores server

Re: [dpdk-users] Need help: Generate core list error. rte_eal port num [0] is not match the pciidlist [4]

2020-06-02 Thread Stephen Hemminger
On Tue, 2 Jun 2020 18:04:57 -0700 Ding Ma wrote: > Hope it's the right way to ask DPDK questions. I am new to DPDK world and > got an error while setting up dpdk on my server. any idea about where I > should look at? > > >1. Error: rte_eal port num [0] is not match the pciidlist [4] >

[dpdk-users] Need help: Generate core list error. rte_eal port num [0] is not match the pciidlist [4]

2020-06-02 Thread Ding Ma
Hope it's the right way to ask DPDK questions. I am new to DPDK world and got an error while setting up dpdk on my server. any idea about where I should look at? 1. Error: rte_eal port num [0] is not match the pciidlist [4] 2. EAL: Error - exiting with code: 1 3. Cause: Generate core

[dpdk-users] [help]testpmd rss ether issue

2020-05-23 Thread Xiaowen Yang
Hi Dpdk experts: I try to config rss with ether, command as below, but all the packet receive to the same queue, and the RSS hash is also the same. Even changing the payload. testpmd> port config all rss ether testpmd> show port info 0 *

[dpdk-users] Ask help: all tx packets dropped in testpmd on VMware player

2020-04-03 Thread coolwil...@hotmail.com
Hello, everyone My DPDK is v19.02 . I have adopted the patch (http://patches.dpdk.org/patch/11622/) for igb_uio in Vmware Linux guest. My WMware player is version 15.5.0 build-14665864 . 3 NICs are setup in VMware, all of them are NAT mode in vmware virtual machine settings. 2 NICs are bound to

Re: [dpdk-users] Help with mbuf and mempool

2019-09-19 Thread Tran (US), Katherine K
: [dpdk-users] Help with mbuf and mempool Also char buf[PATH_MAX] is not initialised or assigned any value. Assign a name to it. The PATH_MAX need not be 4096, use a lesser value say 100. On Wed, Sep 18, 2019 at 8:07 PM Arvind Narayanan mailto:webguru2...@gmail.com>> wrote: Not sure, did y

[dpdk-users] Help with RED (Dropper) Implementation

2019-09-19 Thread Gokul Bargaje
Hi, I am trying to understand the implementation of Random Early Detection (RED) AQM in DPDK. I have read the dpdk/lib/librte_sched/rte_red.c and rte_red.h files but i don't understand the implementation. Please help me to understand the following questions. 1. How RED parameters are configured

Re: [dpdk-users] Help with mbuf and mempool

2019-09-18 Thread Suraj R Gupta
socket = SOCKET_ID_ANY; >>mp = rte_pktmbuf_pool_create(buf, NB_MBUF, 32, 0, >> RTE_MBUF_DEFAULT_BUF_SIZE, socket); >> >> } >> >> regards, >> Katie >> >> From: Suraj R Gupta [mailto:surajrgu...@iith.ac.in] >> Sent: Tuesday,

Re: [dpdk-users] Help with mbuf and mempool

2019-09-18 Thread Arvind Narayanan
mp = rte_pktmbuf_pool_create(buf, NB_MBUF, 32, 0, > RTE_MBUF_DEFAULT_BUF_SIZE, socket); > > } > > regards, > Katie > > From: Suraj R Gupta [mailto:surajrgu...@iith.ac.in] > Sent: Tuesday, September 17, 2019 4:33 PM > To: Singh, Satish 1. (Nokia - IN/Bangalore) > Cc

Re: [dpdk-users] Help with mbuf and mempool

2019-09-18 Thread Tran (US), Katherine K
, Katie From: Suraj R Gupta [mailto:surajrgu...@iith.ac.in] Sent: Tuesday, September 17, 2019 4:33 PM To: Singh, Satish 1. (Nokia - IN/Bangalore) Cc: Tran (US), Katherine K ; users@dpdk.org Subject: Re: [dpdk-users] Help with mbuf and mempool Make sure you have allocated hugepages before running

Re: [dpdk-users] Help with mbuf and mempool

2019-09-17 Thread Suraj R Gupta
t in this socket 0. Try with SOCKET_ID_ANY. > > Regards, > SATISH SINGH > > -Original Message- > From: users On Behalf Of Tran (US), Katherine K > Sent: Tuesday, September 17, 2019 11:36 PM > To: users@dpdk.org > Subject: [dpdk-users] Help with mbuf and mempool &

Re: [dpdk-users] Help with mbuf and mempool

2019-09-17 Thread Singh, Satish 1. (Nokia - IN/Bangalore)
Subject: [dpdk-users] Help with mbuf and mempool Hello, I am trying to allocate an mbuf to use for IP fragmentation. When instantiating a mempool using rte_pktmbuf_pool_create() function, I keep getting the following error message. Error Message: * MEMPOOL: Cannot allocate tailq entry

[dpdk-users] Help with mbuf and mempool

2019-09-17 Thread Tran (US), Katherine K
Hello, I am trying to allocate an mbuf to use for IP fragmentation. When instantiating a mempool using rte_pktmbuf_pool_create() function, I keep getting the following error message. Error Message: * MEMPOOL: Cannot allocate tailq entry! Will you please let me know what I am missing?

[dpdk-users] Need some help in ovs-dpdk (GRE and VXLAN packets not routed to the vm in same hypervisor)

2019-07-16 Thread ram kumar
successfully to the VM sitting outside the hypervisor. I just want to know how the packets gets routed in this case and want to know where the packets gets dropped and looking for a work around. Can any one help me on this issue. Regards, Ramkumar N.

Re: [dpdk-users] [dpdk-dev] Ask help for mlx5 pmd driver

2019-03-19 Thread benli ye
> Regards, > Rami Rosen > > > בתאריך יום ג׳, 19 במרץ 2019, 15:07, מאת benli ye ‏ <mailto:danielbenl...@gmail.com>>: > Hi, > > Could you please help me on mlx5 pmd driver? I have two mlx5 driver powered > NICs (eth0 and eth1) and one is conneted to internet and t

Re: [dpdk-users] need help: Compiling Dpdk on Ubuntu 14.04.1 "gcc: error: : No such file or directory" .

2018-05-15 Thread santosh kumar
Errror is still same. could you please suggest sudo apt-get update && sudo apt-get install build-essential . santosh@ubuntu:~/opensource/dpdk-stable-17.11.2$ sudo make config T=i686-native-linuxapp-gcc Configuration done using i686-native-linuxapp-gcc

Re: [dpdk-users] need help: Compiling Dpdk on Ubuntu 14.04.1 "gcc: error: : No such file or directory" .

2018-05-14 Thread Muhammad Zain-ul-Abideen
before all that kindly install build-essentials

Re: [dpdk-users] need help: Compiling Dpdk on Ubuntu 14.04.1 "gcc: error: : No such file or directory" .

2018-05-14 Thread santosh kumar
Hi Zain ul Abideen, Mac-OS Host is 64bit, guest VM ubuntu is 32 bit . Tried with option 14 (x86_64-native-linuxapp-gcc) , get the same error. output of uname and cpuinfo santosh@ubuntu:~$ uname -a Linux ubuntu 3.19.0-25-generic #26~14.04.1-Ubuntu SMP Fri Jul 24 21:18:00 UTC 2015 i686 i686 i686

Re: [dpdk-users] need help: Compiling Dpdk on Ubuntu 14.04.1 "gcc: error: : No such file or directory" .

2018-05-14 Thread Muhammad Zain-ul-Abideen
hey, i noticed you are mixing i686 and x86. kindly share the output of "uname -a". if its not 32 bit use 14 option.

Re: [dpdk-users] need help: Compiling Dpdk on Ubuntu 14.04.1 "gcc: error: : No such file or directory" .

2018-05-14 Thread Muhammad Zain-ul-Abideen
hey, i noticed you are mixing i686 and x86. kindly share the output of "uname -a". if its not 32 bit use 14 option. Regards: Zain ul Abideen Disclaimer: The information contained in this e-mail and any attachments is confidential; it is intended only for use of the individual or entity named

[dpdk-users] need help: Compiling Dpdk on Ubuntu 14.04.1 "gcc: error: : No such file or directory" .

2018-05-14 Thread santosh kumar
Hi folks, could ypu please provide info for below error. while building dpdk through running./usertools/dpdk-setup.sh , hitting below error [8] i686-native-linuxapp-gcc [9] i686-native-linuxapp-icc [10] ppc_64-power8-linuxapp-gcc [11] x86_64-native-bsdapp-clang [12]

Re: [dpdk-users] i need a help about invalid numasocket

2017-12-20 Thread Wiles, Keith
> On Dec 20, 2017, at 9:14 AM, Stephen Hemminger > wrote: > > On Wed, 20 Dec 2017 16:56:00 +0900 > 박준하 wrote: > >> Thank you Shreyansh Jain. >> I tried to change -n 1 but i got same problem. >> this is log. >> >>

Re: [dpdk-users] i need a help about invalid numasocket

2017-12-20 Thread Stephen Hemminger
> > -Original Message- > From: "Shreyansh Jain"shreyansh.j...@nxp.com > To: "박준하"wnsgk...@naver.com; > Cc: "users@dpdk.org"users@dpdk.org; > Sent: 2017-12-20 (수) 14:50:15 > Subject: RE: [dpdk-users] i need a help about invalid numasocke

Re: [dpdk-users] i need a help about invalid numasocket

2017-12-19 Thread 박준하
- From: "Shreyansh Jain"shreyansh.j...@nxp.com To: "박준하"wnsgk...@naver.com; Cc: "users@dpdk.org"users@dpdk.org; Sent: 2017-12-20 (수) 14:50:15 Subject: RE: [dpdk-users] i need a help about invalid numasocket Hi, I think your platform doesn’t have more than 1 NUMA nod

Re: [dpdk-users] i need a help about invalid numasocket

2017-12-19 Thread 박준하
thank you MAC Lee. so if i want to connect my device with NUMA node. what i should do?? -Original Message- From: "MAC Lee"mac_le...@yahoo.com.hk To: "박준하"wnsgk...@naver.com; Cc: Sent: 2017-12-20 (수) 13:50:08 Subject: RE: [dpdk-users] i need a help about inv

Re: [dpdk-users] i need a help about invalid numasocket

2017-12-19 Thread Shreyansh Jain
ssue? Like not having I/O in l2fwd/l3fwd application? - Shreyansh From: 박준하 [mailto:wnsgk...@naver.com] Sent: Wednesday, December 20, 2017 7:54 AM To: Shreyansh Jain <shreyansh.j...@nxp.com> Cc: users@dpdk.org Subject: RE: [dpdk-users] i need a help about invalid numasocket Thank you. this i

Re: [dpdk-users] i need a help about invalid numasocket

2017-12-19 Thread Mayank
22:59 Subject: RE: [dpdk-users] i need a help about invalid numasocket -Original Message- From: users [mailto:users-boun...@dpdk.org] On Behalf Of ??? Sent: Tuesday, December 19, 2017 4:10 PM To: users@dpdk.org Subject: [dpdk-users] i need a help about invalid numasocket Hi, I

Re: [dpdk-users] i need a help about invalid numasocket

2017-12-19 Thread 박준하
- From: "Shreyansh Jain"shreyansh.j...@nxp.com To: "박준하"wnsgk...@naver.com; Cc: "users@dpdk.org"users@dpdk.org; Sent: 2017-12-19 (화) 21:22:59 Subject: RE: [dpdk-users] i need a help about invalid numasocket -Original Message- From: users [mailto:use

[dpdk-users] Need help to run test_pmd via sr-iov setup

2017-10-11 Thread zhi ma
Need help to run test_pmd via sr-iov setup my steps:1. set "intel_iommu=on" in kernel boot parameter2. update host grub and reboot3. create VF:    echo 1 > /sys/class/net/eth17/device sriov_numvfs    echo 1 > /sys/class/net/eth18/device sriov_numvfs    cat /sys/class/

Re: [dpdk-users] Help with QinQ insertion on i40e

2017-09-15 Thread Raul Negreiros
Hi, I didn't notice that the default configuration in the NIC's queue is to disable TX offloading. I was using the 'rte_eth_tx_queue_setup' function with the last parameter 'tx_conf' as NULL, in this way using the default configuration. After configure the 'txq_flags' attribute properly my issue

[dpdk-users] Help with QinQ insertion on i40e

2017-09-14 Thread Raul Negreiros
Hi, I'm trying to insert QinQ in the packet using the offload feature, but unfortunately I'm unsuccessful. These are my steps: - On device configuration configuration: - call 'rte_eth_dev_set_vlan_offload' with the following flags: ETH_VLAN_STRIP_OFFLOAD, ETH_VLAN_EXTEND_OFFLOAD; - call

Re: [dpdk-users] Help: DPDK-QoS Scheduler

2017-09-13 Thread Nikhil Jagtap
> Dear Nikhil, > > Sorry directly address this mail to you, I got your email from previous > mail threads. I need some help to clarify below points related to DPDK QOS. > > 1) I'm developing L2 forwarding app based on basic L2 forwarder. So I need > to implement client IP based QoS

Re: [dpdk-users] Linux descheduling DPDK transmit thread in SMP system? Any help greatly appreciated...

2017-09-06 Thread Stephen Hemminger
erry. > > > Original message > From : step...@networkplumber.org > Date : 05/09/17 - 17:55 (BST) > To : terry.montague.1...@btinternet.com > Cc : users@dpdk.org > Subject : Re: [dpdk-users] Linux descheduling DPDK transmit thread in SMP > system? Any help greatly

Re: [dpdk-users] Linux descheduling DPDK transmit thread in SMP system? Any help greatly appreciated...

2017-09-05 Thread Stephen Hemminger
On Tue, 5 Sep 2017 17:35:16 +0100 (BST) "terry.montague.1...@btinternet.com" wrote: > Hi all, > I'm running a DPDK transmit thread with the ixgbe PMD on Ubuntu 17.04, with > dual Xeon E5-2623 v4 CPUs on an Intel S2600 motherboard. The cores in use by > DPDK

[dpdk-users] Linux descheduling DPDK transmit thread in SMP system? Any help greatly appreciated...

2017-09-05 Thread terry.montague.1...@btinternet.com
Hi all, I'm running a DPDK transmit thread with the ixgbe PMD on Ubuntu 17.04, with dual Xeon E5-2623 v4 CPUs on an Intel S2600 motherboard. The cores in use by DPDK are isolated in the boot cmdline with "isolcpus" What I'm observing is I believe, on occasion, the DPDK transmit thread being

Re: [dpdk-users] does the 'rte_softrss_be' function match NIC RSS value well? please help me.

2017-06-06 Thread Heung Sik Choi
Hi, sorry to be late to reply. I changed the code which insert src and dst as you teach me, but It didn't work well. And then, I have a question that RSS verification value from 82599 Datasheet is really right. I do an experiment. I set two machines({IPv4(161, 142, 100, 80), IPv4(66, 9, 149,

[dpdk-users] I need some help regarding dpdk packet flow.

2017-06-02 Thread Apparao
Hi guys, can you please send me any links regarding dpdk packet flow. and how packet flowing from dpdk nic to dpdk userspace application and while passing this packet how this dpdk libraries and pmds and cpu cores coming into the picture. -- Regards, Apparao B Disclaimer:- The information

Re: [dpdk-users] I need some help regarding dpdk memory allocations

2017-06-02 Thread Van Haaren, Harry
> From: users [mailto:users-boun...@dpdk.org] On Behalf Of Apparao > Sent: Friday, June 2, 2017 10:24 AM > To: users@dpdk.org > Subject: [dpdk-users] I need some help regarding dpdk memory allocations > > Hi guys, Hi, > coming to dpdk is there any difference betwee

[dpdk-users] I need some help regarding dpdk memory allocations

2017-06-02 Thread Apparao
Hi guys, coming to dpdk is there any difference between mempool and memzone. are both are same. is any difference is there tell me the difference. -- Regards, Apparao B Disclaimer:- The information contained in this electronic message and any attachments to this message are intended for the

Re: [dpdk-users] does the 'rte_softrss_be' function match NIC RSS value well? please help me.

2017-05-30 Thread Vladimir Medvedkin
, 0xb7, 0x3b, 0xbe, 0xac, 0x01, 0xfa >>> }; >>> >>> rte_convert_rss_key((uint32_t *)_rss_key,(uint32_t *)rss_key_be, >>> RTE_DIM(default_rss_key)); >>> >>> rte_softrss_be((uint32_t *), RTE_THASH_V4_L4_LEN, rss_key_be);// >>> print it. >>>

Re: [dpdk-users] does the 'rte_softrss_be' function match NIC RSS value well? please help me.

2017-05-30 Thread Heung Sik Choi
nt32_t *)_rss_key,(uint32_t *)rss_key_be, >> RTE_DIM(default_rss_key)); >> >> rte_softrss_be((uint32_t *), RTE_THASH_V4_L4_LEN, rss_key_be);// >> print it. >> >> i used rte convert_rss_key's implementation code which be base in X86. >> >> i also change

Re: [dpdk-users] does the 'rte_softrss_be' function match NIC RSS value well? please help me.

2017-05-30 Thread Heung Sik Choi
, rss_key_be);// print it. i used rte convert_rss_key's implementation code which be base in X86. i also change the RTE_THASH_V4_L4_LEN parameter with RTE_THASH_V4_L3_LEN. but doesn't match. Is it wrong to use it that way? please help me. 2017-05-30 17:01 GMT+09:00 Vladimir Medvedkin <medv

Re: [dpdk-users] does the 'rte_softrss_be' function match NIC RSS value well? please help me.

2017-05-30 Thread Vladimir Medvedkin
Hi, How do you configure your NIC and calculate softrss? 2017-05-30 10:47 GMT+03:00 Heung Sik Choi : > Hi > > I want to match NIC RSS value with toeplitz hash function value. And I find > out 'rte_softrss_be' can makes it. > > However, when I experiment it, It doesn't

[dpdk-users] does the 'rte_softrss_be' function match NIC RSS value well? please help me.

2017-05-30 Thread Heung Sik Choi
Hi I want to match NIC RSS value with toeplitz hash function value. And I find out 'rte_softrss_be' can makes it. However, when I experiment it, It doesn't match well. (print two value on terminal through code level) I use the environment below: CPU: xeon 2213 v2 *2 (NUMA) NIC: intel 82599ES

[dpdk-users] Second attempt for help - VLAN issue

2017-05-23 Thread Reutemann, Alan
Greetings, I've tried asking this question earlier but got the following response: The message's content type was not explicitly allowed I don't know what that means. So, I'll try again... I'm looking for help regarding using DPDK pktgen to send IP V4 VLAN messages from a pcap file. I am

Re: [dpdk-users] Need your help on pdump

2017-02-08 Thread Pattan, Reshma
Yes. From: Clarylin L [mailto:clear...@gmail.com] Sent: Tuesday, February 7, 2017 6:24 PM To: Pattan, Reshma <reshma.pat...@intel.com> Subject: Re: Need your help on pdump Hi Reshma, Thank you for replying! So if there's a failure to allocate memory for dpdk-pdump, instead of allocatin

Re: [dpdk-users] Need your help on pdump

2017-02-07 Thread Pattan, Reshma
Hi, Please see my comments inline. Thanks, Reshma From: Clarylin L [mailto:clear...@gmail.com] Sent: Friday, February 3, 2017 7:54 PM To: Pattan, Reshma <reshma.pat...@intel.com> Subject: Need your help on pdump Hi Reshma, I am currently working on dpdk pdump and got some

Re: [dpdk-users] Newbie: Help requested to get l2fwd example working

2017-01-19 Thread David Aldrich
In case it helps anyone, adding kernel boot parameter: intel_iommu=off seems to have fixed my problem. l2fwd is now receiving packets. best regards David

Re: [dpdk-users] Newbie: Help requested to get l2fwd example working

2017-01-16 Thread David Aldrich
Hi Zhilong I have written a simple program in C, which sends udp packets. Which sender are you using? David From: zhilong zheng [mailto:zhengzl0...@gmail.com] Sent: 16 January 2017 13:38 To: David Aldrich <david.aldr...@emea.nec.com> Cc: users@dpdk.org Subject: Re: [dpdk-users] Newbie

Re: [dpdk-users] Newbie: Help requested to get l2fwd example working

2017-01-16 Thread zhilong zheng
0...@gmail.com>] >> Sent: 16 January 2017 03:13 >> To: David Aldrich <david.aldr...@emea.nec.com >> <mailto:david.aldr...@emea.nec.com>> >> Cc: users@dpdk.org <mailto:users@dpdk.org> >> Subject: Re: [dpdk-users] Newbie: Help requested to get l2fwd exa

Re: [dpdk-users] Newbie: Help requested to get l2fwd example working

2017-01-16 Thread David Aldrich
hese packets are not indicated in the statistics. I need to find out why. BR David > -Original Message- > From: zhilong zheng [mailto:zhengzl0...@gmail.com] > Sent: 16 January 2017 03:13 > To: David Aldrich <david.aldr...@emea.nec.com> > Cc: users@dpdk.org > Subject: Re: [dpdk-

Re: [dpdk-users] Newbie: Help requested to get l2fwd example working

2017-01-15 Thread zhilong zheng
Hi David, In the EAL log of your command “./build/l2fwd -c f -n2 -- -q 2 -p 3”, it showed “ Port 0 Link Down”. So are there some problems in your port connection? Or you can send packets to Port 1to check statistics. I am new here too. Hope it can help you. Best regard Zhilong > 在 2017年1

Re: [dpdk-users] Newbie: Help requested to get l2fwd example working

2017-01-15 Thread David Aldrich
If anyone can help me with this issue I would be grateful. David

Re: [dpdk-users] Newbie: Help requested to get l2fwd example working

2017-01-13 Thread Marco Kwok
Not so sure if it is related to the NIC driver or version? I just saw you are using dpdk 2.2. Have you tried to use the uio_pci_generic driver or try the testpmd program on quick start page(http://dpdk.org/doc/quick-start)? I am not able to help you much, may be more experienced users could

  1   2   >