Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

mlxsw: spectrum_acl_atcam: Fix wrong comment

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>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by

Ido Schimmel and committed by
David S. Miller
06fcdf24 2aad28ec

+1 -1
+1 -1
drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_atcam.c
··· 491 491 sizeof(aentry->enc_key)); 492 492 493 493 /* Compute all needed delta information and clear the delta bits 494 - * from the encrypted key. 494 + * from the encoded key. 495 495 */ 496 496 delta = mlxsw_sp_acl_erp_delta(aentry->erp_mask); 497 497 aentry->delta_info.start = mlxsw_sp_acl_erp_delta_start(delta);