]> git.baikalelectronics.ru Git - kernel.git/commit
net: phy: add MACsec ops in phy_device
authorAntoine Tenart <antoine.tenart@bootlin.com>
Mon, 13 Jan 2020 22:31:42 +0000 (23:31 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 14 Jan 2020 19:31:41 +0000 (11:31 -0800)
commitfe40797d929fcc3481987053488bcb233801540d
tree71349564ccf4559284897ced38634fdf040c0854
parent1cc973cde71b5611ccb513bef82444da1dc65882
net: phy: add MACsec ops in phy_device

This patch adds a reference to MACsec ops in the phy_device, to allow
PHYs to support offloading MACsec operations. The phydev lock will be
held while calling those helpers.

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