Re: [dpdk-dev] [RFC PATCH 0/3] introduce IF proxy library

2020-01-16 Thread Andrzej Ostruszka
Morten First of all thank you for your feedback. If anything else pops into your mind please do not hesitate to share it. We just had a quick internal discussion and we decided that we'll try to come up with both options (callback and message queue). On 1/16/20 11:58 AM, Morten Brørup wrote: >>

Re: [dpdk-dev] [RFC PATCH 0/3] introduce IF proxy library

2020-01-16 Thread Morten Brørup
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Andrzej Ostruszka > Sent: Thursday, January 16, 2020 11:43 AM > > On 1/16/20 10:30 AM, Morten Brørup wrote: > [...] > >> You are thinking already about modification of the application data. > >> That is actually be

Re: [dpdk-dev] [RFC PATCH 0/3] introduce IF proxy library

2020-01-16 Thread Andrzej Ostruszka
On 1/16/20 10:30 AM, Morten Brørup wrote: [...] >> You are thinking already about modification of the application data. >> That is actually beyond the scope of the library. > > Yes, it is beyond the scope of the library; but I prefer the library to > be designed for how typical applications are go

Re: [dpdk-dev] [RFC PATCH 0/3] introduce IF proxy library

2020-01-16 Thread Morten Brørup
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Andrzej Ostruszka > Sent: Thursday, January 16, 2020 10:10 AM > > On 1/15/20 7:15 PM, Morten Brørup wrote: > [...] > > OK, you convinced me that a general API for interfacing to the O/S > > control plane might be u

Re: [dpdk-dev] [RFC PATCH 0/3] introduce IF proxy library

2020-01-16 Thread Morten Brørup
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Jerin Jacob > Sent: Thursday, January 16, 2020 8:15 AM > > On Wed, Jan 15, 2020 at 11:45 PM Morten Brørup > wrote: > > > > > > IMO, in order to have effective use of data plane, the control > > > > > plane has to

Re: [dpdk-dev] [RFC PATCH 0/3] introduce IF proxy library

2020-01-16 Thread Andrzej Ostruszka
On 1/15/20 7:15 PM, Morten Brørup wrote: [...] > OK, you convinced me that a general API for interfacing to the O/S > control plane might be useful. Glad to hear that. [...] > You should consider that most DPDK APIs are not thread safe, > meaning that their internal structures cannot be manipulat

Re: [dpdk-dev] [RFC PATCH 0/3] introduce IF proxy library

2020-01-15 Thread Jerin Jacob
On Wed, Jan 15, 2020 at 11:45 PM Morten Brørup wrote: > > > > IMO, in order to have effective use of data plane, the control > > > > plane has to be integrated together in an OS-independent way. > > > > > > > > > > Also remember that not all DPDK applications need an IP stack resembling > > what

Re: [dpdk-dev] [RFC PATCH 0/3] introduce IF proxy library

2020-01-15 Thread Morten Brørup
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Jerin Jacob > Sent: Wednesday, January 15, 2020 5:04 PM > > On Wed, Jan 15, 2020 at 9:00 PM Morten Brørup > wrote: > > > > > -Original Message- > > > From: Jerin Jacob [mailto:jerinjac...@gmail.com] > > >

Re: [dpdk-dev] [RFC PATCH 0/3] introduce IF proxy library

2020-01-15 Thread Jerin Jacob
On Wed, Jan 15, 2020 at 9:00 PM Morten Brørup wrote: > > > -Original Message- > > From: Jerin Jacob [mailto:jerinjac...@gmail.com] > > Sent: Wednesday, January 15, 2020 1:57 PM > > > > On Wed, Jan 15, 2020 at 5:58 PM Morten Brørup > > wrote: > > > > > > > -Original Message- > > >

Re: [dpdk-dev] [RFC PATCH 0/3] introduce IF proxy library

2020-01-15 Thread Morten Brørup
> -Original Message- > From: Jerin Jacob [mailto:jerinjac...@gmail.com] > Sent: Wednesday, January 15, 2020 1:57 PM > > On Wed, Jan 15, 2020 at 5:58 PM Morten Brørup > wrote: > > > > > -Original Message- > > > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Bruce > Richardson

Re: [dpdk-dev] [RFC PATCH 0/3] introduce IF proxy library

2020-01-15 Thread Bruce Richardson
On Wed, Jan 15, 2020 at 01:28:46PM +0100, Morten Brørup wrote: > > -Original Message- From: dev [mailto:dev-boun...@dpdk.org] On > > Behalf Of Bruce Richardson Sent: Wednesday, January 15, 2020 11:16 AM > > > > On Tue, Jan 14, 2020 at 06:38:37PM +0100, Andrzej Ostruszka wrote: > > > On 1/1

Re: [dpdk-dev] [RFC PATCH 0/3] introduce IF proxy library

2020-01-15 Thread Jerin Jacob
On Wed, Jan 15, 2020 at 5:58 PM Morten Brørup wrote: > > > -Original Message- > > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Bruce Richardson > > Sent: Wednesday, January 15, 2020 11:16 AM > > > > On Tue, Jan 14, 2020 at 06:38:37PM +0100, Andrzej Ostruszka wrote: > > > On 1/14/2

Re: [dpdk-dev] [RFC PATCH 0/3] introduce IF proxy library

2020-01-15 Thread Morten Brørup
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Bruce Richardson > Sent: Wednesday, January 15, 2020 11:16 AM > > On Tue, Jan 14, 2020 at 06:38:37PM +0100, Andrzej Ostruszka wrote: > > On 1/14/20 4:16 PM, Morten Brørup wrote: > > > Andrzej, > > > > Hello Morten

Re: [dpdk-dev] [RFC PATCH 0/3] introduce IF proxy library

2020-01-15 Thread Jerin Jacob
On Wed, Jan 15, 2020 at 3:45 PM Bruce Richardson wrote: > > On Tue, Jan 14, 2020 at 06:38:37PM +0100, Andrzej Ostruszka wrote: > > On 1/14/20 4:16 PM, Morten Brřrup wrote: > > > Andrzej, > > > > Hello Morten > > > > > Basically you are adding a very small subset of the Linux IP stack> to > > > in

Re: [dpdk-dev] [RFC PATCH 0/3] introduce IF proxy library

2020-01-15 Thread Bruce Richardson
On Tue, Jan 14, 2020 at 06:38:37PM +0100, Andrzej Ostruszka wrote: > On 1/14/20 4:16 PM, Morten Brørup wrote: > > Andrzej, > > Hello Morten > > > Basically you are adding a very small subset of the Linux IP stack> to > > interface with DPDK applications via callbacks. > > Yes, at the moment thi

Re: [dpdk-dev] [RFC PATCH 0/3] introduce IF proxy library

2020-01-14 Thread Andrzej Ostruszka
On 1/14/20 4:16 PM, Morten Brørup wrote: > Andrzej, Hello Morten > Basically you are adding a very small subset of the Linux IP stack> to > interface with DPDK applications via callbacks. Yes, at the moment this is limited - we'd prefer first to solicit some input from community. > The library

Re: [dpdk-dev] [RFC PATCH 0/3] introduce IF proxy library

2020-01-14 Thread Morten Brørup
Andrzej, Basically you are adding a very small subset of the Linux IP stack to interface with DPDK applications via callbacks. The library also seems to support interfacing to the route table, so it is not "interface proxy", but "IP stack proxy". You already mention ARP table as future work. H