]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
net: dsa: enable selftest support for all switches by default
authorOleksij Rempel <o.rempel@pengutronix.de>
Mon, 19 Apr 2021 13:01:06 +0000 (15:01 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 20 Apr 2021 23:08:02 +0000 (16:08 -0700)
commita71acad90a3f079685efcb068e2251b912083d68
tree07ecb02f2ccd01f2307ad4486ae7e9f695eab1f3
parentb62a12fc047d5382f1904c29de4f27dfde48ca28
net: dsa: enable selftest support for all switches by default

Most of generic selftest should be able to work with probably all ethernet
controllers. The DSA switches are not exception, so enable it by default at
least for DSA.

This patch was tested with SJA1105 and AR9331.

Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/dsa.h
net/dsa/Kconfig
net/dsa/slave.c