[dpdk-users] How to use --vdev parameter?

Xia, Chenbo chenbo.xia at intel.com
Wed Jul 28 08:57:58 CEST 2021


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 <utkarshkathuria22 at gmail.com>
Sent: Wednesday, July 28, 2021 2:49 PM
To: Xia, Chenbo <chenbo.xia at intel.com>
Cc: users at dpdk.org
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 <chenbo.xia at intel.com<mailto:chenbo.xia at intel.com>> wrote:
Hi Utkarsh,

> -----Original Message-----
> From: users <users-bounces at dpdk.org<mailto:users-bounces at dpdk.org>> On Behalf Of Utkarsh Kathuria
> Sent: Monday, July 26, 2021 5:48 PM
> To: users at dpdk.org<mailto:users at dpdk.org>
> 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


More information about the users mailing list