Message ID | 2df6368e0908d4e752ab9c74556bf2835762f330.1717684365.git.petrm@nvidia.com (mailing list archive) |
---|---|
State | Accepted |
Commit | 06fcdf2494068ceb29686657f8e5d15084e6e0c3 |
Delegated to: | Netdev Maintainers |
Headers | show |
Series | mlxsw: ACL fixes | expand |
On Thu, Jun 06, 2024 at 04:49:40PM +0200, Petr Machata wrote: > From: Ido Schimmel <idosch@nvidia.com> > > The key is encoded, not encrypted. > > Fixes: c22291f7cf45 ("mlxsw: spectrum: acl: Implement delta for ERP") > Signed-off-by: Ido Schimmel <idosch@nvidia.com> > Reviewed-by: Amit Cohen <amcohen@nvidia.com> > Tested-by: Alexander Zubkov <green@qrator.net> > Signed-off-by: Petr Machata <petrm@nvidia.com> Reviewed-by: Simon Horman <horms@kernel.org>
diff --git a/drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_atcam.c b/drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_atcam.c index 4b713832fdd5..a7473e782b56 100644 --- a/drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_atcam.c +++ b/drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_atcam.c @@ -491,7 +491,7 @@ __mlxsw_sp_acl_atcam_entry_add(struct mlxsw_sp *mlxsw_sp, sizeof(aentry->enc_key)); /* Compute all needed delta information and clear the delta bits - * from the encrypted key. + * from the encoded key. */ delta = mlxsw_sp_acl_erp_delta(aentry->erp_mask); aentry->delta_info.start = mlxsw_sp_acl_erp_delta_start(delta);