Re: [dpdk-dev] [RFC] eal: provide option to set vhost_user socket owner/permissions

2017-02-20 Thread Yuanhan Liu
On Wed, Feb 15, 2017 at 09:32:27AM -0500, Aaron Conole wrote: > Thomas Monjalon writes: > > > Was there any progress on this topic? > > Can we close the request? > > http://dpdk.org/patch/1/ > > No update in almost a year is probably a bad sign. > > >From the OVS side, we've dropped our

Re: [dpdk-dev] [RFC] eal: provide option to set vhost_user socket owner/permissions

2017-02-15 Thread Aaron Conole
Thomas Monjalon writes: > Was there any progress on this topic? > Can we close the request? > http://dpdk.org/patch/1/ No update in almost a year is probably a bad sign. >From the OVS side, we've dropped our patches due to too many corner cases handling this - instead we're opting to

Re: [dpdk-dev] [RFC] eal: provide option to set vhost_user socket owner/permissions

2017-02-15 Thread Thomas Monjalon
Was there any progress on this topic? Can we close the request? http://dpdk.org/patch/1/ 2016-04-27 16:08, Yuanhan Liu: > On Tue, Apr 26, 2016 at 09:33:48AM -0400, Aaron Conole wrote: > > >> > b) would prefer a change of the API? > > >> > > >> Adding a new option to the current regis

[dpdk-dev] [RFC] eal: provide option to set vhost_user socket owner/permissions

2016-04-27 Thread Yuanhan Liu
On Tue, Apr 26, 2016 at 09:33:48AM -0400, Aaron Conole wrote: > >> > b) would prefer a change of the API? > >> > >> Adding a new option to the current register API might will not work well, > >> either. It gives you no ability to do a dynamic change later. I mean, > >> taking OVS as an example, OV

[dpdk-dev] [RFC] eal: provide option to set vhost_user socket owner/permissions

2016-04-26 Thread Thomas Monjalon
2016-04-25 21:16, Yuanhan Liu: > On Mon, Apr 25, 2016 at 11:18:16AM +0200, Christian Ehrhardt wrote: > > The API doesn't hold a way to specify a owner/permission set for vhost_user > > created sockets. > > Yes, it's kind of like a known issue. So, thanks for bringing it, with > a solution, for dic

[dpdk-dev] [RFC] eal: provide option to set vhost_user socket owner/permissions

2016-04-26 Thread Aaron Conole
Thomas Monjalon writes: > 2016-04-25 21:16, Yuanhan Liu: >> On Mon, Apr 25, 2016 at 11:18:16AM +0200, Christian Ehrhardt wrote: >> > The API doesn't hold a way to specify a owner/permission set for vhost_user >> > created sockets. >> >> Yes, it's kind of like a known issue. So, thanks for bringi

[dpdk-dev] [RFC] eal: provide option to set vhost_user socket owner/permissions

2016-04-26 Thread Christian Ehrhardt
Thanks, great that you added more on CC for a wider discussion - I think that is the only right way to go. Just to "defend" a bit - solution a) was created under the special circumstance that I wanted a workaround that would work today. But that is/was special to what I package with DPDK 2.2 + OVS

[dpdk-dev] [RFC] eal: provide option to set vhost_user socket owner/permissions

2016-04-25 Thread Yuanhan Liu
On Mon, Apr 25, 2016 at 11:18:16AM +0200, Christian Ehrhardt wrote: > The API doesn't hold a way to specify a owner/permission set for vhost_user > created sockets. Yes, it's kind of like a known issue. So, thanks for bringing it, with a solution, for dicussion (cc'ed more people). > I don't even

[dpdk-dev] [RFC] eal: provide option to set vhost_user socket owner/permissions

2016-04-25 Thread Christian Ehrhardt
The API doesn't hold a way to specify a owner/permission set for vhost_user created sockets. I don't even think an API change would make that much sense. Projects consuming DPDK start to do 'their own workarounds' like openvswitch https://patchwork.ozlabs.org/patch/559043/ https://patchwork.ozlabs