Re: [dpdk-users] using the basic l2fwd app

2018-10-18 Thread Kushal Gautam
Hi Rami, Thank you again. That's what confused me. Regards, Kushal. On Fri, Oct 19, 2018, 01:36 Rami Rosen wrote: > Hi Kushal, > 0x3 is a bitmask of ports. It is represented in binary as 0011. This means > that ports 0 and port 1should be used by the DPDK application that you use. > If you wan

Re: [dpdk-users] using the basic l2fwd app

2018-10-18 Thread Rami Rosen
Hi Kushal, 0x3 is a bitmask of ports. It is represented in binary as 0011. This means that ports 0 and port 1should be used by the DPDK application that you use. If you want to use other ports in your application, you should use a different portmask. For example, to use port 0 and port 3, you need

Re: [dpdk-users] using the basic l2fwd app

2018-10-18 Thread Kushal Gautam
Hi Rami: thank you for your inputs. Indeed, I had syntactic issues, and also, restarting the machine did the trick. One thing that I was not clear is about "portmask". For instance, in the docs, we can find "./l2fwd -n 1 -c f -- -q 8 -p 0x3". What exactly the value "0x3" refers to? Regards, Ku

Re: [dpdk-users] using the basic l2fwd app

2018-10-18 Thread Rami Rosen
Hi Kushal, The output of dpdk-devbind -- status that you posted shows that there are no ports that are bound to dpdk. This is the reason for the error you get. You should try insmod igb_uio.ko ( this kernel module is generated in the build process of DPDK) And dpdk-devbind.py -b igb_uio :81:00

[dpdk-users] using the basic l2fwd app

2018-10-18 Thread Kushal Gautam
Hi: I am new to DPDK and my current use case with DPDK is minimal. Thus, I think the l2fwd type of sample application should suffice. Below is a portion of the output of `dpdk-devbind.py --status` command My DPDK version is 18.08, and I am using Ubuntu 16.04 (Linux Kernel version 4.15.12) Networ