mirror of
git://nv-tegra.nvidia.com/kernel/nvethernetrm.git
synced 2025-12-22 09:12:10 +03:00
Revert "coe: Disable seq num check in macsec for COE"
This reverts commit b8fe432eea.
Reason for revert: HSB FW has been updated to include resetting the frame number for every SOF. This has been verified with Eagle AIO modules with HSB FW FPGA version=0x2505 datecode=0xf1a72011
CT26X-1921
Change-Id: I67f83a2d7de93187276266689d34d68f8c551f7e
Signed-off-by: Srinivas Ramachandran <srinivasra@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/kernel/nvethernetrm/+/3381926
This commit is contained in:
@@ -4748,9 +4748,7 @@ static nve32_t macsec_coe_config(struct osi_core_priv_data *const osi_core,
|
||||
nve32_t ret = 0;
|
||||
|
||||
val = coe_enable & MACSEC_COE_ENABLE_MASK;
|
||||
/* TODO - re-enable seq num check for production. This is just till HSB FPGA can be
|
||||
* fixed to use proper starting seq for every SOF. */
|
||||
//val |= (coe_enable & MACSEC_COE_ENABLE_MASK) << MACSEC_COE_SEQ_CHK_SHIFT;
|
||||
val |= (coe_enable & MACSEC_COE_ENABLE_MASK) << MACSEC_COE_SEQ_CHK_SHIFT;
|
||||
val |= (coe_hdr_offset & MACSEC_COE_HDROFST_MASK) << MACSEC_COE_HDROFST_SHIFT;
|
||||
osi_macsec_writela(osi_core, val, addr + MACSEC_COE_CONFIG);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user