mlx4_core: Read extended capabilities into the flags field
authorOr Gerlitz <ogerlitz@mellanox.com>
Thu, 7 Jul 2011 19:19:29 +0000 (19:19 +0000)
committerRoland Dreier <roland@purestorage.com>
Tue, 19 Jul 2011 04:04:32 +0000 (21:04 -0700)
commitccf863219675aa86bebdd6a2806acb8176478e37
tree3ef252eb9b51ae6beb0ce0fbe1babdada8ceefb3
parent52eafc68d601afd699b023201b0c6be5209f39ce
mlx4_core: Read extended capabilities into the flags field

Query another dword containing up to 32 extended device capabilities
and merge it into struct mlx4_caps.flags.  Update the code that
handles the current extended device capabilities (e.g UDP RSS, WoL,
vep steering, etc) to use the extended device cap flags field instead
of a field per extended capability.  Initial patch done by Eli Cohen
<eli@mellanox.co.il>.

Signed-off-by: Or Gerlitz <ogerlitz@mellanox.co.il>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/net/mlx4/en_ethtool.c
drivers/net/mlx4/en_main.c
drivers/net/mlx4/en_netdev.c
drivers/net/mlx4/en_port.c
drivers/net/mlx4/en_selftest.c
drivers/net/mlx4/fw.c
drivers/net/mlx4/fw.h
drivers/net/mlx4/main.c
drivers/net/mlx4/mcg.c
drivers/net/mlx4/port.c
include/linux/mlx4/device.h