aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorHadar Hen Zion <hadarh@mellanox.com>2013-04-24 09:58:45 -0400
committerRoland Dreier <roland@purestorage.com>2013-04-24 20:51:29 -0400
commitf91625398a2e6e03f0155861b630021ceddb42e7 (patch)
tree1c48ebeed68c41b8b11f1ac6a42ae6e369a1c0f6 /include
parent3cd0e1789ad39c3b7ed006ce53a83328bdadbee8 (diff)
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>
Diffstat (limited to 'include')
-rw-r--r--include/linux/mlx4/device.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/include/linux/mlx4/device.h b/include/linux/mlx4/device.h
index 9fbf416fa694..b2fe59d199f8 100644
--- a/include/linux/mlx4/device.h
+++ b/include/linux/mlx4/device.h
@@ -896,11 +896,12 @@ static inline int map_hw_to_sw_id(u16 header_id)
896} 896}
897 897
898enum mlx4_net_trans_promisc_mode { 898enum mlx4_net_trans_promisc_mode {
899 MLX4_FS_PROMISC_NONE = 0, 899 MLX4_FS_REGULAR = 1,
900 MLX4_FS_PROMISC_UPLINK, 900 MLX4_FS_ALL_DEFAULT,
901 /* For future use. Not implemented yet */ 901 MLX4_FS_MC_DEFAULT,
902 MLX4_FS_PROMISC_FUNCTION_PORT, 902 MLX4_FS_UC_SNIFFER,
903 MLX4_FS_PROMISC_ALL_MULTI, 903 MLX4_FS_MC_SNIFFER,
904
904}; 905};
905 906
906struct mlx4_spec_eth { 907struct mlx4_spec_eth {