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  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Wed, 12 Dec 2018 11:01:51 -0800
From:   Jakub Kicinski <jakub.kicinski@...ronome.com>
To:     Michael Chan <michael.chan@...adcom.com>
Cc:     Vasundhara Volam <vasundhara-v.volam@...adcom.com>,
        David Miller <davem@...emloft.net>,
        Jiri Pirko <jiri@...lanox.com>, Netdev <netdev@...r.kernel.org>
Subject: Re: [PATCH net-next v2 RFC 7/8] devlink: Add a generic port
 parameter

On Tue, 11 Dec 2018 23:35:31 -0800, Michael Chan wrote:
> On Tue, Dec 11, 2018 at 10:18 AM Jakub Kicinski wrote:
> > On Tue, 11 Dec 2018 14:16:47 +0530, Vasundhara Volam wrote:  
> > > wake-on-lan - Enables Wake on Lan for this port. If enabled,
> > > the controller asserts a wake pin based on the wake-on-lan type.
> > >
> > > Cc: Jiri Pirko <jiri@...lanox.com>
> > > Signed-off-by: Vasundhara Volam <vasundhara-v.volam@...adcom.com>  
> >
> > As explained previously I think it's a very bad idea to add existing
> > configuration options to devlink, just because devlink has the ability
> > to persist the setting in NVM.  Especially that for WoL you have to get
> > the link up so you potentially have all link config stuff as well.  And
> > that n-tuple filters are one of the WoL options, meaning we'd need the
> > ability to persist n-tuple filters via devlink.  
> 
> As I said before, firmware will automatically set the link to autoneg
> up to the speed supported by Vaux if WoL is enabled.  No special link
> setting is needed as I said before.  I don't think n-tuple is suitable
> for the default power-up WoL setting.  n-tuple requires ip address.
> The ip address belongs to the system, not to the card that can move
> from system to system.  The n-tuple WoL packet should be a transient
> setting set by the OS that won't persist a power down.  The default
> power-up WoL packet types should be the most basic magic packet and
> other basic types.  So I really don't think there is a need to persist
> n-tuple WoL packet types.

Sure your firmware sets the link to autoneg today, and your driver does
not allow n-tuple filter WoL.  How about we step back and think about
the API as a whole rather than exposing ad hoc FW knobs via delink
params :/

Also what gives you the idea that n-tuple filters require an ip address?

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ