DPDK usage discussions
 help / color / mirror / Atom feed
From: Nishant Verma <vnish11@gmail.com>
To: "Min Hu (Connor)" <humin29@huawei.com>
Cc: USERS <users@dpdk.org>, dev@dpdk.org
Subject: Re: [dpdk-users] [dpdk-dev] I40e-dpdk_18.11-Bonding issue
Date: Mon, 20 Sep 2021 16:38:58 -0400
Message-ID: <CAHhCjUFJjgqA6ZbkTkPgiWm2sx9AGVyT-GKZcpyy-TBXDWnLiQ@mail.gmail.com> (raw)
In-Reply-To: <c6cbc954-e7cf-d386-59fb-d972e878df37@huawei.com>

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

  reply	other threads:[~2021-09-20 20:39 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 [this message]
2021-09-22  1:12     ` Min Hu (Connor)

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=CAHhCjUFJjgqA6ZbkTkPgiWm2sx9AGVyT-GKZcpyy-TBXDWnLiQ@mail.gmail.com \
    --to=vnish11@gmail.com \
    --cc=dev@dpdk.org \
    --cc=humin29@huawei.com \
    --cc=users@dpdk.org \
    /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