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)
commit75f3a1018f0103025558caa60e24132a4cc9ce8f
tree029480e81dcae469ee12e6de46f0162ccc3b10bb
parentb555cf4a50c17a9714715a2d7c8574dca1a7b356
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