Searched hist:c3aa9b18 (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/infiniband/ulp/ipoib/ |
H A D | ipoib_main.c | c3aa9b18 Mon Sep 20 02:05:06 CDT 2010 Eli Cohen <eli@dev.mellanox.co.il> IPoIB: Set dev_id field of net_device
Use the net device's dev_id field to encode the port number of the pci device. This can be used to to associate a net device with the pci device's port. The encoding is: dev_id = port - 1.
Signed-off-by: Eli Cohen <eli@mellanox.co.il> Signed-off-by: Roland Dreier <rolandd@cisco.com> c3aa9b18 Mon Sep 20 02:05:06 CDT 2010 Eli Cohen <eli@dev.mellanox.co.il> IPoIB: Set dev_id field of net_device Use the net device's dev_id field to encode the port number of the pci device. This can be used to to associate a net device with the pci device's port. The encoding is: dev_id = port - 1. Signed-off-by: Eli Cohen <eli@mellanox.co.il> Signed-off-by: Roland Dreier <rolandd@cisco.com>
|