net/mlx4_core: Fix wrong dump of the vxlan offloads device capability
authorOr Gerlitz <ogerlitz@mellanox.com>
Wed, 12 Mar 2014 15:16:30 +0000 (17:16 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 12 Mar 2014 20:12:41 +0000 (16:12 -0400)
commit56cb456746a15c1025a178466492ca4c373b1a63
treef3917acad19dcf56e1f29d8c65ac8a24de19769f
parent836fbaf459f9c041826864021688e9bd131e722c
net/mlx4_core: Fix wrong dump of the vxlan offloads device capability

Fix the value used to dump the vxlan offloads device capability to align
with the MLX4_DEV_CAP_FLAG2_yyy definition. While on that, add dump to
the IPoIB flow-steering device capability and fix small typo.

The vxlan cap value wasn't fully handled when a conflict was resolved
between MLX4_DEV_CAP_FLAG2_DMFS_IPOIB coming from the IB tree to
MLX4_DEV_CAP_FLAG2_VXLAN_OFFLOADS coming from net-next.

Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/fw.c