Re: [PATCH] IPoIB: set dev_id field of IPoIB net_device

2010-10-23 Thread Roland Dreier
thanks, applied. -- To unsubscribe from this list: send the line unsubscribe linux-rdma in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

[PATCH] IPoIB: set dev_id field of IPoIB net_device

2010-09-20 Thread Eli Cohen
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 e...@mellanox.co.il --- drivers/infiniband/ulp/ipoib/ipoib_main.c |1 + 1