diff options
author | Eli Cohen <eli@mellanox.co.il> | 2010-05-26 21:56:24 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-05-31 09:27:45 +0200 |
commit | 741a00be1f6bfa027225f44703ab72a741b757b7 (patch) | |
tree | 429b2f8bb7bfbe3c656483544a3bdf3424b1addd /drivers/atm/nicstarmac.c | |
parent | xen: netfront: explicitly generate arp_notify event after migration. (diff) | |
download | linux-741a00be1f6bfa027225f44703ab72a741b757b7.tar.xz linux-741a00be1f6bfa027225f44703ab72a741b757b7.zip |
mlx4_en: use net_device dev_id to indicate port number
Today, there are no means to know which port of a hardware device a netdev
interface uses. struct net_device conatins a field, dev_id, that can be used
for that. Use this field to save the port number in ConnectX that is being used
by the net device; port numbers are zero based.
Signed-off-by: Eli Cohen <eli@mellanox.co.il>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/atm/nicstarmac.c')
0 files changed, 0 insertions, 0 deletions