net/mlx4: Move MAC_MASK to a common place
Define this macro is one common place instead of duplicating it over the code Signed-off-by: Amir Vadai <amirv@mellanox.com> Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
0cc535a299
commit
af22d9de45
@@ -37,6 +37,8 @@
|
||||
|
||||
struct mlx4_dev;
|
||||
|
||||
#define MLX4_MAC_MASK 0xffffffffffffULL
|
||||
|
||||
enum mlx4_dev_event {
|
||||
MLX4_DEV_EVENT_CATASTROPHIC_ERROR,
|
||||
MLX4_DEV_EVENT_PORT_UP,
|
||||
|
Reference in New Issue
Block a user