[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200128103606.GA635664@bistromath.localdomain>
Date: Tue, 28 Jan 2020 11:36:06 +0100
From: Sabrina Dubroca <sd@...asysnail.net>
To: Antoine Tenart <antoine.tenart@...tlin.com>
Cc: dsahern@...il.com, netdev@...r.kernel.org
Subject: Re: [PATCH iproute2-next 0/2] macsec: add offloading support
2020-01-20, 21:18:21 +0100, Antoine Tenart wrote:
> If a mode isn't supported, `ip macsec offload` will report an issue
> (-EOPNOTSUPP).
>
> One thing not supported in this series would be the ability to list all
> supported modes (for now 'off' and 'phy') depending on the h/w interface
> capabilities. This can come up in a later patch, as this is not critical
> to get the feature used, but I would like this to be compatible with the
> current series. I can think of 2 possibilities: either through
> `ip macsec show` or through `ip macsec offload` (for example when no
> argument is given). What are your thoughts on this?
I don't think that's really helpful. The device could change between
listing available modes and enabling offloading. The failure of "ip
macsec offload blah" (or whatever the command ends up being) will do
the same job anyway.
--
Sabrina
Powered by blists - more mailing lists