linux-kernel-test/drivers/net/mlx4
Eli Cohen 33c87f0af6 mlx4_core: Allow protocol drivers to find corresponding interfaces
Add a mechanism for mlx4 protocol drivers to get a pointer to other
drivers's device objects.  For this, an exported function,
mlx4_get_protocol_dev() is added, which allows a driver to get some
other driver's device based on the protocol that the driver
implements.  Two protocols are added: MLX4_PROTOCOL_IB and
MLX4_PROTOCOL_EN.

This will be used in mlx4 IBoE support so that mlx4_ib can find the
corresponding mlx4_en netdev.

Signed-off-by: Eli Cohen <eli@mellanox.co.il>

[ Clean up and rename a few things.  - Roland ]

Signed-off-by: Roland Dreier <rolandd@cisco.com>
2010-10-25 10:20:39 -07:00
..
alloc.c
catas.c drivers/net/mlx4: Use %pV, pr_<level>, printk_once 2010-07-15 19:05:17 -07:00
cmd.c
cq.c
en_cq.c
en_ethtool.c mlx4: add dynamic LRO disable support 2010-06-28 23:04:10 -07:00
en_main.c mlx4_core: Allow protocol drivers to find corresponding interfaces 2010-10-25 10:20:39 -07:00
en_netdev.c mlx4_en: use net_device dev_id to indicate port number 2010-05-31 00:27:45 -07:00
en_port.c
en_port.h
en_resources.c
en_rx.c
en_tx.c
eq.c drivers/net/mlx4: Use %pV, pr_<level>, printk_once 2010-07-15 19:05:17 -07:00
fw.c
fw.h
icm.c mlx4_core: Clean up mlx4_alloc_icm() a bit 2010-05-20 15:58:22 -07:00
icm.h
intf.c mlx4_core: Allow protocol drivers to find corresponding interfaces 2010-10-25 10:20:39 -07:00
main.c drivers/net/mlx4: Use %pV, pr_<level>, printk_once 2010-07-15 19:05:17 -07:00
Makefile
mcg.c
mlx4_en.h drivers/net/mlx4: Use %pV, pr_<level>, printk_once 2010-07-15 19:05:17 -07:00
mlx4.h drivers/net/mlx4: Use %pV, pr_<level>, printk_once 2010-07-15 19:05:17 -07:00
mr.c drivers/net: use __packed annotation 2010-06-03 03:18:23 -07:00
pd.c
port.c
profile.c
qp.c
reset.c
sense.c
srq.c