[PATCH 1/3] IB/ipoib: Use dev_port to expose network interface port numbers

2018-08-28 Thread Arseny Maslennikov
Some InfiniBand network devices have multiple ports on the same PCI function. This initializes the `dev_port' sysfs field of those network interfaces with their port number. The use of `dev_id' was considered correct until Linux 3.15, when another field, `dev_port', was defined for this particular

[PATCH 1/3] IB/ipoib: Use dev_port to expose network interface port numbers

2018-08-13 Thread Arseny Maslennikov
Some InfiniBand network devices have multiple ports on the same PCI function. This initializes the `dev_port' sysfs field of those network interfaces with their port number. The use of `dev_id' was considered correct until Linux 3.15, when another field, `dev_port', was defined for this particular