DPDK usage discussions
 help / color / mirror / Atom feed
* Re: [dpdk-users] IGB_uio driver issue
       [not found] <mailman.3.1626343201.30915.users@dpdk.org>
@ 2021-07-15 10:36 ` Huai-En Tseng
  0 siblings, 0 replies; 3+ messages in thread
From: Huai-En Tseng @ 2021-07-15 10:36 UTC (permalink / raw)
  To: sohail.eic06g; +Cc: users

Hi Anjum,

Interface bound to uio driver can't be managed by kernel anymore.

Therefore you can't use OS network tools to get the interface information.

When DPDK application starts, it will show uio bound interfaces in order.

e.g.

EAL:   Invalid NUMA socket, default to 0
EAL: Probe PCI driver: net_ixgbe_vf (8086:10ed) device: 0000:06:00.0 (socket 0)
EAL:   Invalid NUMA socket, default to 0
EAL: Probe PCI driver: net_ixgbe_vf (8086:10ed) device: 0000:07:00.0 (socket 0)

The 0000:06:00.0 device is the first interface DPDK uses and 0000:07:00.0 is the second.


> Message: 4
> Date: Thu, 15 Jul 2021 17:47:30 +0800
> From: "Anjum, Sohail" <sohail.eic06g@nctu.edu.tw>
> To: "users@dpdk.org" <users@dpdk.org>
> Subject: [dpdk-users] IGB_uio driver issue
> Message-ID:
> 	<CABsxamhZR5PUk_UarMVgWRvjWKVQX1o5p+bZM-6YogeppMbmPQ@mail.gmail.com>
> Content-Type: text/plain; charset="UTF-8"
> 
> Hi, everyone I am trying to run ndpi with dpdk. In order to do that I can
> bind the port with igb_uio driver but when I bind the port.
> lshw -c network -businfo
> Command doesn't show the interface name. It can only show the PCI address.
> So when I can run the dpdk command I dont know which interface to use. But
> when I use the the same name with the old interface name then they show
> this port is not available.
> 
> Regards,
> -- 
> *Regards*,
> 
> *Sohail Anjum*
> 
> *EECS Department.*
> *National Chiao Tung University, Hsinchu, Taiwan*
> 
> 
> End of users Digest, Vol 297, Issue 4
> *************************************


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

* Re: [dpdk-users] IGB_uio driver issue
  2021-07-15  9:47 Anjum, Sohail
@ 2021-07-16 10:19 ` Venumadhav Josyula
  0 siblings, 0 replies; 3+ messages in thread
From: Venumadhav Josyula @ 2021-07-16 10:19 UTC (permalink / raw)
  To: Anjum, Sohail; +Cc: users

Hi ,

Please use the dpdk-devbind.py to bind it back to original driver

i) find / -name dpdk-devbind.py
ii) go to the path
iii) ./dpdk-devbind.py // hit enter
iv) it display usage
or
v) ./dpdk-devbind.py --status // list of kernel and dpdk manager driver
vi) if you your interface being managed by dpdk , unbind and bind back to
the original driver.
vii) refer iv) for usage


Thanks,
Regards,

On Thu, 15 Jul 2021 at 15:17, Anjum, Sohail <sohail.eic06g@nctu.edu.tw>
wrote:

> Hi, everyone I am trying to run ndpi with dpdk. In order to do that I can
> bind the port with igb_uio driver but when I bind the port.
> lshw -c network -businfo
> Command doesn't show the interface name. It can only show the PCI address.
> So when I can run the dpdk command I dont know which interface to use. But
> when I use the the same name with the old interface name then they show
> this port is not available.
>
> Regards,
> --
> *Regards*,
>
> *Sohail Anjum*
>
> *EECS Department.*
> *National Chiao Tung University, Hsinchu, Taiwan*
>

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

* [dpdk-users] IGB_uio driver issue
@ 2021-07-15  9:47 Anjum, Sohail
  2021-07-16 10:19 ` Venumadhav Josyula
  0 siblings, 1 reply; 3+ messages in thread
From: Anjum, Sohail @ 2021-07-15  9:47 UTC (permalink / raw)
  To: users

Hi, everyone I am trying to run ndpi with dpdk. In order to do that I can
bind the port with igb_uio driver but when I bind the port.
lshw -c network -businfo
Command doesn't show the interface name. It can only show the PCI address.
So when I can run the dpdk command I dont know which interface to use. But
when I use the the same name with the old interface name then they show
this port is not available.

Regards,
-- 
*Regards*,

*Sohail Anjum*

*EECS Department.*
*National Chiao Tung University, Hsinchu, Taiwan*

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

end of thread, other threads:[~2021-07-16 10:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <mailman.3.1626343201.30915.users@dpdk.org>
2021-07-15 10:36 ` [dpdk-users] IGB_uio driver issue Huai-En Tseng
2021-07-15  9:47 Anjum, Sohail
2021-07-16 10:19 ` Venumadhav Josyula

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