]> git.ipfire.org Git - thirdparty/iproute2.git/commit
Merge branch 'macsec-offload' into next
authorDavid Ahern <dsahern@gmail.com>
Sun, 26 Apr 2020 18:32:20 +0000 (18:32 +0000)
committerDavid Ahern <dsahern@gmail.com>
Sun, 26 Apr 2020 18:32:20 +0000 (18:32 +0000)
commit60f1075c2144c84cee8bafad34fbc44fbb10406c
tree773ea457a1f1c643422936e7aaf5f91e1502041b
parent4aa0c9c9f8dbd40317ef34db11726d50e5fa8440
parentbcbeb35ca4351928b4b8e4cb28802880312be0f1
Merge branch 'macsec-offload' into next

Igor Russkikh  says:

====================

From: Mark Starovoytov <mstarovoitov@marvell.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

====================

Signed-off-by: David Ahern <dsahern@gmail.com>