RE: [RFC net-next 0/8] Introducing subdev bus and devlink extension

2019-03-08 Thread Parav Pandit
undation.org; Jiri Pirko ; Alex > Williamson > Subject: Re: [RFC net-next 0/8] Introducing subdev bus and devlink extension > > > > >>>>>> > >>>>>> > >>>>>>>>> > >>>>>>>>> Yes. I got

Re: [RFC net-next 0/8] Introducing subdev bus and devlink extension

2019-03-08 Thread Kirti Wankhede
...@vger.kernel.org; michal.l...@markovi.net; da...@davemloft.net; >> gre...@linuxfoundation.org; Jiri Pirko ; Alex >> Williamson >> Subject: Re: [RFC net-next 0/8] Introducing subdev bus and devlink extension >> >> >> >> On 3/8/2019 2:51 AM, Parav Pandit wro

RE: [RFC net-next 0/8] Introducing subdev bus and devlink extension

2019-03-07 Thread Parav Pandit
undation.org; Jiri Pirko ; Alex > Williamson > Subject: Re: [RFC net-next 0/8] Introducing subdev bus and devlink extension > > > > On 3/8/2019 2:51 AM, Parav Pandit wrote: > > > > > >> -Original Message- > >> From: Kirti Wankhede > >

Re: [RFC net-next 0/8] Introducing subdev bus and devlink extension

2019-03-07 Thread Kirti Wankhede
...@vger.kernel.org; michal.l...@markovi.net; da...@davemloft.net; >> gre...@linuxfoundation.org; Jiri Pirko ; Alex >> Williamson >> Subject: Re: [RFC net-next 0/8] Introducing subdev bus and devlink extension >> >> >> >> On 3/8/2019 2:32 AM, Parav Pandit wro

RE: [RFC net-next 0/8] Introducing subdev bus and devlink extension

2019-03-07 Thread Parav Pandit
undation.org; Jiri Pirko ; Alex > Williamson > Subject: Re: [RFC net-next 0/8] Introducing subdev bus and devlink extension > > > > On 3/8/2019 2:32 AM, Parav Pandit wrote: > > > > > >> -Original Message- > >> From: Kirti Wankhede > >

Re: [RFC net-next 0/8] Introducing subdev bus and devlink extension

2019-03-07 Thread Kirti Wankhede
...@vger.kernel.org; michal.l...@markovi.net; da...@davemloft.net; >> gre...@linuxfoundation.org; Jiri Pirko ; Alex >> Williamson >> Subject: Re: [RFC net-next 0/8] Introducing subdev bus and devlink extension >> >> >> >> >> >>>>> >>&

RE: [RFC net-next 0/8] Introducing subdev bus and devlink extension

2019-03-07 Thread Parav Pandit
undation.org; Jiri Pirko ; Alex > Williamson > Subject: Re: [RFC net-next 0/8] Introducing subdev bus and devlink extension > > > > > > >>> > >>> Yes. I got my patches to adapt to mdev way. Will be posting RFC v2 soon. > >>> Will wait

Re: [RFC net-next 0/8] Introducing subdev bus and devlink extension

2019-03-07 Thread Kirti Wankhede
>>> >>> Yes. I got my patches to adapt to mdev way. Will be posting RFC v2 soon. >>> Will wait for a day to receive more comments/views from Greg and others. >>> >>> As I explained in this cover-letter and discussion, First use case is >>> to create and use mdevs in the host (and not in VM). >

RE: [RFC net-next 0/8] Introducing subdev bus and devlink extension

2019-03-07 Thread Parav Pandit
undation.org; Jiri Pirko ; Alex > Williamson > Subject: Re: [RFC net-next 0/8] Introducing subdev bus and devlink extension > > CC += Alex > > On 3/6/2019 11:12 AM, Parav Pandit wrote: > > Hi Kirti, > > > >> -Original Message- > >> From:

Re: [RFC net-next 0/8] Introducing subdev bus and devlink extension

2019-03-07 Thread Kirti Wankhede
linux- >> ker...@vger.kernel.org; michal.l...@markovi.net; da...@davemloft.net; >> gre...@linuxfoundation.org; Jiri Pirko >> Subject: Re: [RFC net-next 0/8] Introducing subdev bus and devlink extension >> >> >> >> On 3/6/2019 6:14 AM, Parav Pandit wrote: >&

RE: [RFC net-next 0/8] Introducing subdev bus and devlink extension

2019-03-05 Thread Parav Pandit
inuxfoundation.org; Jiri Pirko > Subject: Re: [RFC net-next 0/8] Introducing subdev bus and devlink extension > > > > On 3/6/2019 6:14 AM, Parav Pandit wrote: > > Hi Greg, Kirti, > > > >> -Original Message- > >> From: Parav Pandit > >&g

Re: [RFC net-next 0/8] Introducing subdev bus and devlink extension

2019-03-05 Thread Kirti Wankhede
rnel.org; linux- >> ker...@vger.kernel.org; michal.l...@markovi.net; da...@davemloft.net; >> gre...@linuxfoundation.org; Jiri Pirko >> Subject: RE: [RFC net-next 0/8] Introducing subdev bus and devlink extension >> >> >> >>> -Original Message- >>&

RE: [RFC net-next 0/8] Introducing subdev bus and devlink extension

2019-03-05 Thread Parav Pandit
@davemloft.net; > gre...@linuxfoundation.org; Jiri Pirko > Subject: RE: [RFC net-next 0/8] Introducing subdev bus and devlink extension > > > > > -Original Message- > > From: linux-kernel-ow...@vger.kernel.org > ow...@vger.kernel.org> On Behalf Of Parav Pandit

RE: [RFC net-next 0/8] Introducing subdev bus and devlink extension

2019-03-05 Thread Parav Pandit
ger.kernel.org; michal.l...@markovi.net; da...@davemloft.net; > gre...@linuxfoundation.org; Jiri Pirko > Subject: RE: [RFC net-next 0/8] Introducing subdev bus and devlink extension > > Hi Kirti, > > > -Original Message- > > From: Kirti Wankhede > > Sent: Tu

RE: [RFC net-next 0/8] Introducing subdev bus and devlink extension

2019-03-05 Thread Parav Pandit
inuxfoundation.org; Jiri Pirko > Subject: Re: [RFC net-next 0/8] Introducing subdev bus and devlink extension > > > > >> On Mon, 4 Mar 2019 04:41:01 +, Parav Pandit wrote: > >>>> -Original Message- > >>>> From: Jakub Kicinski >

Re: [RFC net-next 0/8] Introducing subdev bus and devlink extension

2019-03-05 Thread Kirti Wankhede
.@markovi.net; da...@davemloft.net; >> gre...@linuxfoundation.org; Jiri Pirko >> Subject: Re: [RFC net-next 0/8] Introducing subdev bus and devlink extension >> >> Parav, please wrap your responses to at most 80 characters. >> This is hard to read. >> > Sorry ab

RE: [RFC net-next 0/8] Introducing subdev bus and devlink extension

2019-03-05 Thread Parav Pandit
> Subject: Re: [RFC net-next 0/8] Introducing subdev bus and devlink extension > > Parav, please wrap your responses to at most 80 characters. > This is hard to read. > Sorry about it. I will wrap now on. > On Mon, 4 Mar 2019 04:41:01 +, Parav Pandit wrote: > > &

RE: [RFC net-next 0/8] Introducing subdev bus and devlink extension

2019-03-05 Thread Parav Pandit
> Subject: Re: [RFC net-next 0/8] Introducing subdev bus and devlink extension > > On Mon, 4 Mar 2019 04:41:01 +, Parav Pandit wrote: > > > > $ devlink dev show > > > > pci/:05:00.0 > > > > subdev/subdev0 > > > > > > Please don

Re: [RFC net-next 0/8] Introducing subdev bus and devlink extension

2019-03-04 Thread Jakub Kicinski
On Mon, 4 Mar 2019 04:41:01 +, Parav Pandit wrote: > > > $ devlink dev show > > > pci/:05:00.0 > > > subdev/subdev0 > > > > Please don't spawn devlink instances. Devlink instance is supposed to > > represent an ASIC. If we start spawning them willy nilly for whatever > > software const

Re: [RFC net-next 0/8] Introducing subdev bus and devlink extension

2019-03-04 Thread Jakub Kicinski
Gerlitz > > Cc: netdev@vger.kernel.org; linux-ker...@vger.kernel.org; > > michal.l...@markovi.net; da...@davemloft.net; > > gre...@linuxfoundation.org; Jiri Pirko > > Subject: Re: [RFC net-next 0/8] Introducing subdev bus and devlink extension > > > > On Thu, 28 Feb 2019

RE: [RFC net-next 0/8] Introducing subdev bus and devlink extension

2019-03-03 Thread Parav Pandit
> Subject: Re: [RFC net-next 0/8] Introducing subdev bus and devlink extension > > On Thu, 28 Feb 2019 23:37:44 -0600, Parav Pandit wrote: > > Requirements for above use cases: > > > > 1. We need a generic user interface & core APIs to

Re: [RFC net-next 0/8] Introducing subdev bus and devlink extension

2019-03-01 Thread Jakub Kicinski
On Thu, 28 Feb 2019 23:37:44 -0600, Parav Pandit wrote: > Use case: > - > A user wants to create/delete hardware linked sub devices without > using SR-IOV. > These devices for a pci device can be netdev (optional rdma device) > or other devices. Such sub devices share some of the PCI device

[RFC net-next 0/8] Introducing subdev bus and devlink extension

2019-02-28 Thread Parav Pandit
Use case: - A user wants to create/delete hardware linked sub devices without using SR-IOV. These devices for a pci device can be netdev (optional rdma device) or other devices. Such sub devices share some of the PCI device resources and also have their own dedicated resources. Few example