Re: [vpp-dev] VPP on ESXI with i40evf (SR-IOV Passthrough) Driver

2020-09-29 Thread Damjan Marion via lists.fd.io
t;dmar...@me.com <mailto:dmar...@me.com>" > <mailto:dmar...@me.com>> >> Date: Tuesday, September 29, 2020 at 7:48 AM >> To: Joshua Moore mailto:j...@jcm.me>> >> Cc: "Benoit Ganne (bganne)" mailto:bga...@cisco.com>>, >> "vpp-dev@

Re: [vpp-dev] VPP on ESXI with i40evf (SR-IOV Passthrough) Driver

2020-09-29 Thread Joshua Moore
rds, > Yichen > > From: on behalf of "Damjan Marion via lists.fd.io" > > Reply-To: "dmar...@me.com" > Date: Tuesday, September 29, 2020 at 7:48 AM > To: Joshua Moore > Cc: "Benoit Ganne (bganne)" , "vpp-dev@lists.fd.io" > > Subje

Re: [vpp-dev] VPP on ESXI with i40evf (SR-IOV Passthrough) Driver

2020-09-29 Thread Damjan Marion via lists.fd.io
s if you run stress-test the CPU eg. > ~# stress-ng --matrix 0 -t 1m > > Best > ben > > > -Original Message- > > From: Joshua Moore mailto:j...@jcm.me>> > > Sent: mardi 29 septembre 2020 12:07 > > To: Benoit Ganne (bganne) mailto:bga...@cisco.com&g

Re: [vpp-dev] VPP on ESXI with i40evf (SR-IOV Passthrough) Driver

2020-09-29 Thread Benoit Ganne (bganne) via lists.fd.io
> Of course there's a PCI switch. My main purpose of leveraging SR-IOV with > VF allocation is to allow the internal eswitch on the Intel NIC to handle > switching in hardware A PCIe switch is a different beast than the internal "Ethernet switch" you are mentioning. The PCIe topology in your

Re: [vpp-dev] VPP on ESXI with i40evf (SR-IOV Passthrough) Driver

2020-09-29 Thread Joshua Moore
:07 > > To: Benoit Ganne (bganne) > > Cc: Damjan Marion ; vpp-dev@lists.fd.io > > Subject: Re: [vpp-dev] VPP on ESXI with i40evf (SR-IOV Passthrough) > Driver > > > > Hello Ben, > > > > echo 1 | sudo tee /sys/module/vfio/parameters/enable_unsafe_noiommu_

Re: [vpp-dev] VPP on ESXI with i40evf (SR-IOV Passthrough) Driver

2020-09-29 Thread Benoit Ganne (bganne) via lists.fd.io
Re: [vpp-dev] VPP on ESXI with i40evf (SR-IOV Passthrough) Driver > > Hello Ben, > > echo 1 | sudo tee /sys/module/vfio/parameters/enable_unsafe_noiommu_mode > sudo dpdk-devbind --bind=vfio-pci :13:00.0 > > > The above commands successfully resulted in vfio-pci driver b

Re: [vpp-dev] VPP on ESXI with i40evf (SR-IOV Passthrough) Driver

2020-09-29 Thread Joshua Moore
septembre 2020 00:26 > > To: Joshua Moore > > Cc: Damjan Marion ; Benoit Ganne (bganne) > > ; vpp-dev@lists.fd.io > > Subject: Re: [vpp-dev] VPP on ESXI with i40evf (SR-IOV Passthrough) > Driver > > > > Sorry, previous dmesg was greped on my VMXNET3 adapter,

Re: [vpp-dev] VPP on ESXI with i40evf (SR-IOV Passthrough) Driver

2020-09-29 Thread Benoit Ganne (bganne) via lists.fd.io
ts.fd.io > Subject: Re: [vpp-dev] VPP on ESXI with i40evf (SR-IOV Passthrough) Driver > > Sorry, previous dmesg was greped on my VMXNET3 adapter, not the i40evf. > Correct dmesg: > > jmoore@test:~$ dmesg | grep :13:00.0 > [0.259249] pci :13:00.0: [8086:154c] type

Re: [vpp-dev] VPP on ESXI with i40evf (SR-IOV Passthrough) Driver

2020-09-28 Thread Joshua Moore
gt;>> > assigned to the VM and not try to setup a new VF? >>> > >>> > >>> > Thanks! >>> > >>> > -Josh >>> > >>> > On Mon, Sep 28, 2020 at 2:40 AM Benoit Ganne (bganne) < >>> bga...@cisco.com >>&g

Re: [vpp-dev] VPP on ESXI with i40evf (SR-IOV Passthrough) Driver

2020-09-28 Thread Joshua Moore
t need to setup the VFs >> if it is already correctly setup by ESXI. >> Just create the AVF interface directly by specifying the VF PCI address. >> >> ben >> >> > -----Original Message- >> > From: Joshua Moore >> > Sent: lundi 28 septembre 2020

Re: [vpp-dev] VPP on ESXI with i40evf (SR-IOV Passthrough) Driver

2020-09-28 Thread Damjan Marion via lists.fd.io
ystem. > > > > Best > > ben > > > > > -Original Message- > > > From: vpp-dev@lists.fd.io <mailto:vpp-dev@lists.fd.io> > > <mailto:vpp-dev@lists.fd.io <mailto:vpp-dev@lists.fd.io>> > d...@lists.fd.io

Re: [vpp-dev] VPP on ESXI with i40evf (SR-IOV Passthrough) Driver

2020-09-28 Thread Joshua Moore
bganne) > > Cc: vpp-dev@lists.fd.io > > Subject: Re: [vpp-dev] VPP on ESXI with i40evf (SR-IOV Passthrough) > Driver > > > > Hello Benoit, > > > > Looking at the script for AVF, it states: > > > > # Setup one VF on PF :3b:00.0 and assign MAC ad

Re: [vpp-dev] VPP on ESXI with i40evf (SR-IOV Passthrough) Driver

2020-09-28 Thread Benoit Ganne (bganne) via lists.fd.io
020 17:48 > To: Benoit Ganne (bganne) > Cc: vpp-dev@lists.fd.io > Subject: Re: [vpp-dev] VPP on ESXI with i40evf (SR-IOV Passthrough) Driver > > Hello Benoit, > > Looking at the script for AVF, it states: > > # Setup one VF on PF :3b:00.0 and assign MAC address &g

Re: [vpp-dev] VPP on ESXI with i40evf (SR-IOV Passthrough) Driver

2020-09-28 Thread Joshua Moore
; > To: vpp-dev@lists.fd.io > > Subject: [vpp-dev] VPP on ESXI with i40evf (SR-IOV Passthrough) Driver > > > > Hello, > > > > Is there any support for VPP to talk directly to ESXI-assigned VFs via > SR- > > IOV? I saw the AVF plugin but I don't want VPP t

Re: [vpp-dev] VPP on ESXI with i40evf (SR-IOV Passthrough) Driver

2020-09-28 Thread Benoit Ganne (bganne) via lists.fd.io
system. Best ben > -Original Message- > From: vpp-dev@lists.fd.io On Behalf Of j...@jcm.me > Sent: lundi 28 septembre 2020 01:29 > To: vpp-dev@lists.fd.io > Subject: [vpp-dev] VPP on ESXI with i40evf (SR-IOV Passthrough) Driver > > Hello, > > Is there any suppo

[vpp-dev] VPP on ESXI with i40evf (SR-IOV Passthrough) Driver

2020-09-27 Thread j
Hello, Is there any support for VPP to talk directly to ESXI-assigned VFs via SR-IOV? I saw the AVF plugin but I don't want VPP to control the whole PF (physical NIC) but rather would like to have ESXI control the mapping of VFs (SR-IOV) and VPP (or DPDK) consume the VF natively in the VM so