OSDN Git Service

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)
commit76564261a7db80c5f5c624e0122a28787f266bdf
tree343eaf87371c290bb1143ecd871e50eade1950f6
parentc0e4eadfb8daf2e9557c7450f9b237c08b404419
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