aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/phy/Kconfig
diff options
context:
space:
mode:
authorAntoine Tenart <antoine.tenart@bootlin.com>2020-01-13 23:31:46 +0100
committerDavid S. Miller <davem@davemloft.net>2020-01-14 11:31:41 -0800
commit28c5107aa904ef9db6b023039d20b6b4c4181675 (patch)
tree3db8247b5ec2c94504c3c82f42c00976a5625294 /drivers/net/phy/Kconfig
parentnet: phy: mscc: macsec initialization (diff)
downloadlinux-dev-28c5107aa904ef9db6b023039d20b6b4c4181675.tar.xz
linux-dev-28c5107aa904ef9db6b023039d20b6b4c4181675.zip
net: phy: mscc: macsec support
This patch adds MACsec offloading support to some Microsemi PHYs, to configure flows and transformations so that matched packets can be processed by the MACsec engine, either at egress, or at ingress. Signed-off-by: Antoine Tenart <antoine.tenart@bootlin.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/phy/Kconfig')
-rw-r--r--drivers/net/phy/Kconfig3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/phy/Kconfig b/drivers/net/phy/Kconfig
index 2e016271e126..ac82ff959b7c 100644
--- a/drivers/net/phy/Kconfig
+++ b/drivers/net/phy/Kconfig
@@ -437,6 +437,9 @@ config MICROCHIP_T1_PHY
config MICROSEMI_PHY
tristate "Microsemi PHYs"
+ depends on MACSEC || MACSEC=n
+ select CRYPTO_AES
+ select CRYPTO_ECB
---help---
Currently supports VSC8514, VSC8530, VSC8531, VSC8540 and VSC8541 PHYs