Skip to content

Commit 06fcdf2

Browse files
idoschdavem330
authored andcommitted
mlxsw: spectrum_acl_atcam: Fix wrong comment
The key is encoded, not encrypted. Fixes: c22291f ("mlxsw: spectrum: acl: Implement delta for ERP") Signed-off-by: Ido Schimmel <[email protected]> Reviewed-by: Amit Cohen <[email protected]> Tested-by: Alexander Zubkov <[email protected]> Signed-off-by: Petr Machata <[email protected]> Reviewed-by: Simon Horman <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 2aad28e commit 06fcdf2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_atcam.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -491,7 +491,7 @@ __mlxsw_sp_acl_atcam_entry_add(struct mlxsw_sp *mlxsw_sp,
491491
sizeof(aentry->enc_key));
492492

493493
/* Compute all needed delta information and clear the delta bits
494-
* from the encrypted key.
494+
* from the encoded key.
495495
*/
496496
delta = mlxsw_sp_acl_erp_delta(aentry->erp_mask);
497497
aentry->delta_info.start = mlxsw_sp_acl_erp_delta_start(delta);

0 commit comments

Comments
 (0)