DPDK usage discussions
 help / color / mirror / Atom feed
* [dpdk-users] How to use --vdev parameter?
@ 2021-07-26  9:47 Utkarsh Kathuria
  2021-07-28  6:36 ` Xia, Chenbo
  0 siblings, 1 reply; 4+ messages in thread
From: Utkarsh Kathuria @ 2021-07-26  9:47 UTC (permalink / raw)
  To: users

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.

Thank you
Regards
Utkarsh

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [dpdk-users] How to use --vdev parameter?
  2021-07-26  9:47 [dpdk-users] How to use --vdev parameter? Utkarsh Kathuria
@ 2021-07-28  6:36 ` Xia, Chenbo
  2021-07-28  6:48   ` Utkarsh Kathuria
  0 siblings, 1 reply; 4+ messages in thread
From: Xia, Chenbo @ 2021-07-28  6:36 UTC (permalink / raw)
  To: Utkarsh Kathuria, users

Hi Utkarsh,

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [dpdk-users] How to use --vdev parameter?
  2021-07-28  6:36 ` Xia, Chenbo
@ 2021-07-28  6:48   ` Utkarsh Kathuria
  2021-07-28  6:57     ` Xia, Chenbo
  0 siblings, 1 reply; 4+ messages in thread
From: Utkarsh Kathuria @ 2021-07-28  6:48 UTC (permalink / raw)
  To: Xia, Chenbo; +Cc: users

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@intel.com> wrote:

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [dpdk-users] How to use --vdev parameter?
  2021-07-28  6:48   ` Utkarsh Kathuria
@ 2021-07-28  6:57     ` Xia, Chenbo
  0 siblings, 0 replies; 4+ messages in thread
From: Xia, Chenbo @ 2021-07-28  6:57 UTC (permalink / raw)
  To: Utkarsh Kathuria; +Cc: users

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

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-07-28  6:58 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-26  9:47 [dpdk-users] How to use --vdev parameter? Utkarsh Kathuria
2021-07-28  6:36 ` Xia, Chenbo
2021-07-28  6:48   ` Utkarsh Kathuria
2021-07-28  6:57     ` Xia, Chenbo

DPDK usage discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://inbox.dpdk.org/users/0 users/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 users users/ http://inbox.dpdk.org/users \
		users@dpdk.org
	public-inbox-index users

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.users


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git