mirror of
git://nv-tegra.nvidia.com/kernel/nvethernetrm.git
synced 2025-12-22 09:12:10 +03:00
cf366ff65cd87ce7f5173132dd71be792ab29cb3
Issue: If the supplicant is killed for some reason Data would flow plain on that interface, this is not expected Fix: All the unicast frames from/to the MACSEC interfaceare authenticated or dropped. Below are the detailes of the changes: 1. Update Rx bypass LUT such that frames on the MACSEC VF(on which supplicant is launched) would be authenticated or dropped. 2. A dummy SCI LUT is created with the MACSEC VF MACID such that all the tx frames from MACSEC VF would be sectagged. 3.As part of delete SCI LUT, added the an_valid map as 0 such that Invalid_SC_AN errors are seen when frames are transmitted post session termination. Added below cleanup changes as well to this CL 1. Remove osi_macsec_en API and have single API to init and deinit 2. Remove explicit command from supplicant to set control port and set protected frames. Handle the same in osi_macsec_init Bug 3984665 Change-Id: I9e0cdd9862d175b034478b7c5d59c1397c39c933 Signed-off-by: Sanath Kumar Gampa <sgampa@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/kernel/nvethernetrm/+/2875774 Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com> Reviewed-by: svc-mobile-cert <svc-mobile-cert@nvidia.com> Reviewed-by: Mahesh Patil <maheshp@nvidia.com> Reviewed-by: Ashutosh Jha <ajha@nvidia.com> GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
Description
No description provided