]> www.infradead.org Git - users/jedix/linux-maple.git/commit
octeontx2-pf: macsec: Get MACSEC capability flag from AF
authorSubbaraya Sundeep <sbhatta@marvell.com>
Thu, 22 May 2025 06:15:48 +0000 (11:45 +0530)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 27 May 2025 09:54:53 +0000 (11:54 +0200)
commit5fa6f024596016edaed72c664fd3b4338529df73
tree21e202b15f572793d40238062382bfeee00a7d77
parent732038370e5546169899dcb1feb1e955e5d8b4ba
octeontx2-pf: macsec: Get MACSEC capability flag from AF

The presence of MACSEC block is currently figured out based
on the running silicon variant. This may not be correct all
the times since the MACSEC block can be fused out. Hence get
the macsec info from AF via mailbox.

Signed-off-by: Subbaraya Sundeep <sbhatta@marvell.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/1747894548-4657-1-git-send-email-sbhatta@marvell.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c