Hi, I am not very familiar with the github project you listed. But IIUC, the vdev param should be ‘--vdev=net_pcap0,iface=eno1’ and eno1 should be the Intel 100G E810 NIC port.
/Chenbo From: Utkarsh Kathuria <[email protected]> Sent: Wednesday, July 28, 2021 2:49 PM To: Xia, Chenbo <[email protected]> Cc: [email protected] Subject: Re: [dpdk-users] How to use --vdev parameter? Thank you so much for replying. Actually I want to read the packets as per given in this link "https://github.com/ntop/nDPI/tree/dev/example". You can scroll down and see the command "./build/ndpiReader -c 1 --vdev=net_pcap0,iface=eno1 -- -v 1". Here they use --vdev=net_pcap0. I want to read the packets on my port of NIC. I know the above command uses dpdk parameters. So should I not put --vdev or how the above command is supposed to be written? Please help Regards Utkarsh On Wed, 28 Jul 2021 at 14:36, Xia, Chenbo <[email protected]<mailto:[email protected]>> wrote: Hi Utkarsh, > -----Original Message----- > From: users <[email protected]<mailto:[email protected]>> On Behalf > Of Utkarsh Kathuria > Sent: Monday, July 26, 2021 5:48 PM > To: [email protected]<mailto:[email protected]> > Subject: [dpdk-users] How to use --vdev parameter? > > Hi, > I am using Intel 100G E810 NIC card. > I want to know that does the parameter --vdev=' ' values depend on what > type of NIC card we use or not. > For example: --vdev 'net_pcap0,rx_pcap=input.pcap,tx_pcap=output.pcap' in > this statement why net_pcap0 was used? > Please someone help me understand this. Vdev param is for virtual devices and you are using real hardware devices. So you don't need to consider this if you only want to start up the E810 NIC. Thanks, Chenbo > > Thank you > Regards > Utkarsh
