DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] I40e-dpdk_18.11-Bonding issue
@ 2021-09-17 17:20 Nishant Verma
  2021-09-18  0:51 ` Min Hu (Connor)
  0 siblings, 1 reply; 4+ messages in thread
From: Nishant Verma @ 2021-09-17 17:20 UTC (permalink / raw)
  To: USERS, dev

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

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

* Re: [dpdk-dev] I40e-dpdk_18.11-Bonding issue
  2021-09-17 17:20 [dpdk-dev] I40e-dpdk_18.11-Bonding issue Nishant Verma
@ 2021-09-18  0:51 ` Min Hu (Connor)
  2021-09-20 20:38   ` Nishant Verma
  0 siblings, 1 reply; 4+ messages in thread
From: Min Hu (Connor) @ 2021-09-18  0:51 UTC (permalink / raw)
  To: Nishant Verma, USERS, dev

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
> .
> 

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

* Re: [dpdk-dev] I40e-dpdk_18.11-Bonding issue
  2021-09-18  0:51 ` Min Hu (Connor)
@ 2021-09-20 20:38   ` Nishant Verma
  2021-09-22  1:12     ` Min Hu (Connor)
  0 siblings, 1 reply; 4+ messages in thread
From: Nishant Verma @ 2021-09-20 20:38 UTC (permalink / raw)
  To: Min Hu (Connor); +Cc: USERS, dev

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> 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
> > .
> >
>

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

* Re: [dpdk-dev] I40e-dpdk_18.11-Bonding issue
  2021-09-20 20:38   ` Nishant Verma
@ 2021-09-22  1:12     ` Min Hu (Connor)
  0 siblings, 0 replies; 4+ messages in thread
From: Min Hu (Connor) @ 2021-09-22  1:12 UTC (permalink / raw)
  To: Nishant Verma; +Cc: USERS, dev

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
>      > .
>      >
> 

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

end of thread, other threads:[~2021-09-22  1:12 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-17 17:20 [dpdk-dev] I40e-dpdk_18.11-Bonding issue Nishant Verma
2021-09-18  0:51 ` Min Hu (Connor)
2021-09-20 20:38   ` Nishant Verma
2021-09-22  1:12     ` Min Hu (Connor)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).