[prev in list] [next in list] [prev in thread] [next in thread] 

List:       dpdk-users
Subject:    Re: [dpdk-users] [dpdk-dev] I40e-dpdk_18.11-Bonding issue
From:       "Min Hu (Connor)" <humin29 () huawei ! com>
Date:       2021-09-22 1:12:03
Message-ID: c4209265-7bc1-6f9a-618c-206a431004fb () huawei ! com
[Download RAW message or body]

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) <humin29@huawei.com 
> <mailto:humin29@huawei.com>> 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
>      > .
>      >
> 
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic