All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: DPDK 1.6 and Cisco VIC-NIC pmd fails to initialize with VMWare ESX 5.5
@ 2015-11-19  5:46 Karmarkar Suyash
  0 siblings, 0 replies; 4+ messages in thread
From: Karmarkar Suyash @ 2015-11-19  5:46 UTC (permalink / raw)
  To: dev; +Cc: Garrepally, Anil

I was looking at older thread here it mentions the kernel vmxnet3 pmd dependency with Vmware tsc map, Is this the reason why the CISCO NIC is coming up fine on ESX 6.0 which will have higher version/updated driver and ESX 5.5 has older version of the driver and because of incompatability the NIC is not coming up and initialization fails? Thanks.
http://dpdk.org/ml/archives/dev/2013-July/000302.html


From: Karmarkar Suyash
Sent: Thursday, November 19, 2015 9:03 AM
To: 'dev@dpdk.org' <dev@dpdk.org>
Subject: DPDK 1.6 and Cisco VIC-NIC pmd fails to initialize with VMWare ESX 5.5

Hello All,

I am trying some experiments with DPDK 1.6 and Cisco NIC - (0000:06:00.0 Network controller: Cisco Systems Inc. Cisco VIC Ethernet NIC [vmnic0]), on the guest I am using VMXNET3 as interface/pmd and one weird behavior that is see is with VMWare ESX 5.5 DPDK is not able to initialize the NIC and I get the error rte_eth_dev_start failed with error code as, but same NIC and with DPDK 1.6 version works fine with VMWare ESX 6.0 and with VMXNET3 PMD.

Two questions:

1.     Is there any dependency with VMWare version ESX (5.0/5.1/6.0) with DPDK Release version (1.6/1.7/2.x)? If yes can you please let me know?

2.     If we are not using the NIC in pass-through mode and we are using it via Hypervisor - vmxnet3 or virtio pmd is there still a dependency for the list of NIC's supported by DPDK?

Regards
Suyash

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: DPDK 1.6 and Cisco VIC-NIC pmd fails to initialize with VMWare ESX 5.5
  2015-11-19 18:19 ` Patel, Rashmin N
@ 2015-11-19 18:36   ` Karmarkar Suyash
  0 siblings, 0 replies; 4+ messages in thread
From: Karmarkar Suyash @ 2015-11-19 18:36 UTC (permalink / raw)
  To: Patel, Rashmin N, dev

Thanks Rashmin for the response. The error code is -1 and the box I am doing my experiments is Cisco B200-M3 which would support CISCO VNIC 1240 or 1340 NIC.  The NIC is in hypervisor but what puzzles me is if there is no dependency with ESX the NIC initialization should have passed in both ESX versions 5.5 and 6.0. 

Error is rte_eth_dev_start error = -1 

Regards
Suyash

-----Original Message-----
From: Patel, Rashmin N [mailto:rashmin.n.patel@intel.com] 
Sent: Thursday, November 19, 2015 11:50 PM
To: Karmarkar Suyash <skarmarkar@sonusnet.com>; dev@dpdk.org
Subject: RE: DPDK 1.6 and Cisco VIC-NIC pmd fails to initialize with VMWare ESX 5.5

What is the error code it failed with?

There is no dependency between ESXi and DPDK versions as such. But depending your VM settings, it may pop up some issues related to memory assigned to VM.

When you use NIC in Hypervisor and feed packets to VM via Vmxnet3, the guest OS can use Vmxnet3-pmd and that's the sole requirement. Guest OS or DPDK API in VM are unaware and independent of the physical NIC beneath.
When you use NIC in VM via Passthrough (or device direct assignment,) the guest OS can use ixgbe-pmd/igb-pmd/xyz-pmd to control them for Rx/Tx operations. ESXi can't look into such device operations like it can't see packets coming in or going out.
When you enable SRIOV on a NIC, you get a PF and multiple VFs and if you use a NIC-Virtual Function via passthrough, the guest OS can use respective pmd (ixgbevf/igbvf/xyzvf) in DPDK API to control it for Rx/Tx ops. ESXi control the Physical Function through a respective driver (ixgbe/igb/xyz provided with ESXi) DPDK API doesn't have support to run in ESXi to control that PF.

Thanks,
Rashmin

-----Original Message-----
From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Karmarkar Suyash
Sent: Wednesday, November 18, 2015 8:34 PM
To: dev@dpdk.org
Subject: [dpdk-dev] DPDK 1.6 and Cisco VIC-NIC pmd fails to initialize with VMWare ESX 5.5

Hello All,

I am trying some experiments with DPDK 1.6 and Cisco NIC - (0000:06:00.0 Network controller: Cisco Systems Inc. Cisco VIC Ethernet NIC [vmnic0]), on the guest I am using VMXNET3 as interface/pmd and one weird behavior that is see is with VMWare ESX 5.5 DPDK is not able to initialize the NIC and I get the error rte_eth_dev_start failed with error code as, but same NIC and with DPDK 1.6 version works fine with VMWare ESX 6.0 and with VMXNET3 PMD.

Two questions:

1.     Is there any dependency with VMWare version ESX (5.0/5.1/6.0) with DPDK Release version (1.6/1.7/2.x)? If yes can you please let me know?

2.     If we are not using the NIC in pass-through mode and we are using it via Hypervisor - vmxnet3 or virtio pmd is there still a dependency for the list of NIC's supported by DPDK?

Regards
Suyash

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: DPDK 1.6 and Cisco VIC-NIC pmd fails to initialize with VMWare ESX 5.5
  2015-11-19  3:33 Karmarkar Suyash
@ 2015-11-19 18:19 ` Patel, Rashmin N
  2015-11-19 18:36   ` Karmarkar Suyash
  0 siblings, 1 reply; 4+ messages in thread
From: Patel, Rashmin N @ 2015-11-19 18:19 UTC (permalink / raw)
  To: Karmarkar Suyash, dev

What is the error code it failed with?

There is no dependency between ESXi and DPDK versions as such. But depending your VM settings, it may pop up some issues related to memory assigned to VM.

When you use NIC in Hypervisor and feed packets to VM via Vmxnet3, the guest OS can use Vmxnet3-pmd and that's the sole requirement. Guest OS or DPDK API in VM are unaware and independent of the physical NIC beneath.
When you use NIC in VM via Passthrough (or device direct assignment,) the guest OS can use ixgbe-pmd/igb-pmd/xyz-pmd to control them for Rx/Tx operations. ESXi can't look into such device operations like it can't see packets coming in or going out.
When you enable SRIOV on a NIC, you get a PF and multiple VFs and if you use a NIC-Virtual Function via passthrough, the guest OS can use respective pmd (ixgbevf/igbvf/xyzvf) in DPDK API to control it for Rx/Tx ops. ESXi control the Physical Function through a respective driver (ixgbe/igb/xyz provided with ESXi) DPDK API doesn't have support to run in ESXi to control that PF.

Thanks,
Rashmin

-----Original Message-----
From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Karmarkar Suyash
Sent: Wednesday, November 18, 2015 8:34 PM
To: dev@dpdk.org
Subject: [dpdk-dev] DPDK 1.6 and Cisco VIC-NIC pmd fails to initialize with VMWare ESX 5.5

Hello All,

I am trying some experiments with DPDK 1.6 and Cisco NIC - (0000:06:00.0 Network controller: Cisco Systems Inc. Cisco VIC Ethernet NIC [vmnic0]), on the guest I am using VMXNET3 as interface/pmd and one weird behavior that is see is with VMWare ESX 5.5 DPDK is not able to initialize the NIC and I get the error rte_eth_dev_start failed with error code as, but same NIC and with DPDK 1.6 version works fine with VMWare ESX 6.0 and with VMXNET3 PMD.

Two questions:

1.     Is there any dependency with VMWare version ESX (5.0/5.1/6.0) with DPDK Release version (1.6/1.7/2.x)? If yes can you please let me know?

2.     If we are not using the NIC in pass-through mode and we are using it via Hypervisor - vmxnet3 or virtio pmd is there still a dependency for the list of NIC's supported by DPDK?

Regards
Suyash

^ permalink raw reply	[flat|nested] 4+ messages in thread

* DPDK 1.6 and Cisco VIC-NIC pmd fails to initialize with VMWare ESX 5.5
@ 2015-11-19  3:33 Karmarkar Suyash
  2015-11-19 18:19 ` Patel, Rashmin N
  0 siblings, 1 reply; 4+ messages in thread
From: Karmarkar Suyash @ 2015-11-19  3:33 UTC (permalink / raw)
  To: dev

Hello All,

I am trying some experiments with DPDK 1.6 and Cisco NIC - (0000:06:00.0 Network controller: Cisco Systems Inc. Cisco VIC Ethernet NIC [vmnic0]), on the guest I am using VMXNET3 as interface/pmd and one weird behavior that is see is with VMWare ESX 5.5 DPDK is not able to initialize the NIC and I get the error rte_eth_dev_start failed with error code as, but same NIC and with DPDK 1.6 version works fine with VMWare ESX 6.0 and with VMXNET3 PMD.

Two questions:

1.     Is there any dependency with VMWare version ESX (5.0/5.1/6.0) with DPDK Release version (1.6/1.7/2.x)? If yes can you please let me know?

2.     If we are not using the NIC in pass-through mode and we are using it via Hypervisor - vmxnet3 or virtio pmd is there still a dependency for the list of NIC's supported by DPDK?

Regards
Suyash

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-11-19 18:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-11-19  5:46 DPDK 1.6 and Cisco VIC-NIC pmd fails to initialize with VMWare ESX 5.5 Karmarkar Suyash
  -- strict thread matches above, loose matches on Subject: below --
2015-11-19  3:33 Karmarkar Suyash
2015-11-19 18:19 ` Patel, Rashmin N
2015-11-19 18:36   ` Karmarkar Suyash

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.