mlx4: Match DMFS promiscuous field names to firmware spec
authorHadar Hen Zion <hadarh@mellanox.com>
Wed, 24 Apr 2013 13:58:45 +0000 (13:58 +0000)
committerRoland Dreier <roland@purestorage.com>
Thu, 25 Apr 2013 00:51:29 +0000 (17:51 -0700)
commitf91625398a2e6e03f0155861b630021ceddb42e7
tree1c48ebeed68c41b8b11f1ac6a42ae6e369a1c0f6
parent3cd0e1789ad39c3b7ed006ce53a83328bdadbee8
mlx4: Match DMFS promiscuous field names to firmware spec

Align the names used by enum mlx4_net_trans_promisc_mode with the
actual firmware specification.  The patch doesn't introduce any
functional change or API change towards the firmware.

Remove MLX4_FS_PROMISC_FUNCTION_PORT which isn't of use.  Add new
enums MLX4_FS_{UC/MC}_SNIFFER as a preparation step for sniffer
support.

Signed-off-by: Hadar Hen Zion <hadarh@mellanox.com>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/net/ethernet/mellanox/mlx4/en_ethtool.c
drivers/net/ethernet/mellanox/mlx4/en_netdev.c
drivers/net/ethernet/mellanox/mlx4/mcg.c
include/linux/mlx4/device.h