]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitff8c5bccbd53343af9e84fc9eb84df0512fd3783
treef3917acad19dcf56e1f29d8c65ac8a24de19769f
parentb3a443298ab60f6883cee9fb163cd335980b621b
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