Commit 025b7de7 authored by Ido Schimmel's avatar Ido Schimmel Committed by David S. Miller
Browse files

mlxsw: spectrum: Reduce priority of locally delivered packets



To align with recent recommended values. Will be configurable by future
patches.

Signed-off-by: default avatarIdo Schimmel <idosch@mellanox.com>
Reviewed-by: default avatarJiri Pirko <jiri@mellanox.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 1e3cd589
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -4235,11 +4235,11 @@ static int mlxsw_sp_trap_groups_set(struct mlxsw_core *mlxsw_core)
			tc = 4;
			break;
		case MLXSW_REG_HTGT_TRAP_GROUP_SP_MC_SNOOPING:
		case MLXSW_REG_HTGT_TRAP_GROUP_SP_IP2ME:
			priority = 3;
			tc = 3;
			break;
		case MLXSW_REG_HTGT_TRAP_GROUP_SP_NEIGH_DISCOVERY:
		case MLXSW_REG_HTGT_TRAP_GROUP_SP_IP2ME:
		case MLXSW_REG_HTGT_TRAP_GROUP_SP_IPV6:
		case MLXSW_REG_HTGT_TRAP_GROUP_SP_PTP1:
		case MLXSW_REG_HTGT_TRAP_GROUP_SP_DHCP:
+1 −1
Original line number Diff line number Diff line
@@ -15,7 +15,7 @@ source mlxsw_lib.sh
SB_POOL_ING=0
SB_POOL_EGR_CPU=10

SB_ITC_CPU_IP=3
SB_ITC_CPU_IP=2
SB_ITC_CPU_ARP=2
SB_ITC=0