lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:   Tue, 22 Sep 2020 04:37:51 +0000
From:   Parav Pandit <parav@...dia.com>
To:     Jakub Kicinski <kuba@...nel.org>
CC:     "davem@...emloft.net" <davem@...emloft.net>,
        "netdev@...r.kernel.org" <netdev@...r.kernel.org>
Subject: RE: [PATCH net-next v2 0/8] devlink: Add SF add/delete devlink ops



> From: Jakub Kicinski <kuba@...nel.org>
> Sent: Tuesday, September 22, 2020 3:32 AM
> 
> On Fri, 18 Sep 2020 20:09:24 +0000 Parav Pandit wrote:
> > > From: Jakub Kicinski <kuba@...nel.org>
> > > Sent: Friday, September 18, 2020 11:58 PM
> > >
> > > On Fri, 18 Sep 2020 17:47:24 +0000 Parav Pandit wrote:
> > > > > > What do you suggest?
> > > > >
> > > > > Start with real patches, not netdevsim.
> > > >
> > > > Hmm. Shall I split the series below, would that be ok?
> > > >
> > > > First patchset,
> > > > (a) devlink piece to add/delete port
> > > > (b) mlx5 counter part
> > > >
> > > > Second patchset,
> > > > (a) devlink piece to set the state
> > > > (b) mlx5 counter part
> > > >
> > > > Follow on patchset to create/delete sf's netdev on virtbus in mlx5
> > > > + devlink
> > > plumbing.
> > > > Netdevsim after that.
> > >
> > > I'd start from the virtbus part so we can see what's being created.
> >
> > How do you reach there without a user interface?
> 
> Well.. why do you have a user interface which doesn't cause anything to happen
> (devices won't get created)? You're splitting the submission, it's obvious the
> implementation won't be complete after the first one.
> 
> My expectation is that your implementation of the devlink commands will just
> hand them off to FW, so there won't be anything interesting there to review.
Correct. Since handing off to firmware and processing event from firmware is creating fairly more patches,
In first series I will just go inline where devlink command would create/remove virtbus device on state active/inactive.

This way it should be possible to have minimal working series under 20 patches.
This way in one patchset, I prefer to cover
(a) devlink plumbing for port add/del, port state
(b) mlx5 eswitch refactor and devlink callback handling
(c) devlink plumbing around
(d) virtbus device and their netdev creation

This also gives complete view from user interface to netdev device creation.
Post this series, will improve the internals of mlx5 via events etc which doesn't need multi-vendor, virtbus and devlink involvement.
Will differ netdevsim to later date.

> 
> Start with the hard / risky parts - I consider the virtbus to be that, since the
> conversation there includes multiple vendors, use cases and subsystems.

Powered by blists - more mailing lists