DPDK usage discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [dpdk-users] is i40evf support promisc? // DPDK 20.11 - i40evf: No response for 14
@ 2021-10-26  7:08 liaobiting
  2021-11-04 17:47 ` David Christensen
  0 siblings, 1 reply; 3+ messages in thread
From: liaobiting @ 2021-10-26  7:08 UTC (permalink / raw)
  To: dev, users, beilei.xing
  Cc: liucheng (J), Zhengjingzhou, Huangjian (J),
	Raofei (Milo, Hybrid Cloud Infrastructure Service Program),
	wangyunjian


[-- Attachment #1.1: Type: text/plain, Size: 3064 bytes --]

Hi:
    Please help to see this DPDK problem. And I want to know whether i40e vf support promisc or not. Thanks a lot.

From: liaobiting <liaobiting@huawei.com>
Subject: Please help to see this DPDK problem//Reply: DPDK 20.11 - i40evf: No response for 14

BUG: DPDK-20.11- i40evf: No response for 14

Hi:
I am using Intel SR-IOV XL710 VF with DPDK v20.11 to create a dpdkbond but failed.
         [cid:image001.png@01D7CA79.73F04A20]
         As the picture shows, when dpdk bond start and slave link up, it triggers lsc callback function which registers in the eal thread, and then in the activate_slave process,
i40evf send msg 14 to pf to config promisc, but there is no response received. Because function "i40evf_handle_aq_msg" in which vf receives response from pf
is in the same thread of eal with function "_i40evf_execute_vf_cmd" in which vf sends msg to pf. Thus, when eal thread goes in function _i40evf_execute_vf_cmd,
it can't handle msg from pf at the same time, then it will report "No response for 14" in dpdk log.

And there are the error logs in dpdk:
2021-10-11T11:03:32.812516+08:00|info|ovs-vswitchd[1721043]|EAL: [eth_dev_ops] Slave 1: set mtu: 9058 .
2021-10-11T11:03:32.822434+08:00|info|ovs-vswitchd[1721043]|EAL: [eth_dev_ops] Slave 1: dev configure succeed.
2021-10-11T11:03:33.022426+08:00|info|ovs-vswitchd[1721043]|EAL: LSC CALLBACK: slave 0000:87:02.0 links up
2021-10-11T11:03:33.022455+08:00|info|ovs-vswitchd[1721043]|PMD: Slave 1: lacp_rate has been set to slow.
2021-10-11T11:03:35.034445+08:00|warning|ovs-vswitchd[1721043]|_i40evf_execute_vf_cmd(): No response for 14
2021-10-11T11:03:35.034628+08:00|err|ovs-vswitchd[1721043]|i40evf_config_promisc(): fail to execute command CONFIG_PROMISCUOUS_MODE
2021-10-11T11:03:35.034657+08:00|info|ovs-vswitchd[1721043]|EAL: [eth_dev_ops] Slave 1: enable allmulticast.
2021-10-11T11:03:35.034680+08:00|err|ovs-vswitchd[1721043]|bond_mode_8023ad_register_lacp_mac(1250) - failed to enable allmulti mode for port 1: Resource temporarily unavailable
2021-10-11T11:03:35.034702+08:00|debug|ovs-vswitchd[1721043]|bond_mode_8023ad_register_lacp_mac(1266) - forced promiscuous for port 1
2021-10-11T11:03:35.034725+08:00|info|ovs-vswitchd[1721043]|EAL: [eth_dev_ops] Slave 1 (net_bonding_trunk1): Configuring and applying resources successed.
2021-10-11T11:03:35.034746+08:00|info|ovs-vswitchd[1721043]|EAL: [eth_dev_ops] slave 1 (net_bonding_trunk1) activate.
2021-10-11T11:03:35.034771+08:00|debug|ovs-vswitchd[1721043]|     0 [Port 1: rx_machine] -> INITIALIZE
2021-10-11T11:03:35.034794+08:00|debug|ovs-vswitchd[1721043]|     0 [Port 1: mux_machine] -> DETACHED
2021-10-11T11:03:35.084534+08:00|err|ovs-vswitchd[1721043]|i40evf_handle_aq_msg(): command mismatch,expect 8, get 14
2021-10-11T11:03:35.134545+08:00|debug|ovs-vswitchd[1721043]|   100 [Port 1: mux_machine] DETACHED -> WAITING
2021-10-11T11:03:35.544648+08:00|info|ovs-vswitchd[1721043]|EAL: [eth_dev_ops] Slave 1: start dev.

How can I solve this problem ?
Thakns for help.
Regards,
Liao

[-- Attachment #1.2: Type: text/html, Size: 12225 bytes --]

[-- Attachment #2: image001.png --]
[-- Type: image/png, Size: 23756 bytes --]

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

* Re: [dpdk-dev] [dpdk-users] is i40evf support promisc? // DPDK 20.11 - i40evf: No response for 14
  2021-10-26  7:08 [dpdk-dev] [dpdk-users] is i40evf support promisc? // DPDK 20.11 - i40evf: No response for 14 liaobiting
@ 2021-11-04 17:47 ` David Christensen
  0 siblings, 0 replies; 3+ messages in thread
From: David Christensen @ 2021-11-04 17:47 UTC (permalink / raw)
  To: liaobiting, dev, users, beilei.xing
  Cc: liucheng (J), Zhengjingzhou, Huangjian (J),
	Raofei (Milo, Hybrid Cloud Infrastructure Service Program),
	wangyunjian



On 10/26/21 12:08 AM, liaobiting wrote:
> Hi: Please help to see this DPDK problem. And I want to know whether 
> i40e vf support promisc or not. Thanks a lot. From: liaobiting 
> <liaobiting@huawei.com> Subject: Please help to see this DPDK 
> problem//Reply: DPDK 20.11 - i40evf: No ZjQcmQRYFpfptBannerStart
> This Message Is From an External Sender
> This message came from outside your organization.
> ZjQcmQRYFpfptBannerEnd
> 
> Hi:
> 
>      Please help to see this DPDK problem. And I want to know whether 
> i40e vf support promisc or not. Thanks a lot.

According to the README at 
https://downloadmirror.intel.com/28381/eng/readme.txt you need to enable 
a VF as trusted for promiscuous mode.  Looks like this:

# ip link set dev eth0 vf 1 trust [on|off]

Did you enable the VF as trusted before assigning the NIC to the OVS switch?

Dave

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

* re: [dpdk-dev] [dpdk-users] is i40evf support promisc? // DPDK 20.11 - i40evf: No response for 14
@ 2021-11-09  3:35 liaobiting
  0 siblings, 0 replies; 3+ messages in thread
From: liaobiting @ 2021-11-09  3:35 UTC (permalink / raw)
  To: David Christensen, dev, users, beilei.xing
  Cc: liucheng (J), Zhengjingzhou, Huangjian (J),
	Raofei (Milo, Hybrid Cloud Infrastructure Service Program),
	wangyunjian

I do enable the VF as trusted before assigning the NIC to the OVS switch. 
And we are about to release our commercial version with this feature, would you please to help me with this problem as soon as possible? 

Thank you,
Liao

-----邮件原件-----
发件人: David Christensen [mailto:drc@linux.vnet.ibm.com] 
发送时间: 2021年11月5日 1:48
收件人: liaobiting <liaobiting@huawei.com>; dev@dpdk.org; users@dpdk.org; beilei.xing@intel.com
抄送: liucheng (J) <liucheng11@huawei.com>; Zhengjingzhou <zhengjingzhou@huawei.com>; Huangjian (J) <huangjian.huangjian@huawei.com>; Raofei (Milo, Hybrid Cloud Infrastructure Service Program) <milo.raofei@huawei.com>; wangyunjian <wangyunjian@huawei.com>
主题: Re: [dpdk-dev] [dpdk-users] is i40evf support promisc? // DPDK 20.11 - i40evf: No response for 14



On 10/26/21 12:08 AM, liaobiting wrote:
> Hi: Please help to see this DPDK problem. And I want to know whether 
> i40e vf support promisc or not. Thanks a lot. From: liaobiting 
> <liaobiting@huawei.com> Subject: Please help to see this DPDK
> problem//Reply: DPDK 20.11 - i40evf: No ZjQcmQRYFpfptBannerStart This 
> Message Is From an External Sender This message came from outside your 
> organization.
> ZjQcmQRYFpfptBannerEnd
> 
> Hi:
> 
>      Please help to see this DPDK problem. And I want to know whether 
> i40e vf support promisc or not. Thanks a lot.

According to the README at
https://downloadmirror.intel.com/28381/eng/readme.txt you need to enable a VF as trusted for promiscuous mode.  Looks like this:

# ip link set dev eth0 vf 1 trust [on|off]

Did you enable the VF as trusted before assigning the NIC to the OVS switch?

Dave

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

end of thread, other threads:[~2021-11-09  3:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-26  7:08 [dpdk-dev] [dpdk-users] is i40evf support promisc? // DPDK 20.11 - i40evf: No response for 14 liaobiting
2021-11-04 17:47 ` David Christensen
2021-11-09  3:35 liaobiting

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