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 C4777A00C4; Sat, 4 Jun 2022 15:50:29 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9CF094021E; Sat, 4 Jun 2022 15:50:28 +0200 (CEST) Received: from sonic313-19.consmr.mail.sg3.yahoo.com (sonic313-19.consmr.mail.sg3.yahoo.com [106.10.240.78]) by mails.dpdk.org (Postfix) with ESMTP id D831A40041 for ; Sat, 4 Jun 2022 15:50:26 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1654350623; bh=5OMIVxnvBZCB5JHlBRqggVaLHWjcPVlwTXV6RT8xrBg=; h=Date:From:To:Cc:In-Reply-To:References:Subject:From:Subject:Reply-To; b=KSGtL0FXLuzqP1aWXaHLms4l2j4GY0Q+72qd49ehDq92hr26O0oebGmQ9WfcLkEjIZn3sIcP7CWMr1pqULK/SQzL+8of9nezcc4NCLyEd2PbVuDWjJY2l6lozebFiwZaAnVjpv6KUdXStTwR1cSCNhMeoNPEH5HcSGOfA0i1/3OrGJ30rRP9+AVr+sEZyx1wwBGinOTX/T16whsNpl+Wq+9tvJkjEw1xregvjq8E6ACUQEGEfmAt/iRm1iZjvp3OJNFOuRD6ySCT7wOWxqNpg/liGHtLIfQ4Mu4mLftYWhu1ohyQjB44QdvBAVtLIyb0ieJeqTdNzxMGB1gu57oXFg== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1654350623; bh=KLmJIuzpq2CqbEWxKvgh6pJhMnRf1eydFgJ9zSH/H/L=; h=X-Sonic-MF:Date:From:To:Subject:From:Subject; b=bW1K4oL4HPaDgrsM0ZnVpyZgynN4rHWCT36LqAjiXSz2xDBst62r1RJZ5KCC/PQ4QKff3DWG3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xDV0Q5CsVfKgw3IL4r30wUhqSIRpTiaw vdtZo9DDlxYNPnUoUmZCCnUtcFrFqfKpq9gqLEyKBLz.W.mM5MtAnzCHGmQ59IyuhVuxObTIB.1C 6L1d.3OPq5ihsEnfdPhog0NoB9iYMKiqWwO_TYGz4WF0nhL4Cvf9NU2oiSydG9KVwZiMMI_CiTO3 R3M7EL4kfv6NtKsqkIJHXMvAg4ZPkViWkfOMyp7rW6tStwwKKI1e.d9pstKENCtmA3RY1J0qg_FC NKX250GwShz2bQxYNLct0ZEh93yran1BEV3ZswszSZCwBcFMK8bF7w.tPIjGizdVy.VHTf7UCk3f FfYUJCV3PN0JASAcCK3QG2CT47F8HPasjODoJsDaHsbpux2kH75Gjo_wHVYhd.fRTMKjdYOevZdH OAzbmtlgrCNMl_jJyWM6Gf1z70Bn.1zo2h_bhkchgf.LKtEljgwsZzYyneUeD46R4rPtTjMjizZh KJsorFzybhrbmyKcxOxohatYWSXfzf7s7sbw- X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic313.consmr.mail.sg3.yahoo.com with HTTP; Sat, 4 Jun 2022 13:50:23 +0000 Date: Sat, 4 Jun 2022 13:50:20 +0000 (UTC) From: Mohan Gyara To: Bruce Richardson Cc: "dev@dpdk.org" , "qiming.yang@intel.com" , "wenjun1.wu@intel.com" Message-ID: <667395812.5704492.1654350620662@mail.yahoo.com> In-Reply-To: References: <1455096021.5344065.1654244040257.ref@mail.yahoo.com> <1455096021.5344065.1654244040257@mail.yahoo.com> Subject: Re: ixgbevf in dpdk doesn't seems to work (dpdk-stable-19.11.5) MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_5704491_1450438990.1654350620661" X-Mailer: WebService/1.1.20225 YMailNorrin X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org ------=_Part_5704491_1450438990.1654350620661 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi, I am blocked for almost 2 weeks now, I have browsed ixgbevf driver code but= couldn't get any clue.=C2=A0kindly help me with this issue. Regards,Mohan On Friday, 3 June, 2022, 02:29:58 pm IST, Bruce Richardson wrote: =20 =20 + ixgbe maintainers on CC On Fri, Jun 03, 2022 at 08:14:00AM +0000, Mohan Gyara wrote: >=C2=A0 =C2=A0 Hi Team, >=C2=A0 =C2=A0 In our application we use 2 interfaces one to communicate to= wards gNB >=C2=A0 =C2=A0 and another to communicate with higher layers in a UE simula= tor NR >=C2=A0 =C2=A0 stack. Now we use a PCI whose driver is i40e and is bind to = dpdk >=C2=A0 =C2=A0 vfio-pci driver and this works perfectly towards higher laye= r, but the >=C2=A0 =C2=A0 other interface PCI whose is ixgbe driver is bind to vfio-pc= i dpdk >=C2=A0 =C2=A0 driver and has some issues. >=C2=A0 =C2=A0 The issues are: >=C2=A0 =C2=A0 1. Application crashes when "rte_eth_dev_mac_addr_add" funct= ion is >=C2=A0 =C2=A0 called when return with -1. >=C2=A0 =C2=A0 =C2=A0 "on a 82599 VF, adding again the same MAC addr is not= an idempotent >=C2=A0 =C2=A0 operation..." this is a comment, but the function ixgbevf_ad= d_mac_addr >=C2=A0 =C2=A0 return -1 when memcmp(hw->mac.perm_addr, mac_addr) =3D=3D 0)= is true. >=C2=A0 =C2=A0 But above I commented the "return -1" and just returned from= it, so >=C2=A0 =C2=A0 crash is not seen. >=C2=A0 =C2=A0 2. After above 1, application is started successfully but th= en I do not >=C2=A0 =C2=A0 see any messages coming on this interface. This is the probl= em? >=C2=A0 =C2=A0 Could you guide me what is the issue? I see only issue with = ixgbvf but >=C2=A0 =C2=A0 not for i40evf. >=C2=A0 =C2=A0 I am using dpdk-stable-19.11.5 version. >=C2=A0 =C2=A0 Kindly help me here. >=C2=A0 =C2=A0 Regards, >=C2=A0 =C2=A0 Mohan =20 ------=_Part_5704491_1450438990.1654350620661 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
=
Hi,

I am b= locked for almost 2 weeks now, I have browsed ixgbevf driver code but could= n't get any clue. 
kindly = help me with this issue.


Regards,
Mohan=

=20
=20
On Friday, 3 June, 2022, 02:29:58 pm IST, Bruce Richard= son <bruce.richardson@intel.com> wrote:


+ ixgbe maintainers on CC

On Fri, Jun 03, 202= 2 at 08:14:00AM +0000, Mohan Gyara wrote:
>  &nbs= p; Hi Team,
>    In our application we use 2= interfaces one to communicate towards gNB
>  &nb= sp; and another to communicate with higher layers in a UE simulator NR
>    stack. Now we use a PCI whose driver is i40= e and is bind to dpdk
>    vfio-pci driver a= nd this works perfectly towards higher layer, but the
>= ;    other interface PCI whose is ixgbe driver is bind to vfio-pc= i dpdk
>    driver and has some issues.
>    The issues are:
> = ;   1. Application crashes when "rte_eth_dev_mac_addr_add" function is=
>    called when return with -1.
>      "on a 82599 VF, adding again the same MA= C addr is not an idempotent
>    operation..= ." this is a comment, but the function ixgbevf_add_mac_addr
>    return -1 when memcmp(hw->mac.perm_addr, mac_addr) = =3D=3D 0) is true.
>    But above I commente= d the "return -1" and just returned from it, so
> = ;   crash is not seen.
>    2. After ab= ove 1, application is started successfully but then I do not
>    see any messages coming on this interface. This is th= e problem?
>    Could you guide me what is t= he issue? I see only issue with ixgbvf but
>  &nb= sp; not for i40evf.
>    I am using dpdk-sta= ble-19.11.5 version.
>    Kindly help me her= e.
>    Regards,
> = ;   Mohan
------=_Part_5704491_1450438990.1654350620661--