commit | 08474c1a9df0cefcc3d197bd1d770695a34b9d60 | [log] [tgz] |
---|---|---|
author | Jiri Pirko <jiri@mellanox.com> | Fri May 18 09:29:02 2018 +0200 |
committer | David S. Miller <davem@davemloft.net> | Sat May 19 16:30:39 2018 -0400 |
tree | ad98306122c9ff54630c0d29e3141f26e690e53b | |
parent | 5ec1380a21bb6cd2ba89e31c44dfcc150f9ef792 [diff] |
devlink: introduce a helper to generate physical port names Each driver implements physical port name generation by itself. However as devlink has all needed info, it can easily do the job for all its users. So implement this helper in devlink. Signed-off-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>