[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200424083857.1265-1-irusskikh@marvell.com>
Date: Fri, 24 Apr 2020 11:38:55 +0300
From: Igor Russkikh <irusskikh@...vell.com>
To: <netdev@...r.kernel.org>
CC: <dsahern@...il.com>, <stephen@...workplumber.org>,
Mark Starovoytov <mstarovoitov@...vell.com>
Subject: [PATCH iproute2-next 0/2] macsec: add offloading support
From: Mark Starovoytov <mstarovoitov@...vell.com>
This series adds support for selecting the offloading mode of a MACsec
interface at link creation time.
Available modes are for now 'off', 'phy' and 'mac', 'off' being the default
when an interface is created.
First patch adds support for MAC offloading.
Last patch allows a user to change the offloading mode at runtime
through a new attribute, `ip link add link ... offload`:
# ip link add link enp1s0 type macsec encrypt on offload off
# ip link add link enp1s0 type macsec encrypt on offload phy
# ip link add link enp1s0 type macsec encrypt on offload mac
Mark Starovoytov (2):
macsec: add support for MAC offload
macsec: add support for specifying offload at link add time
ip/ipmacsec.c | 23 ++++++++++++++++++++++-
man/man8/ip-macsec.8 | 10 ++++++++--
2 files changed, 30 insertions(+), 3 deletions(-)
--
2.20.1
Powered by blists - more mailing lists