commit | 781449a4ae3b381950ee9aec4d8a54e35f66ab9b | [log] [tgz] |
---|---|---|
author | Antoine Tenart <antoine.tenart@bootlin.com> | Mon Jan 13 23:31:48 2020 +0100 |
committer | David S. Miller <davem@davemloft.net> | Tue Jan 14 11:31:41 2020 -0800 |
tree | 4b6237e7342ba9a11f4aa1cdd0c9f4ddccc500dc | |
parent | 5c937de78b39e47ce9924fc4b863c5b727edc328 [diff] |
net: phy: mscc: PN rollover support This patch adds support for handling MACsec PN rollover in the mscc PHY driver. When a flow rolls over, an interrupt is fired. This patch adds the logic to check all flows and identify the one rolling over in the handle_interrupt PHY helper, then disables the flow and report the event to the MACsec core. Signed-off-by: Antoine Tenart <antoine.tenart@bootlin.com> Signed-off-by: David S. Miller <davem@davemloft.net>