]> git.baikalelectronics.ru Git - kernel.git/commit
net: macsec: introduce the macsec_context structure
authorAntoine Tenart <antoine.tenart@bootlin.com>
Mon, 13 Jan 2020 22:31:40 +0000 (23:31 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 14 Jan 2020 19:31:41 +0000 (11:31 -0800)
commitbe29ef24bb7b9f0e06524b06c2e41738a2244c51
tree343eaf87371c290bb1143ecd871e50eade1950f6
parent642ba6c5463a1b4fad061a92c2f879f0646b59b3
net: macsec: introduce the macsec_context structure

This patch introduces the macsec_context structure. It will be used
in the kernel to exchange information between the common MACsec
implementation (macsec.c) and the MACsec hardware offloading
implementations. This structure contains pointers to MACsec specific
structures which contain the actual MACsec configuration, and to the
underlying device (phydev for now).

Signed-off-by: Antoine Tenart <antoine.tenart@bootlin.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/phy.h
include/net/macsec.h
include/uapi/linux/if_link.h
tools/include/uapi/linux/if_link.h