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 2CFEDA00C2; Sun, 5 Jun 2022 09:52:11 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 214D74281B; Sun, 5 Jun 2022 09:51:52 +0200 (CEST) Received: from sonic303-22.consmr.mail.sg3.yahoo.com (sonic303-22.consmr.mail.sg3.yahoo.com [106.10.242.39]) by mails.dpdk.org (Postfix) with ESMTP id 218EA4021E for ; Thu, 2 Jun 2022 23:17:20 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1654204639; bh=MCrfCXBZSO7IhDmMnPR/dGCrDiPQtDM6YBtpZ8XdqtE=; h=Date:From:To:Subject:References:From:Subject:Reply-To; b=p51GPpcJBPimlzfSfDEhdIEg+Wxbq9EvuiXLF5E1B7Y79WL30eHXqYIZ3St2duW7E/cGyUHEZ9hu7jFseMdz9hVbcklEK5+ITc90jhaAwkmqPxC8i6eO3L1gBnU/NTR2hliHCqRKUxcjWD+7+yvGX5skmS4UJ0O2SV72f2POBL/rmrs4Q3estQBntgf0bpQnYGhr8T4GVZeEYgfEB3OzGswZPEgxbykJCXJKheV79EcRFeJyhH8Ca/I0g2X7d6Qygc1EvUmTXfsYJhhRxcaW9qQM5Q6/ROfThocl9ftetOEhuS16JqdWxWHIo5lX45wnT42dvApQOByiHzDH2mC4Fw== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1654204639; bh=qS9I/4kd9nlMsi7lvY8lpmCvNhzVCVmbALoPrjkLBUG=; h=X-Sonic-MF:Date:From:To:Subject:From:Subject; b=ArAsIxLufkNLEBfT8W9dkIjhCjpR/vUDWjVMVFZrxjOP7ozV0v5zW0OXTZN0KBL8/kb1R07vlCIZSXEhwNJb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WfsAJ0T_Y4DoBPCT5LilqMNS3 Wa2g2L2Dx5Urp_myBsEFgTHFkXHW2.s3vpXAjRkH8.OM4MAsgEga3TdlZOOs9434DEumPsC0VJZz w30k.9l8VtsV.UAKPGeveOP5eHQTCq6FmfgyJQu.AAbuZ7Li75I5Y6CaWyFP7VD.Hv5JBn9eYwUF Tv1PYqbVX8T8_kYWXtmrmPk_cLDD0Fo4UrR2EC8YuP58jHZjxFwemfqqWNhULk5SMpKJerhs4X77 U4QLB4gTzobhAUlMMoULFfuA6ni.ASANcXeLt1JrldmGiIvj_CtcYNYjPPWAaPpnugqxT6pcKZ.r ocHraWVthCcYnDiOgvVFoOEiBquMU6TA_maba98PnUzlw0QQNI4StN6zXpPjKnvmYBI30i41447f aGDH1_iilnjcLI_Ipg88A5Hdb6EMEjagdEGOtmD2_E8EYNTRTugJzbFtaYyt2iLf4JNkEpg-- X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic303.consmr.mail.sg3.yahoo.com with HTTP; Thu, 2 Jun 2022 21:17:19 +0000 Date: Thu, 2 Jun 2022 21:17:01 +0000 (UTC) From: Mohan Gyara To: "dev@dpdk.org" Message-ID: <543678175.5148402.1654204621609@mail.yahoo.com> Subject: ixgbevf in dpdk doesn't seems to work (dpdk-stable-19.11.5) MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_5148401_1422505972.1654204621607" References: <543678175.5148402.1654204621609.ref@mail.yahoo.com> X-Mailer: WebService/1.1.20225 YMailNorrin X-Mailman-Approved-At: Sun, 05 Jun 2022 09:51:46 +0200 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_5148401_1422505972.1654204621607 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi Team, In our application we use 2 interfaces one to communicate towards gNB and a= nother to communicate with higher layers in a UE simulator NR stack. Now we= use a PCI whose driver is i40e and is bind to dpdk vfio-pci driver and thi= s works perfectly towards higher layer, but the other interface PCI whose i= s ixgbe driver is bind to vfio-pci dpdk driver and has some issues.=C2=A0 The issues are:1. Application crashes when "rte_eth_dev_mac_addr_add" funct= ion is called when return with -1.=C2=A0 "on a 82599 VF, adding again the s= ame MAC addr is not an idempotent operation..." this is a comment, but the = function ixgbevf_add_mac_addr=C2=A0 return -1 when memcmp(hw->mac.perm_addr= , mac_addr) =3D=3D 0) is true.=C2=A0But above I commented the "return -1" a= nd just returned from it, so crash is not seen.2. After above 1, applicatio= n is started successfully but then I do not see any messages coming on this= interface. This is the problem?=C2=A0 Could you guide me what is the issue? I see only issue with ixgbvf but not = for i40evf. I am using dpdk-stable-19.11.5 version. Kindly help me here. Regards,Mohan=C2=A0 ------=_Part_5148401_1422505972.1654204621607 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi Team,

In our applicat= ion we use 2 interfaces one to communicate towards gNB and another to commu= nicate with higher layers in a UE simulator NR stack. Now we use a PCI whos= e driver is i40e and is bind to dpdk vfio-pci driver and this works perfect= ly towards higher layer, but the other interface PCI whose is ixgbe driver = is bind to vfio-pci dpdk driver and has some issues. 

The issues are:
1. Applicatio= n crashes when "rte_eth_dev_mac_addr_add" function is called when return wi= th -1.
  "on a 82599 VF, a= dding again the same MAC 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 commented the "return -= 1" and just returned from it, so crash is not seen.
2. After above 1, application is started successfully = but then I do not see any messages coming on this interface. This is the pr= oblem? 

Could you guide me what is the issue? I see = only issue with ixgbvf but not for i40evf.

I am using dpd= k-stable-19.11.5 version.

<= /div>

Kindly help me here.

Regards,
Mohan
 
------=_Part_5148401_1422505972.1654204621607--