[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAK8P3a3E8UM1e4zibejyp3i89yz=p-7B+zZxqDEw3PWew0e-rg@mail.gmail.com>
Date: Mon, 29 Oct 2018 09:59:30 +0100
From: Arnd Bergmann <arnd@...db.de>
To: Sunil Kovvuri <sunil.kovvuri@...il.com>
Cc: David Miller <davem@...emloft.net>,
Networking <netdev@...r.kernel.org>, linux-soc@...r.kernel.org,
Sunil Goutham <sgoutham@...vell.com>
Subject: Re: [PATCH v2 00/17] octeontx2-af: NPC parser and NIX blocks initialization
On Mon, Oct 29, 2018 at 5:33 AM Sunil Kovvuri <sunil.kovvuri@...il.com> wrote:
> On Sat, Oct 27, 2018 at 12:59 AM Arnd Bergmann <arnd@...db.de> wrote:
> > On Fri, Oct 26, 2018 at 6:33 PM Sunil Kovvuri <sunil.kovvuri@...il.com> wrote:
> > > On Fri, Oct 26, 2018 at 9:56 PM Sunil Kovvuri <sunil.kovvuri@...il.com> wrote:
> > Aside from this, there is the stuff that Andrew mentioned, which is the
> > most important: For anything that should /not/ be controlled by a
> > network interface for itself, you still need an administrative interface.
> > An example of this would be creating additional virtual functions,
> > assigning bandwidth allocation between them, or limiting the
> > data that can be transferred to and from a virtual function.
> >
> > Can you explain what your plan is to handle those?
> >
>
> This part is still under discussion, will get back on this.
Ok, no worries.
> Currently we are looking at a way for a administrator to limit the amount of
> resources that can be attached / allocated to a virtual function.
> Allowing administrator to limit data transfer or to give priorities etc is complex,
> we will look into that stuff later on.
Makes sense. When you get there, please have a look at how 'devlink' is
used in the mlx4/5, bnxt, liquidio, and nfp drivers. As I understand it,
that is what you need here, and you may be able to directly implement
the same interface that they have defined.
Arnd
Powered by blists - more mailing lists