DPDK usage discussions
 help / color / Atom feed
* [dpdk-users] Problem with dpdk vf pollmode driver - Ethernet controller: Intel Corporation XL710/X710 Virtual Function
@ 2020-09-03  5:26 Venumadhav Josyula
  2020-09-03 16:44 ` David Christensen
  0 siblings, 1 reply; 3+ messages in thread
From: Venumadhav Josyula @ 2020-09-03  5:26 UTC (permalink / raw)
  To: users

Hi All,

We have SR-IOV, we have few virtual functions mapped to an vm. We have
seeing link issues, after we started dpdk based application we are seeing
following

*lspci output { lspci | grep Ether }*
00:0c.0 Ethernet controller: Intel Corporation XL710/X710 Virtual Function
(rev 01)
00:0d.0 Ethernet controller: Intel Corporation XL710/X710 Virtual Function
(rev 01)
00:0e.0 Ethernet controller: Intel Corporation XL710/X710 Virtual Function
(rev 01)
00:0f.0 Ethernet controller: Intel Corporation XL710/X710 Virtual Function
(rev 01)
00:10.0 Ethernet controller: Intel Corporation XL710/X710 Virtual Function
(rev 01)
00:11.0 Ethernet controller: Intel Corporation XL710/X710 Virtual Function
(rev 01)
00:12.0 Ethernet controller: Intel Corporation XL710/X710 Virtual Function
(rev 01)
00:13.0 Ethernet controller: Intel Corporation XL710/X710 Virtual Function
(rev 01)

*ip link show*
57: ens13: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast
state DOWN mode DEFAULT qlen 1000
    link/ether 52:54:00:df:5f:f9 brd ff:ff:ff:ff:ff:ff
58: ens15: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast
state DOWN mode DEFAULT qlen 1000
    link/ether 52:54:00:9d:bf:38 brd ff:ff:ff:ff:ff:ff
59: ens16: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast
state DOWN mode DEFAULT qlen 1000
    link/ether 52:54:00:2c:3f:03 brd ff:ff:ff:ff:ff:ff


*driver mapping*
[root@LTE-UNIPERF-ACCESS datapath]#
./3rdparty/usr/share/dpdk/usertools/dpdk-devbind.py --status-dev net

Network devices using DPDK-compatible driver
============================================


*0000:00:0d.0 'XL710/X710 Virtual Function 154c' drv=igb_uio
unused=0000:00:0f.0 'XL710/X710 Virtual Function 154c' drv=igb_uio
unused=0000:00:10.0 'XL710/X710 Virtual Function 154c' drv=igb_uio unused=*

Network devices using kernel driver
===================================
0000:00:03.0 '82540EM Gigabit Ethernet Controller 100e' if=ens3 drv=e1000
unused=igb_uio *Active*
0000:00:04.0 '82540EM Gigabit Ethernet Controller 100e' if=ens4 drv=e1000
unused=igb_uio
0000:00:05.0 '82540EM Gigabit Ethernet Controller 100e' if=ens5 drv=e1000
unused=igb_uio
0000:00:06.0 '82540EM Gigabit Ethernet Controller 100e' if=ens6 drv=e1000
unused=igb_uio
0000:00:0c.0 'XL710/X710 Virtual Function 154c' if=ens12 drv=i40evf
unused=igb_uio
0000:00:0e.0 'XL710/X710 Virtual Function 154c' if=ens14 drv=i40evf
unused=igb_uio
0000:00:11.0 'XL710/X710 Virtual Function 154c' if=ens17 drv=i40evf
unused=igb_uio
0000:00:12.0 'XL710/X710 Virtual Function 154c' if=ens18 drv=i40evf
unused=igb_uio
0000:00:13.0 'XL710/X710 Virtual Function 154c' if=ens19 drv=i40evf
unused=igb_uio

Other Network devices
=====================
<none>


*nic details on host*
01:00.0 Ethernet controller: Broadcom Inc. and subsidiaries NetXtreme II
BCM5709 Gigabit Ethernet (rev 20)
01:00.1 Ethernet controller: Broadcom Inc. and subsidiaries NetXtreme II
BCM5709 Gigabit Ethernet (rev 20)
02:00.0 Ethernet controller: Broadcom Inc. and subsidiaries NetXtreme II
BCM5709 Gigabit Ethernet (rev 20)
02:00.1 Ethernet controller: Broadcom Inc. and subsidiaries NetXtreme II
BCM5709 Gigabit Ethernet (rev 20)

*05:00.0 Ethernet controller: Intel Corporation Ethernet Controller X710
for 10GbE SFP+ (rev 01)05:00.1 Ethernet controller: Intel Corporation
Ethernet Controller X710 for 10GbE SFP+ (rev 01)*
05:02.0 Ethernet controller: Intel Corporation Ethernet Virtual Function
700 Series (rev 01)
05:02.1 Ethernet controller: Intel Corporation Ethernet Virtual Function
700 Series (rev 01)
05:02.2 Ethernet controller: Intel Corporation Ethernet Virtual Function
700 Series (rev 01)
05:02.3 Ethernet controller: Intel Corporation Ethernet Virtual Function
700 Series (rev 01)
05:02.4 Ethernet controller: Intel Corporation Ethernet Virtual Function
700 Series (rev 01)
05:02.5 Ethernet controller: Intel Corporation Ethernet Virtual Function
700 Series (rev 01)
05:02.6 Ethernet controller: Intel Corporation Ethernet Virtual Function
700 Series (rev 01)
05:02.7 Ethernet controller: Intel Corporation Ethernet Virtual Function
700 Series (rev 01)
05:03.0 Ethernet controller: Intel Corporation Ethernet Virtual Function
700 Series (rev 01)
05:03.1 Ethernet controller: Intel Corporation Ethernet Virtual Function
700 Series (rev 01)
05:03.2 Ethernet controller: Intel Corporation Ethernet Virtual Function
700 Series (rev 01)
05:03.3 Ethernet controller: Intel Corporation Ethernet Virtual Function
700 Series (rev 01)
05:03.4 Ethernet controller: Intel Corporation Ethernet Virtual Function
700 Series (rev 01)
05:03.5 Ethernet controller: Intel Corporation Ethernet Virtual Function
700 Series (rev 01)
05:0a.0 Ethernet controller: Intel Corporation Ethernet Virtual Function
700 Series (rev 01)
05:0a.1 Ethernet controller: Intel Corporation Ethernet Virtual Function
700 Series (rev 01)
05:0a.2 Ethernet controller: Intel Corporation Ethernet Virtual Function
700 Series (rev 01)
05:0a.3 Ethernet controller: Intel Corporation Ethernet Virtual Function
700 Series (rev 01)
05:0a.4 Ethernet controller: Intel Corporation Ethernet Virtual Function
700 Series (rev 01)
05:0a.5 Ethernet controller: Intel Corporation Ethernet Virtual Function
700 Series (rev 01)
05:0a.6 Ethernet controller: Intel Corporation Ethernet Virtual Function
700 Series (rev 01)
05:0a.7 Ethernet controller: Intel Corporation Ethernet Virtual Function
700 Series (rev 01)
05:0b.0 Ethernet controller: Intel Corporation Ethernet Virtual Function
700 Series (rev 01)
05:0b.1 Ethernet controller: Intel Corporation Ethernet Virtual Function
700 Series (rev 01)
05:0b.2 Ethernet controller: Intel Corporation Ethernet Virtual Function
700 Series (rev 01)
05:0b.3 Ethernet controller: Intel Corporation Ethernet Virtual Function
700 Series (rev 01)
05:0b.4 Ethernet controller: Intel Corporation Ethernet Virtual Function
700 Series (rev 01)
05:0b.5 Ethernet controller: Intel Corporation Ethernet Virtual Function
700 Series (rev 01)


Any clue if there is an problem with vf(s)

Any pointer(s) inputs are welcome.

Thanks,
Regards,
Venu

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

* Re: [dpdk-users] Problem with dpdk vf pollmode driver - Ethernet controller: Intel Corporation XL710/X710 Virtual Function
  2020-09-03  5:26 [dpdk-users] Problem with dpdk vf pollmode driver - Ethernet controller: Intel Corporation XL710/X710 Virtual Function Venumadhav Josyula
@ 2020-09-03 16:44 ` David Christensen
  2020-09-03 16:47   ` Venumadhav Josyula
  0 siblings, 1 reply; 3+ messages in thread
From: David Christensen @ 2020-09-03 16:44 UTC (permalink / raw)
  To: users

On 9/2/20 10:26 PM, Venumadhav Josyula wrote:
> We have SR-IOV, we have few virtual functions mapped to an vm. We have
> seeing link issues, after we started dpdk based application we are seeing
> following

Ensure that VF link state is set appropriately.  The following "ip" 
command allows you to control whether the VF link follows the physical 
function link state, is always up, or is forced down (your system might 
be configured for the "down" state):

ip link set <pf> vf <vf_index> state auto|enable|disable

Try enabling "auto" or "enable" on the host and see if that helps.

Dave

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

* Re: [dpdk-users] Problem with dpdk vf pollmode driver - Ethernet controller: Intel Corporation XL710/X710 Virtual Function
  2020-09-03 16:44 ` David Christensen
@ 2020-09-03 16:47   ` Venumadhav Josyula
  0 siblings, 0 replies; 3+ messages in thread
From: Venumadhav Josyula @ 2020-09-03 16:47 UTC (permalink / raw)
  To: David Christensen; +Cc: users

Where do I set this in vm or host ?

Thanks
Regards
Venu

On Thu, 3 Sep, 2020, 10:15 pm David Christensen, <drc@linux.vnet.ibm.com>
wrote:

> On 9/2/20 10:26 PM, Venumadhav Josyula wrote:
> > We have SR-IOV, we have few virtual functions mapped to an vm. We have
> > seeing link issues, after we started dpdk based application we are seeing
> > following
>
> Ensure that VF link state is set appropriately.  The following "ip"
> command allows you to control whether the VF link follows the physical
> function link state, is always up, or is forced down (your system might
> be configured for the "down" state):
>
> ip link set <pf> vf <vf_index> state auto|enable|disable
>
> Try enabling "auto" or "enable" on the host and see if that helps.
>
> Dave
>

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

end of thread, back to index

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-03  5:26 [dpdk-users] Problem with dpdk vf pollmode driver - Ethernet controller: Intel Corporation XL710/X710 Virtual Function Venumadhav Josyula
2020-09-03 16:44 ` David Christensen
2020-09-03 16:47   ` Venumadhav Josyula

DPDK usage discussions

Archives are clonable:
	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


Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.users


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