diff options
author | Achiad Shochat | 2015-07-23 22:36:00 +0200 |
---|---|---|
committer | David S. Miller | 2015-07-27 09:29:17 +0200 |
commit | 5a6f8aef16c53ffeb9c1497f0b583269695c067d (patch) | |
tree | 6d5a7a6b8880c7e3a9a3eb5fded5edc5dd425385 /drivers/net/ethernet/mellanox/mlx5/core/en.h | |
parent | net/mlx5e: TX latency optimization to save DMA reads (diff) | |
download | kernel-qcow2-linux-5a6f8aef16c53ffeb9c1497f0b583269695c067d.tar.gz kernel-qcow2-linux-5a6f8aef16c53ffeb9c1497f0b583269695c067d.tar.xz kernel-qcow2-linux-5a6f8aef16c53ffeb9c1497f0b583269695c067d.zip |
net/mlx5e: Cosmetics: use BIT() instead of "1 <<", and others
No logical change in this commit.
Signed-off-by: Achiad Shochat <achiad@mellanox.com>
Signed-off-by: Amir Vadai <amirv@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx5/core/en.h')
-rw-r--r-- | drivers/net/ethernet/mellanox/mlx5/core/en.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/drivers/net/ethernet/mellanox/mlx5/core/en.h b/drivers/net/ethernet/mellanox/mlx5/core/en.h index b66edd2c5a61..39294f2fbaac 100644 --- a/drivers/net/ethernet/mellanox/mlx5/core/en.h +++ b/drivers/net/ethernet/mellanox/mlx5/core/en.h @@ -330,14 +330,14 @@ struct mlx5e_channel { }; enum mlx5e_traffic_types { - MLX5E_TT_IPV4_TCP = 0, - MLX5E_TT_IPV6_TCP = 1, - MLX5E_TT_IPV4_UDP = 2, - MLX5E_TT_IPV6_UDP = 3, - MLX5E_TT_IPV4 = 4, - MLX5E_TT_IPV6 = 5, - MLX5E_TT_ANY = 6, - MLX5E_NUM_TT = 7, + MLX5E_TT_IPV4_TCP, + MLX5E_TT_IPV6_TCP, + MLX5E_TT_IPV4_UDP, + MLX5E_TT_IPV6_UDP, + MLX5E_TT_IPV4, + MLX5E_TT_IPV6, + MLX5E_TT_ANY, + MLX5E_NUM_TT, }; enum { |