aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/drivers
diff options
context:
space:
mode:
authorPetr Machata <petrm@mellanox.com>2018-08-01 00:38:03 +0200
committerDavid S. Miller <davem@davemloft.net>2018-08-01 09:52:30 -0700
commit6495342365e859400023c09063c2b31a12d68261 (patch)
treeebc24a7ef8a6524613a7dfe03e4f1f45d494ff11 /tools/testing/selftests/drivers
parentmlxsw: spectrum: Extract work-scheduling into a new function (diff)
downloadlinux-dev-6495342365e859400023c09063c2b31a12d68261.tar.xz
linux-dev-6495342365e859400023c09063c2b31a12d68261.zip
mlxsw: spectrum_router: Handle sysctl_ip_fwd_update_priority
This sysctl setting controls whether packet priority should be updated after forwarding. Configure RGCR.usp accordingly so that the device is in sync with the kernel handling. Note that RGCR doesn't allow changing arbitrary parameters mid-operation, however "usp" is exempt and can be reconfigured. Also react to NETEVENT_IPV4_FWD_UPDATE_PRIORITY_UPDATE notifications that signify change in this configuration. Signed-off-by: Petr Machata <petrm@mellanox.com> Reviewed-by: Ido Schimmel <idosch@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/testing/selftests/drivers')
0 files changed, 0 insertions, 0 deletions