Skip to content
Commit ce9bc08d authored by Subbaraya Sundeep's avatar Subbaraya Sundeep Committed by Wenlin Kang
Browse files

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: default avatarSubbaraya Sundeep <sbhatta@marvell.com>
Signed-off-by: default avatarSunil Goutham <sgoutham@marvell.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Signed-off-by: default avatarGeetha sowjanya <gakula@marvell.com>
Change-Id: I40963d118a1ca855e650e4873ad1150d5db1058f
Reviewed-on: https://sj1git1.cavium.com/c/IP/SW/kernel/linux/+/90158


Tested-by: default avatarsa_ip-sw-jenkins <sa_ip-sw-jenkins@marvell.com>
Signed-off-by: default avatarWenlin Kang <wenlin.kang@windriver.com>
parent c3c950eb
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment