mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-22 23:04:43 +00:00
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>
This commit is contained in:
parent
c0e4eadfb8
commit
76564261a7
4 changed files with 37 additions and 0 deletions
|
@ -332,6 +332,8 @@ struct phy_c45_device_ids {
|
|||
u32 device_ids[8];
|
||||
};
|
||||
|
||||
struct macsec_context;
|
||||
|
||||
/* phy_device: An instance of a PHY
|
||||
*
|
||||
* drv: Pointer to the driver for this PHY instance
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue