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 E2615A0C46 for ; Mon, 20 Sep 2021 22:39:10 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A5F5540DF7; Mon, 20 Sep 2021 22:39:10 +0200 (CEST) Received: from mail-lf1-f42.google.com (mail-lf1-f42.google.com [209.85.167.42]) by mails.dpdk.org (Postfix) with ESMTP id 1D8DD40DF5; Mon, 20 Sep 2021 22:39:10 +0200 (CEST) Received: by mail-lf1-f42.google.com with SMTP id i25so73455217lfg.6; Mon, 20 Sep 2021 13:39:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=lU+//zF8/LSRZSKoXXGRN29jCRc++2MDubRXEXkkNLQ=; b=iwClyEgzmHa6i4Tf1bDNcuxJFknbIEOZ+kfQdcZquNrv91u4qwc68VLVSsPpTRYvVy rI2126/kq53XfRYlN6IQLQrdOp8kT41el5x3Q35Xxo2xB8YSh19kh4yZ+FmJCI4wCyBz oyyh+CG42MIaFlnIOVaIkvsMIW2nFBRL7suWM6o7AoEiW/jazEMA7tYYq1QUW1KPQfMq U9/w769unSeaW+d8Kv02YFiBFX4u6rzzTZ/4zc3SXtLrjNVmb2ec5umLSQ1JYb6ar5im T3MYdnK40hENpva/dZb195ieefrsqkaj4GGD7b/LR9AZWTaaUp0Ixy8IVN7jGAeE8tcg dpYQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=lU+//zF8/LSRZSKoXXGRN29jCRc++2MDubRXEXkkNLQ=; b=TLzELNHSYRObFcyxDW7aoJhuEXsBrFLWukdLhlaoqh9qhjxAXsMmGbz6KksNLGpYpw UZ1tkOYioDgCFSJWFPguQRq+QEjkNOiPBSBMP4oDPaJS4VPIh3UxE0FTr74aNy2JYyNO FjjnT4mQLwjmeW1Oh/NpNZxvu+WrptP5/+sa7v5+4Sfym0nJYyw6ZXiib4WyIXKHmAHa mGG9fiPPctioZdpg/k34+/r7xeBB9SW9U/UCgwlWpvhIFYZxM/nV92TMibpGfJRTx9Ys tI4BMXurfjg5fK/YG1PvQDx9L2YzojMyvN0AL/5cqr1fB+gXjsMwfPVqatoUo8dpjJ5x 3KtQ== X-Gm-Message-State: AOAM532bvLfaj6YXUNsKXEogWDLGnXAhxMbLyh9Kk6glphaolITMCIs0 Hi0hTK6gsyjyhrJKGdIyxAYpj1tbPX2ChYapStE= X-Google-Smtp-Source: ABdhPJynbnUe5cZ8NhJ5qMIDUNd3fsa2dYu90Ny3YuIGX0JcvLq/CCnpmRoXfPo0+J9MWbWdm/y7qu7Cobbj8oSg/Zc= X-Received: by 2002:a2e:4619:: with SMTP id t25mr17773879lja.398.1632170349583; Mon, 20 Sep 2021 13:39:09 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Nishant Verma Date: Mon, 20 Sep 2021 16:38:58 -0400 Message-ID: To: "Min Hu (Connor)" Cc: USERS , dev@dpdk.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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" 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 = =EF=BC=9F > the more detailed the better=EF=BC=8C thanks. > > =E5=9C=A8 2021/9/18 1:20, Nishant Verma =E5=86=99=E9=81=93: > > 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 =3D 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 addres= s > > mac_address_slaves_update(1503) - Failed to update port Id 1 MAC addres= s > > FWK: Adding slave (1) to bond (2) > > mac_address_slaves_update(1495) - Failed to update port Id 0 MAC addres= s > > mac_address_slaves_update(1503) - Failed to update port Id 1 MAC addres= s > > EAL: Error - exiting with code: 1 > > Cause: rte_eth_dev_start: err=3D-1, port=3D2 > > > > 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 > > . > > >