]> git.karo-electronics.de Git - linux-beck.git/commit
mlx4_core: Multiple port type support
authorYevgeny Petrilin <yevgenyp@mellanox.co.il>
Wed, 22 Oct 2008 22:38:42 +0000 (15:38 -0700)
committerRoland Dreier <rolandd@cisco.com>
Wed, 22 Oct 2008 22:38:42 +0000 (15:38 -0700)
commit7ff93f8b7ecbc36e7ffc5c11a61643821c1bfee5
tree4b38e1ead8b27a480cc766f6927dccf5b63793ae
parent2a2336f8228292b8197f4187e54b0748903e6645
mlx4_core: Multiple port type support

Multi-protocol adapters support different port types.  Each consumer
of mlx4_core queries for supported port types; in particular mlx4_ib
can no longer assume that all physical ports belong to it.  Port type
is configured through a sysfs interface.  When the type of a port is
changed, all mlx4 interfaces are unregistered, and then registered
again with the new port types.

Signed-off-by: Yevgeny Petrilin <yevgenyp@mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/mlx4/mad.c
drivers/infiniband/hw/mlx4/main.c
drivers/infiniband/hw/mlx4/mlx4_ib.h
drivers/net/mlx4/fw.c
drivers/net/mlx4/fw.h
drivers/net/mlx4/main.c
drivers/net/mlx4/mlx4.h
drivers/net/mlx4/port.c
include/linux/mlx4/device.h