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 9A80FA0557; Fri, 3 Jun 2022 10:11:32 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 43D0F40694; Fri, 3 Jun 2022 10:11:32 +0200 (CEST) Received: from sonic312-19.consmr.mail.sg3.yahoo.com (sonic312-19.consmr.mail.sg3.yahoo.com [106.10.244.209]) by mails.dpdk.org (Postfix) with ESMTP id B32FE40691 for ; Fri, 3 Jun 2022 10:11:30 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1654243889; bh=2uWAmv2F+PnfLrND5Th9xROBTgjQjT8WYw/h0Vj8USQ=; h=Date:From:To:Subject:References:From:Subject:Reply-To; b=PS9GGRVhiJP0OLrjFHDB7/HVXH+5VUDZ7dJwJZEn4LOV2I6QAFZRdqaOSwaygESRP54umjJF1oFpchQxos+uKoEcq816hwMFa3MBQEgZoFasl9axOcng+h+LufEQmYSbonKqwbcITRez4x4m4TnBwACTcQhpuRITel2u950X7E9KJ3HBlEOF1Gtf2AqBHWERqcRrWqdJDt7RDZyEQIbS7uhjJZrharIK6Fr2VO0fHpWqqRcioV5xAI3dHZUxni9SvOC1gagJ2TCQj9teE8ubZqlxhi7yXT80cp1mAL6J36dC8hI4AHFMwtL2jHMFvaSkwHxVpuQMkLQndrKn5ibrRg== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1654243889; bh=APJW6ph7IV+jk92JX1h+GzKILwfe8QMm7oPk771org2=; h=X-Sonic-MF:Date:From:To:Subject:From:Subject; b=afZJCDeMJ4X4TFcv9/5a5Utq0IvY1nYJJNiEIEAkfk3peTOSsxYbq9aQGU4OP0z4cvAzfx2dhP3fS4fwP0Iyb03Zq78IyAkk/t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9BRb2fZya.W._fpe.cqNTB0MbIMSnCHsbJpR.93z2Rua.IUtIJAsKP6c..hEF9V6Vbftq2nM7P0 1INfJvL2AhmrqSNKepBuxrmueg3_M9Yr8j1BjwrS1RVpR_94c_h9CAGe_.DTIX3JvZ3ljsK6JxA1 dOrrDUz85z3DACtmRgLTSKbr9Ydu1HCW.u2ZaM7.hdLq0G5wDD3lbUsMXr_ugZ6Z0WF3M272abIA bYiuvLI0TyI2pHZ8_Dl3jHiRUMj3S2C7oOz4EyV_4QezBOYDnRyeGmuH3r_VrCA.PpgJ1v5T_8h0 UAiSHiJ8fTXc5gmpWTZAFM0X6gatntNUHOSk1CsegH6V8YKd3E8TP2GTZbgdeJHS3cCK9bS.BU7B tlYKfJ6lL6QF9SU3JApQr1rKbycCe4CCryUdkmEkg306xuI9xpzSR2bWnx1wtJlTQICrbZg-- X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic312.consmr.mail.sg3.yahoo.com with HTTP; Fri, 3 Jun 2022 08:11:29 +0000 Date: Fri, 3 Jun 2022 08:14:00 +0000 (UTC) From: Mohan Gyara To: "dev@dpdk.org" Message-ID: <1455096021.5344065.1654244040257@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_5344064_1386721521.1654244040255" References: <1455096021.5344065.1654244040257.ref@mail.yahoo.com> 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_5344064_1386721521.1654244040255 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=C2=A0ixgbevf_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" and just returned from it, so crash is not seen.2. After above 1, appli= cation 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 ------=_Part_5344064_1386721521.1654244040255 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi Team,

In our application we use 2 interfaces one = to communicate towards gNB and another 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 this works perfectly towards higher layer, but= the other interface PCI whose is ixgbe driver is bind to vfio-pci dpdk dri= ver and has some issues. 

The issues are:
1. Application crashes when "rte_eth_d= ev_mac_addr_add" function is called when return with -1.
  "on a 82599 VF, adding again the same MAC= addr is not an idempotent operation..." this is a comment, but the functio= n ixgbevf_add_mac_addr  return -1 when memcmp(hw-&g= t;mac.perm_addr, mac_addr) =3D=3D 0) is true. 
But above I commented the "return -1" and just return= ed 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 problem? 

Could you guide me what is the issue? I see only issue wi= th ixgbvf but not for i40evf.
=
I am using dpdk-stable-19= .11.5 version.


Kindly help me here.

Regards,
Mohan

------=_Part_5344064_1386721521.1654244040255--