]> git.baikalelectronics.ru Git - kernel.git/commit
switchdev: Use switch ID in suggested udev rule
authorIdo Schimmel <idosch@mellanox.com>
Tue, 5 Apr 2016 08:20:03 +0000 (10:20 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 5 Apr 2016 19:07:54 +0000 (15:07 -0400)
commitbd8e801a48eaa3921f69556a149920c644cc8134
tree029480e81dcae469ee12e6de46f0162ccc3b10bb
parent42225246f9dafb91b2291b15f16f8b117f983320
switchdev: Use switch ID in suggested udev rule

Since there can be multiple switch ASICs on the same system we should
use the switch ID in order to differentiate between them and set the
switch name (e.g. swX) accordingly.

Also, replace the order of the "Switch ID" and "Port Netdev Naming"
sections following the above change.

Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/networking/switchdev.txt