octeontx2-pf: mcs: Introduce MACSEC hardware offloading
commit 9339482003123ffcad1e2b7a8345b1153b6655a9 from git@git.assembla.com:cavium/WindRiver.linux.git This patch introduces the macsec offload feature to cn10k PF netdev driver. The macsec offload ops like adding, deleting and updating SecYs, SCs, SAs and stats are supported. XPN support will be added in later patches. Some stats use same counter in hardware which means based on the SecY mode the same counter represents different stat. Hence when SecY mode/policy is changed then snapshot of current stats are captured. Also there is no provision to specify the unique flow-id/SCI per packet to hardware hence different mac address needs to be set for macsec interfaces. Signed-off-by: Subbaraya Sundeep <sbhatta@marvell.com> Signed-off-by: Sunil Goutham <sgoutham@marvell.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Geetha sowjanya <gakula@marvell.com> Change-Id: I40963d118a1ca855e650e4873ad1150d5db1058f Reviewed-on: https://sj1git1.cavium.com/c/IP/SW/kernel/linux/+/90158 Tested-by: sa_ip-sw-jenkins <sa_ip-sw-jenkins@marvell.com> Signed-off-by: Wenlin Kang <wenlin.kang@windriver.com>
Please register or sign in to comment