aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/mlx5/mlx5_en/en_hw_tls.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/mlx5/mlx5_en/en_hw_tls.h')
-rw-r--r--sys/dev/mlx5/mlx5_en/en_hw_tls.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/mlx5/mlx5_en/en_hw_tls.h b/sys/dev/mlx5/mlx5_en/en_hw_tls.h
index 2018198e5e52..d637314e040e 100644
--- a/sys/dev/mlx5/mlx5_en/en_hw_tls.h
+++ b/sys/dev/mlx5/mlx5_en/en_hw_tls.h
@@ -84,7 +84,7 @@ struct mlx5e_tls {
struct workqueue_struct *wq;
uma_zone_t zone;
uint32_t max_resources; /* max number of resources */
- volatile uint32_t num_resources; /* current number of resources */
+ int zone_max;
int init; /* set when ready */
char zname[32];
};