diff options
Diffstat (limited to 'drivers/net/mlx4/mlx4_en.h')
-rw-r--r-- | drivers/net/mlx4/mlx4_en.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/net/mlx4/mlx4_en.h b/drivers/net/mlx4/mlx4_en.h index 2db245fcd84b..07aea8d0beeb 100644 --- a/drivers/net/mlx4/mlx4_en.h +++ b/drivers/net/mlx4/mlx4_en.h | |||
@@ -479,6 +479,13 @@ struct mlx4_en_priv { | |||
479 | int mc_addrs_cnt; | 479 | int mc_addrs_cnt; |
480 | struct mlx4_en_stat_out_mbox hw_stats; | 480 | struct mlx4_en_stat_out_mbox hw_stats; |
481 | int vids[128]; | 481 | int vids[128]; |
482 | bool wol; | ||
483 | }; | ||
484 | |||
485 | enum mlx4_en_wol { | ||
486 | MLX4_EN_WOL_MAGIC = (1ULL << 61), | ||
487 | MLX4_EN_WOL_ENABLED = (1ULL << 62), | ||
488 | MLX4_EN_WOL_DO_MODIFY = (1ULL << 63), | ||
482 | }; | 489 | }; |
483 | 490 | ||
484 | 491 | ||