diff options
author | Radu Pirea (NXP OSS) <radu-nicolae.pirea@oss.nxp.com> | 2023-12-19 17:53:31 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-12-27 16:08:10 +0300 |
commit | a868b486cb886ef73c9b4f77b8103669c83a4515 (patch) | |
tree | 592119e32aee1b97ab89ee226ad2a4e237b3ee96 /kernel | |
parent | a73d8779d61ad99b966c932a1715bd4d9006a9de (diff) | |
download | linux-a868b486cb886ef73c9b4f77b8103669c83a4515.tar.xz |
net: phy: nxp-c45-tja11xx: add MACsec support
Add MACsec support.
The MACsec block has four TX SCs and four RX SCs. The driver supports up
to four SecY. Each SecY with one TX SC and one RX SC.
The RX SCs can have two keys, key A and key B, written in hardware and
enabled at the same time.
The TX SCs can have two keys written in hardware, but only one can be
active at a given time.
On TX, the SC is selected using the MAC source address. Due of this
selection mechanism, each offloaded netdev must have a unique MAC
address.
On RX, the SC is selected by SCI(found in SecTAG or calculated using MAC
SA), or using RX SC 0 as implicit.
Signed-off-by: Radu Pirea (NXP OSS) <radu-nicolae.pirea@oss.nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions