From: Eli Cohen Date: Mon, 20 Sep 2010 07:05:06 +0000 (+0000) Subject: IPoIB: Set dev_id field of net_device X-Git-Tag: v2.6.37-rc1~95^2^7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c3aa9b186b95025d4ba4e90d6140c9887dfaae0a;p=pandora-kernel.git 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 Signed-off-by: Roland Dreier --- Reading git-diff-tree failed