]> www.infradead.org Git - users/jedix/linux-maple.git/commit
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)
committerJoe Jin <joe.jin@oracle.com>
Thu, 15 Dec 2011 01:20:29 +0000 (09:20 +0800)
commit7442a0acfa2848b244f5b656c230e6fbc95506ba
tree7b0773e8b7f03d9c649ce6837cab23ac6252037d
parent332821321a2f6359d027246e79d944af3e016abc
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>
(cherry picked from commit ccf863219675aa86bebdd6a2806acb8176478e37)

Signed-off-by: Joe Jin <joe.jin@oracle.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