From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 0D2FBA0C45 for ; Wed, 22 Sep 2021 03:12:16 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id F025B4116F; Wed, 22 Sep 2021 03:12:09 +0200 (CEST) Received: from szxga08-in.huawei.com (szxga08-in.huawei.com [45.249.212.255]) by mails.dpdk.org (Postfix) with ESMTP id 08AF04003C; Wed, 22 Sep 2021 03:12:06 +0200 (CEST) Received: from dggeme756-chm.china.huawei.com (unknown [172.30.72.56]) by szxga08-in.huawei.com (SkyGuard) with ESMTP id 4HDgGR24y6z1DH6y; Wed, 22 Sep 2021 09:10:55 +0800 (CST) Received: from [10.67.103.128] (10.67.103.128) by dggeme756-chm.china.huawei.com (10.3.19.102) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.8; Wed, 22 Sep 2021 09:12:04 +0800 To: Nishant Verma CC: USERS , References: From: "Min Hu (Connor)" Message-ID: Date: Wed, 22 Sep 2021 09:12:03 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.3.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 8bit X-Originating-IP: [10.67.103.128] X-ClientProxiedBy: dggems704-chm.china.huawei.com (10.3.19.181) To dggeme756-chm.china.huawei.com (10.3.19.102) X-CFilter-Loop: Reflected Subject: Re: [dpdk-users] [dpdk-dev] I40e-dpdk_18.11-Bonding issue X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org Sender: "users" Hi, Nishant, according to the log, it failed when VF called rte_eth_dev_default_mac_addr_set. I think it may has nothing to do with bond. I suggest you check out the ops (i40e driver) ,that is, 'i40evf_set_default_mac_addr', maybe check out the input parameter, or the communication way between VF and PF, to figure out if they exist any bugs. Thanks. 在 2021/9/21 4:38, Nishant Verma 写道: > Thanks for the reply. > > Actually till this time the test has not even started. I have a INTEL > processor with 2 onboard nic. > b5:00.0 Ethernet controller: Intel Corporation Ethernet Connection X722 > for 10GbE backplane (rev 04) > b5:00.1 Ethernet controller: Intel Corporation Ethernet Connection X722 > for 10GbE backplane (rev 04) > > I created 2 VF on each of the PF and whitelisted the VF's PCI to execute > my test app. I am using one VF from each to create a bond(ACTIVE BACKUP) > that will be used by my app. > > EAL init is fine after that port configure is fine as of now. But after > bond creation when I am going for init, it gives me this error > mac_address_slaves_update(1495) - 1 Failed to update port Id 0 MAC address > > and furter on port start fails. > > Thanks. > > Regards, > Nishant Verma > > > On Fri, Sep 17, 2021 at 8:51 PM Min Hu (Connor) > wrote: > > Hi, Nishant, >         could you tell us your complete detailed steps and logs for > test ? >         the more detailed the better, thanks. > > 在 2021/9/18 1:20, Nishant Verma 写道: > > Hi, > > > > I am stuck with a bonding issue wrt. DPDK 18.11 with X722 ethernet > > controller. > > > > My system basically creates VF's through SRIOV on top of two > PF's. One > > issue I found was if I try to change the MAC address of VF more > then once, > > it won't let me do that. Anyway I can live with that but when I > am creating > > bond interface on top of 2 VF's. I am getting this error. > > > > Changed Address:06:00:00:02:b7:21 > > FWK: Bond interface net_bonding1 created successfully, id = 2 > > > > *mac_address_slaves_update(1495) - Failed to update port Id 0 MAC > address*FWK: > > Adding slave (0) to bond (2) > > mac_address_slaves_update(1495) - Failed to update port Id 0 MAC > address > > mac_address_slaves_update(1503) - Failed to update port Id 1 MAC > address > > FWK: Adding slave (1) to bond (2) > > mac_address_slaves_update(1495) - Failed to update port Id 0 MAC > address > > mac_address_slaves_update(1503) - Failed to update port Id 1 MAC > address > > EAL: Error - exiting with code: 1 > >    Cause: rte_eth_dev_start: err=-1, port=2 > > > > I checked a whole lot of patches but everything seems to be in > place in > > this release. What else can I try to get rid of these errors? > > > > Thanks. > > > > Regards, > > Nishant Verma > > . > > >