From: David S. Miller Date: Wed, 27 Dec 2023 13:08:10 +0000 (+0000) Subject: Merge branch 'net-tja11xx-macsec-support' X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=2f7ccf1d8835975a92fae7704fa73cb2e49bc12f;p=linux.git Merge branch 'net-tja11xx-macsec-support' Radu Pirea says: ==================== Add MACsec support for TJA11XX C45 PHYs This is the MACsec support for TJA11XX PHYs. The MACsec block encrypts the ethernet frames on the fly and has no buffering. This operation will grow the frames by 32 bytes. If the frames are sent back to back, the MACsec block will not have enough room to insert the SecTAG and the ICV and the frames will be dropped. To mitigate this, the PHY can parse a specific ethertype with some padding bytes and replace them with the SecTAG and ICV. These padding bytes might be dummy or might contain information about TX SC that must be used to encrypt the frame. ==================== Signed-off-by: David S. Miller --- 2f7ccf1d8835975a92fae7704fa73cb2e49bc12f