]> git.openfabrics.org - ~shefty/rdma-win.git/commit
[MLX4] return different MLX4 bus locations for several cards in multi-homed machine...
authorleonidk <leonidk@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Wed, 17 Jun 2009 13:47:59 +0000 (13:47 +0000)
committerleonidk <leonidk@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Wed, 17 Jun 2009 13:47:59 +0000 (13:47 +0000)
commitc147963542a53def26233d3706785f8a51880ccb
treeba570bd3f04297ac8f14d72bc2cd73fe9da50504
parent838ad3536ef780e4d54a7e3a720e77a472a1515d
[MLX4] return different MLX4 bus locations for several cards in multi-homed machine. [mlnx: 4468]

One can see on multi-homed computers, that mlx4_bus creates all its children (mlx4_hca, IPoIB et al) with built-in location string "MLX4 Bus 0" which complicates differentiation between them.
This patch makes mlx4_bus to return a location string of the structure "MLX4 bus x, device y, function z", where x,y,z is HCA card's PCI bus location.

git-svn-id: svn://openib.tc.cornell.edu/gen1@2258 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86
trunk/hw/mlx4/kernel/bus/drv/drv.c
trunk/hw/mlx4/kernel/bus/drv/drv.h
trunk/hw/mlx4/kernel/bus/drv/pdo.c
trunk/hw/mlx4/kernel/bus/net/mlx4.h
trunk/hw/mlx4/kernel/inc/l2w.h