Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d9df6479 authored by Jinesh K. Jayakumar's avatar Jinesh K. Jayakumar Committed by Gerrit - the friendly Code Review server
Browse files

net: aquantia: Send MACSEC events to IPA offload sub-system



Enable support in AQC IPA glue layer to send MACSEC ADD/DEL events to
IPA offload sub-system.

Change-Id: Ie0aee7823bb66928a4c9b83a1a61fdc43b3851d4
Signed-off-by: default avatarJinesh K. Jayakumar <jineshk@codeaurora.org>
parent e2c9598d
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -119,6 +119,14 @@ static int atl_ipa_fwd_notification(struct notifier_block *nb,
		ipa_eth_device_notify(ai_dev->eth_dev,
				      IPA_ETH_DEV_RESET_COMPLETE, NULL);
		break;
	case ATL_FWD_NOTIFY_MACSEC_ON:
		ipa_eth_device_notify(ai_dev->eth_dev,
				      IPA_ETH_DEV_ADD_MACSEC_IF, data);
		break;
	case ATL_FWD_NOTIFY_MACSEC_OFF:
		ipa_eth_device_notify(ai_dev->eth_dev,
				      IPA_ETH_DEV_DEL_MACSEC_IF, data);
		break;
	default:
		return NOTIFY_DONE;
	}