Hi, I'm trying to deploy DPDK and ovs on an AWS EC2 instance which is running CentOS 7. Has anybody had tried to do this? How to bind a NIC to dpdk while it shows no NICs when I do lspci? Thanks!
Be sure to get an instance with SR-IOV, which is "enhanced networking" in Amazon speak. http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/enhanced-networking.html Cheers Andre Jeff Wang <fatjeffw@gmail.com> schrieb am Mo., 16. März 2015 um 21:08: > Hi, > > I'm trying to deploy DPDK and ovs on an AWS EC2 instance which is running > CentOS 7. > > Has anybody had tried to do this? How to bind a NIC to dpdk while it shows > no NICs when I do lspci? > > Thanks! >
Just curious - I didn't understand the usage model here. In the Amazon EC2 instance (a VM,) do you want to run a DPDK application? Where do you intend to run OVS? As far I remember, OVS has a datapath in Host kernel and you won't be given Host access by AWS. And I'm not sure if Amazon provides an OVS instance, but in case if they don't have an offering, you have to put your OVS installation in another VM (virtualizing network function) and bounce the traffic back to your VM(s.) As far as Amazon Advanced Networking is concerned, you get a dedicated slice (an SRIOV Virtual Function) of a NIC in your VM, where a Physical Function Driver running in the Host (Amazon VMM-Xen I think) controls all the filtering configuration privileges. Thanks, Rashmin -----Original Message----- From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Andre Richter Sent: Monday, March 16, 2015 2:27 PM To: Jeff Wang; dev@dpdk.org Subject: Re: [dpdk-dev] DPDK on EC2? Be sure to get an instance with SR-IOV, which is "enhanced networking" in Amazon speak. http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/enhanced-networking.html Cheers Andre Jeff Wang <fatjeffw@gmail.com> schrieb am Mo., 16. März 2015 um 21:08: > Hi, > > I'm trying to deploy DPDK and ovs on an AWS EC2 instance which is > running CentOS 7. > > Has anybody had tried to do this? How to bind a NIC to dpdk while it > shows no NICs when I do lspci? > > Thanks! >
Thanks Andre and Rashmin! I'm trying to deploy this dpdk-ovs on EC2. https://github.com/01org/dpdk-ovs But the way it works on my own machine seems quite different with it does on the cloud. I'm still confused about the hardware virtualization on EC2. On Mon, Mar 16, 2015 at 5:03 PM, Patel, Rashmin N <rashmin.n.patel@intel.com > wrote: > Just curious - I didn't understand the usage model here. In the Amazon EC2 > instance (a VM,) do you want to run a DPDK application? Where do you intend > to run OVS? > > As far I remember, OVS has a datapath in Host kernel and you won't be > given Host access by AWS. And I'm not sure if Amazon provides an OVS > instance, but in case if they don't have an offering, you have to put your > OVS installation in another VM (virtualizing network function) and bounce > the traffic back to your VM(s.) > > As far as Amazon Advanced Networking is concerned, you get a dedicated > slice (an SRIOV Virtual Function) of a NIC in your VM, where a Physical > Function Driver running in the Host (Amazon VMM-Xen I think) controls all > the filtering configuration privileges. > > Thanks, > Rashmin > > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Andre Richter > Sent: Monday, March 16, 2015 2:27 PM > To: Jeff Wang; dev@dpdk.org > Subject: Re: [dpdk-dev] DPDK on EC2? > > Be sure to get an instance with SR-IOV, which is "enhanced networking" in > Amazon speak. > > http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/enhanced-networking.html > > Cheers Andre > Jeff Wang <fatjeffw@gmail.com> schrieb am Mo., 16. März 2015 um 21:08: > > > Hi, > > > > I'm trying to deploy DPDK and ovs on an AWS EC2 instance which is > > running CentOS 7. > > > > Has anybody had tried to do this? How to bind a NIC to dpdk while it > > shows no NICs when I do lspci? > > > > Thanks! > > >