Commit
6900ae985ae844835c7a0d1c765d8d661c042cda
by brice.goglinlinuxio: use dev_port in favor of dev_id when available in net device
sysfs directories
dev_id is somehow deprecated for exposing the port number. Mostly
matters for IB devices.
Thanks to Thomas Gruber for the report.
Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
(cherry picked from commit 174b5c3c1417a98225f8526bb153a2e64ccf638b)