]> 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)
commitcf9bb64c8a3c8dc574bed674b12dafba415c0583
tree94b2521fcc220538de5e7601bb5ff5bcca3582ca
parent3f6b8290b6fe36bb68c27c3c30b9aa8e30c6156d
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