Skip to content

add MACsec support

Sabrina Dubroca netdev 3 versions – Applied

Status from this message: Applied.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest4 patches 1 replyApplied
  2. v35 patches 4 repliesSuperseded
  3. v14 patches 3 repliesSuperseded

Patches in v4 Applied

#Subject and filesSizeRepliesApplied
1/4utils: make hexstring_a2n provide the number of hex digits parsedinclude/utils.h lib/utils.c+8 -40 replies
2/4utils: add get_be{16,32,64}, use them where possibleinclude/utils.h ip/ipfou.c ip/iplink_vxlan.c +7 more+54 -410 replies
3/4utils: provide get_hex to read a hex digit from a charinclude/utils.h ip/ipl2tp.c lib/ipx_pton.c +1 more+18 -280 replies
4/4ip: add MACsec supportip/Makefile ip/ip.c ip/ip_common.h +4 more+1480 -31 reply

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchPhil Sutter
1/4A-b
2/4A-b
3/4A-b
4/4A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [PATCH iproute2 v4 0/4] add MACsec support

This series introduces support for MACsec devices, with a new device type for ip link, and a new ip macsec subcommand.

The first three patches introduce some necessary helper functions.

Sabrina Dubroca (4):
utils: make hexstring_a2n provide the number of hex digits parsed
utils: add get_be{16,32,64}, use them where possible
utils: provide get_hex to read a hex digit from a char
ip: add MACsec support

 include/utils.h       |    8 +-
 ip/Makefile           |    2 +-
 ip/ip.c               |    3 +-
 ip/ip_common.h        |    1 +
 ip/ipfou.c            |    3 +-
 ip/ipl2tp.c           |   15 +-
 ip/iplink_vxlan.c     |    8 +-
 ip/ipmacsec.c         | 1292 +++++++++++++++++++++++++++++++++++++++++++++++++
 ip/iproute_lwtunnel.c |    8 +-
 ip/ipxfrm.c           |   13 +-
 ip/xfrm_state.c       |   10 +-
 lib/ipx_pton.c        |   18 +-
 lib/ll_proto.c        |    3 +-
 lib/utils.c           |   53 +-
 man/man8/Makefile     |    2 +-
 man/man8/ip-link.8.in |   85 ++++
 man/man8/ip-macsec.8  |   98 ++++
 tc/f_flower.c         |    4 +-
 tc/f_u32.c            |   10 +-
 19 files changed, 1560 insertions(+), 76 deletions(-)
 create mode 100644 ip/ipmacsec.c
 create mode 100644 man/man8/ip-macsec.8
Signature · 1 line
2.8.3