diff options
author | Mark Starovoytov | 2020-03-25 16:01:34 +0300 |
---|---|---|
committer | David S. Miller | 2020-03-29 21:34:21 -0700 |
commit | 791bb3fcafcedd11f9066da9fee9342ecb6904d0 (patch) | |
tree | 6bccde0e7b60e06436de6c87f5e48c515f7aacfa /include | |
parent | f0b5989745c3e0e92424d36869a97e4e8df7ab13 (diff) |
net: macsec: add support for specifying offload upon link creation
This patch adds new netlink attribute to allow a user to (optionally)
specify the desired offload mode immediately upon MACSec link creation.
Separate iproute patch will be required to support this from user space.
Signed-off-by: Mark Starovoytov <mstarovoitov@marvell.com>
Signed-off-by: Igor Russkikh <irusskikh@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r-- | include/uapi/linux/if_link.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/if_link.h b/include/uapi/linux/if_link.h index d6ccd0105c05..e204c3e4dce1 100644 --- a/include/uapi/linux/if_link.h +++ b/include/uapi/linux/if_link.h @@ -463,6 +463,7 @@ enum { IFLA_MACSEC_REPLAY_PROTECT, IFLA_MACSEC_VALIDATION, IFLA_MACSEC_PAD, + IFLA_MACSEC_OFFLOAD, __IFLA_MACSEC_MAX, }; |