DPDK usage discussions
 help / color / mirror / Atom feed
From: "Min Hu (Connor)" <humin29@huawei.com>
To: Nishant Verma <vnish11@gmail.com>
Cc: USERS <users@dpdk.org>, <dev@dpdk.org>
Subject: Re: [dpdk-users] [dpdk-dev] I40e-dpdk_18.11-Bonding issue
Date: Wed, 22 Sep 2021 09:12:03 +0800
Message-ID: <c4209265-7bc1-6f9a-618c-206a431004fb@huawei.com> (raw)
In-Reply-To: <CAHhCjUFJjgqA6ZbkTkPgiWm2sx9AGVyT-GKZcpyy-TBXDWnLiQ@mail.gmail.com>

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

      reply	other threads:[~2021-09-22  1:12 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-17 17:20 [dpdk-users] " Nishant Verma
2021-09-18  0:51 ` [dpdk-users] [dpdk-dev] " Min Hu (Connor)
2021-09-20 20:38   ` Nishant Verma
2021-09-22  1:12     ` Min Hu (Connor) [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=c4209265-7bc1-6f9a-618c-206a431004fb@huawei.com \
    --to=humin29@huawei.com \
    --cc=dev@dpdk.org \
    --cc=users@dpdk.org \
    --cc=vnish11@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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