Re: [opencontrail-dev] vrouter dpdk support - both vhost and IVSHMEM?
After receiving packet via PMD, does dpdk-vRouter demux between overlay and non-overlay using vr_pkt_type_is_overlay()? And does demux happen before or after route lookup? -thanks- On Mon, Oct 10, 2016 at 12:13 PM, Rajagopalan Sivaramakrishnan < r...@juniper.net> wrote: > Yes. Non-overlay packets (for example, ping/ssh to the compute node) are > sent to the host network stack. > > > > Raja > > > > *From: *Joo Kim <itsolut...@gmail.com> > *Date: *Monday, October 10, 2016 at 11:52 AM > > *To: *Raja Sivaramakrishnan <r...@juniper.net> > *Cc: *"dev@lists.opencontrail.org" <dev@lists.opencontrail.org> > *Subject: *Re: [opencontrail-dev] vrouter dpdk support - both vhost and > IVSHMEM? > > > > What types of traffic is sent to host network stack? For network > applications on Host machine ? > > > > On Mon, Oct 10, 2016 at 9:29 AM, Rajagopalan Sivaramakrishnan < > r...@juniper.net> wrote: > > vrouter uses KNI to send packets to the host network stack. There is a > vhost0 interface which is created for this purpose and it uses KNI. > > > > Raja > > > > *From: *Joo Kim <itsolut...@gmail.com> > *Date: *Monday, October 10, 2016 at 1:31 AM > *To: *Raja Sivaramakrishnan <r...@juniper.net> > *Cc: *"dev@lists.opencontrail.org" <dev@lists.opencontrail.org> > *Subject: *Re: [opencontrail-dev] vrouter dpdk support - both vhost and > IVSHMEM? > > > > Raja, > > > > Thanks for the clarification. > > > > BTW, as a related query, why(for what purpose) dpdk kni is used in > userspace dpdk vrouter? Since userspace vrouter receives/transmits > packet via poll mode driver and then sends/receives to/from VM via > userspace dpdk vhost-net,I don't see why KNI is necessary in userspace > vrouter... > > As I understand, KNI is just for improving the performance of the existing > applications going through Linux kernel network stack. > > > > Thanks > > > > On Wed, Oct 5, 2016 at 2:11 PM, Rajagopalan Sivaramakrishnan < > r...@juniper.net> wrote: > > We don’t have a plan to support ivshmem at the moment. > > > > Raja > > > > *From: *Dev <dev-boun...@lists.opencontrail.org> on behalf of Joo Kim < > itsolut...@gmail.com> > *Date: *Sunday, October 2, 2016 at 2:59 AM > *To: *"dev@lists.opencontrail.org" <dev@lists.opencontrail.org> > *Subject: *[opencontrail-dev] vrouter dpdk support - both vhost and > IVSHMEM? > > > > Hello, > > > > Regarding vrouter dpdk support for host and vm (data packet)communication, > > > > looks like vrouter code uses vHost mechanism > > ( > > http://images.slideplayer.com/11/3319449/slides/slide_11.jpg > > ) > > > > Then, any plan on supporting IVSHMEM mechanism also? > > > > -Thanks- > > > > > ___ Dev mailing list Dev@lists.opencontrail.org http://lists.opencontrail.org/mailman/listinfo/dev_lists.opencontrail.org
Re: [opencontrail-dev] vrouter dpdk support - both vhost and IVSHMEM?
Yes. Non-overlay packets (for example, ping/ssh to the compute node) are sent to the host network stack. Raja From: Joo Kim <itsolut...@gmail.com> Date: Monday, October 10, 2016 at 11:52 AM To: Raja Sivaramakrishnan <r...@juniper.net> Cc: "dev@lists.opencontrail.org" <dev@lists.opencontrail.org> Subject: Re: [opencontrail-dev] vrouter dpdk support - both vhost and IVSHMEM? What types of traffic is sent to host network stack? For network applications on Host machine ? On Mon, Oct 10, 2016 at 9:29 AM, Rajagopalan Sivaramakrishnan <r...@juniper.net<mailto:r...@juniper.net>> wrote: vrouter uses KNI to send packets to the host network stack. There is a vhost0 interface which is created for this purpose and it uses KNI. Raja From: Joo Kim <itsolut...@gmail.com<mailto:itsolut...@gmail.com>> Date: Monday, October 10, 2016 at 1:31 AM To: Raja Sivaramakrishnan <r...@juniper.net<mailto:r...@juniper.net>> Cc: "dev@lists.opencontrail.org<mailto:dev@lists.opencontrail.org>" <dev@lists.opencontrail.org<mailto:dev@lists.opencontrail.org>> Subject: Re: [opencontrail-dev] vrouter dpdk support - both vhost and IVSHMEM? Raja, Thanks for the clarification. BTW, as a related query, why(for what purpose) dpdk kni is used in userspace dpdk vrouter? Since userspace vrouter receives/transmits packet via poll mode driver and then sends/receives to/from VM via userspace dpdk vhost-net, I don't see why KNI is necessary in userspace vrouter... As I understand, KNI is just for improving the performance of the existing applications going through Linux kernel network stack. Thanks On Wed, Oct 5, 2016 at 2:11 PM, Rajagopalan Sivaramakrishnan <r...@juniper.net<mailto:r...@juniper.net>> wrote: We don’t have a plan to support ivshmem at the moment. Raja From: Dev <dev-boun...@lists.opencontrail.org<mailto:dev-boun...@lists.opencontrail.org>> on behalf of Joo Kim <itsolut...@gmail.com<mailto:itsolut...@gmail.com>> Date: Sunday, October 2, 2016 at 2:59 AM To: "dev@lists.opencontrail.org<mailto:dev@lists.opencontrail.org>" <dev@lists.opencontrail.org<mailto:dev@lists.opencontrail.org>> Subject: [opencontrail-dev] vrouter dpdk support - both vhost and IVSHMEM? Hello, Regarding vrouter dpdk support for host and vm (data packet)communication, looks like vrouter code uses vHost mechanism ( http://images.slideplayer.com/11/3319449/slides/slide_11.jpg ) Then, any plan on supporting IVSHMEM mechanism also? -Thanks- ___ Dev mailing list Dev@lists.opencontrail.org http://lists.opencontrail.org/mailman/listinfo/dev_lists.opencontrail.org
Re: [opencontrail-dev] vrouter dpdk support - both vhost and IVSHMEM?
vrouter uses KNI to send packets to the host network stack. There is a vhost0 interface which is created for this purpose and it uses KNI. Raja From: Joo Kim <itsolut...@gmail.com> Date: Monday, October 10, 2016 at 1:31 AM To: Raja Sivaramakrishnan <r...@juniper.net> Cc: "dev@lists.opencontrail.org" <dev@lists.opencontrail.org> Subject: Re: [opencontrail-dev] vrouter dpdk support - both vhost and IVSHMEM? Raja, Thanks for the clarification. BTW, as a related query, why(for what purpose) dpdk kni is used in userspace dpdk vrouter? Since userspace vrouter receives/transmits packet via poll mode driver and then sends/receives to/from VM via userspace dpdk vhost-net, I don't see why KNI is necessary in userspace vrouter... As I understand, KNI is just for improving the performance of the existing applications going through Linux kernel network stack. Thanks On Wed, Oct 5, 2016 at 2:11 PM, Rajagopalan Sivaramakrishnan <r...@juniper.net<mailto:r...@juniper.net>> wrote: We don’t have a plan to support ivshmem at the moment. Raja From: Dev <dev-boun...@lists.opencontrail.org<mailto:dev-boun...@lists.opencontrail.org>> on behalf of Joo Kim <itsolut...@gmail.com<mailto:itsolut...@gmail.com>> Date: Sunday, October 2, 2016 at 2:59 AM To: "dev@lists.opencontrail.org<mailto:dev@lists.opencontrail.org>" <dev@lists.opencontrail.org<mailto:dev@lists.opencontrail.org>> Subject: [opencontrail-dev] vrouter dpdk support - both vhost and IVSHMEM? Hello, Regarding vrouter dpdk support for host and vm (data packet)communication, looks like vrouter code uses vHost mechanism ( http://images.slideplayer.com/11/3319449/slides/slide_11.jpg ) Then, any plan on supporting IVSHMEM mechanism also? -Thanks- ___ Dev mailing list Dev@lists.opencontrail.org http://lists.opencontrail.org/mailman/listinfo/dev_lists.opencontrail.org
Re: [opencontrail-dev] vrouter dpdk support - both vhost and IVSHMEM?
Raja, Thanks for the clarification. BTW, as a related query, why(for what purpose) dpdk kni is used in userspace dpdk vrouter? Since userspace vrouter receives/transmits packet via poll mode driver and then sends/receives to/from VM via userspace dpdk vhost-net,I don't see why KNI is necessary in userspace vrouter... As I understand, KNI is just for improving the performance of the existing applications going through Linux kernel network stack. Thanks On Wed, Oct 5, 2016 at 2:11 PM, Rajagopalan Sivaramakrishnan < r...@juniper.net> wrote: > We don’t have a plan to support ivshmem at the moment. > > > > Raja > > > > *From: *Devon behalf of Joo Kim < > itsolut...@gmail.com> > *Date: *Sunday, October 2, 2016 at 2:59 AM > *To: *"dev@lists.opencontrail.org" > *Subject: *[opencontrail-dev] vrouter dpdk support - both vhost and > IVSHMEM? > > > > Hello, > > > > Regarding vrouter dpdk support for host and vm (data packet)communication, > > > > looks like vrouter code uses vHost mechanism > > ( > > http://images.slideplayer.com/11/3319449/slides/slide_11.jpg > > ) > > > > Then, any plan on supporting IVSHMEM mechanism also? > > > > -Thanks- > ___ Dev mailing list Dev@lists.opencontrail.org http://lists.opencontrail.org/mailman/listinfo/dev_lists.opencontrail.org
Re: [opencontrail-dev] vrouter dpdk support - both vhost and IVSHMEM?
We don’t have a plan to support ivshmem at the moment. Raja From: Devon behalf of Joo Kim Date: Sunday, October 2, 2016 at 2:59 AM To: "dev@lists.opencontrail.org" Subject: [opencontrail-dev] vrouter dpdk support - both vhost and IVSHMEM? Hello, Regarding vrouter dpdk support for host and vm (data packet)communication, looks like vrouter code uses vHost mechanism ( http://images.slideplayer.com/11/3319449/slides/slide_11.jpg ) Then, any plan on supporting IVSHMEM mechanism also? -Thanks- ___ Dev mailing list Dev@lists.opencontrail.org http://lists.opencontrail.org/mailman/listinfo/dev_lists.opencontrail.org