mirror of
https://github.com/torvalds/linux.git
synced 2024-12-23 19:31:53 +00:00
27bf91d6a0
When a port's link is down (except to driver restart) and the port is configured for auto sensing, we try to sense port link type (Ethernet or InfiniBand) in order to determine how to initialize the port. If the port type needs to be changed, all mlx4 for the device interfaces are unregistered and then registered again with the new port types. Sensing is done with intervals of 3 seconds. Signed-off-by: Yevgeny Petrilin <yevgenyp@mellanox.co.il> Signed-off-by: Roland Dreier <rolandd@cisco.com>
10 lines
329 B
Makefile
10 lines
329 B
Makefile
obj-$(CONFIG_MLX4_CORE) += mlx4_core.o
|
|
|
|
mlx4_core-y := alloc.o catas.o cmd.o cq.o eq.o fw.o icm.o intf.o main.o mcg.o \
|
|
mr.o pd.o port.o profile.o qp.o reset.o sense.o srq.o
|
|
|
|
obj-$(CONFIG_MLX4_EN) += mlx4_en.o
|
|
|
|
mlx4_en-y := en_main.o en_tx.o en_rx.o en_params.o en_port.o en_cq.o \
|
|
en_resources.o en_netdev.o
|