summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/mellanox/mlx5/core/en.h
diff options
context:
space:
mode:
authorEli Cohen2016-06-27 11:08:34 +0200
committerDavid S. Miller2016-06-29 10:28:46 +0200
commite0f46eb9f64ca2e97d242b6e02b8ae2c7fe6dc56 (patch)
tree2406add77b722015a69501b7d46484d2e4444818 /drivers/net/ethernet/mellanox/mlx5/core/en.h
parentnet/mlx5: Add ConnectX-5 PCIe 4.0 to list of supported devices (diff)
downloadkernel-qcow2-linux-e0f46eb9f64ca2e97d242b6e02b8ae2c7fe6dc56.tar.gz
kernel-qcow2-linux-e0f46eb9f64ca2e97d242b6e02b8ae2c7fe6dc56.tar.xz
kernel-qcow2-linux-e0f46eb9f64ca2e97d242b6e02b8ae2c7fe6dc56.zip
net/mlx5e: Change enum to better reflect usage
Change MLX5E_STATE_ASYNC_EVENTS_ENABLE to MLX5E_STATE_ASYNC_EVENTS_ENABLED since it represent a state and not an operation. Fixes: acff797cd1874 ('net/mlx5: Extend mlx5_core to support ConnectX-4 Ethernet functionality') Signed-off-by: Eli Cohen <eli@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/mellanox/mlx5/core/en.h b/drivers/net/ethernet/mellanox/mlx5/core/en.h
index e8a6c3325b39..baa991a23475 100644
--- a/drivers/net/ethernet/mellanox/mlx5/core/en.h
+++ b/drivers/net/ethernet/mellanox/mlx5/core/en.h
@@ -401,7 +401,7 @@ enum mlx5e_traffic_types {
};
enum {
- MLX5E_STATE_ASYNC_EVENTS_ENABLE,
+ MLX5E_STATE_ASYNC_EVENTS_ENABLED,
MLX5E_STATE_OPENED,
MLX5E_STATE_DESTROYING,
};