net/atlantic: configure MACsec from interrupt handler
authorPavel Belous <pavel.belous@aquantia.com>
Thu, 18 Apr 2019 11:39:57 +0000 (11:39 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 19 Apr 2019 12:51:54 +0000 (14:51 +0200)
commit9f7e206a4cfd325a7465f1e61dbb66fcf8a54b14
treebe215340b2006941fcd517dd19b506cd62e81df2
parent2f40244b39ba1f115e8e4b502ddc191a359492b9
net/atlantic: configure MACsec from interrupt handler

MACSEC should be configured only after link up event, thus we use
link interrupt to file an alarm for configuration.

FW also uses link interrupt line to indicate incoming events from
MACSEC. These may include key expiration, packet counter wrap, etc.
We pass these events to the upper layers.

Signed-off-by: Pavel Belous <pavel.belous@aquantia.com>
Signed-off-by: Igor Russkikh <igor.russkikh@aquantia.com>
drivers/net/atlantic/atl_ethdev.c
drivers/net/atlantic/atl_ethdev.h