]> git.baikalelectronics.ru Git - kernel.git/commit
mlxsw: spectrum: Change default rate and priority of DHCP packets
authorIdo Schimmel <idosch@mellanox.com>
Sun, 24 May 2020 21:51:00 +0000 (00:51 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 25 May 2020 02:32:23 +0000 (19:32 -0700)
commitdaa03d5e050c5d52606a8e940af203effe120c8b
tree94b2521fcc220538de5e7601bb5ff5bcca3582ca
parentc7a7e059dece6919d53384e468bf27fd520922d4
mlxsw: spectrum: Change default rate and priority of DHCP packets

Reduce the default acceptable rate of DHCP packets to 128 packets per
second and reduce their priority. This is reasonable given the Spectrum
ASICs are limited to 128 ports at the moment.

These are only the default values. Users will be able to modify them via
devlink-trap.

Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Reviewed-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/spectrum.c