Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9da5106c authored by Gal Pressman's avatar Gal Pressman Committed by Saeed Mahameed
Browse files

net/mlx5e: Use size_t to store byte offset in statistics descriptors



The byte offset of counter descriptors should be stored in size_t variable
instead of an integer.

Signed-off-by: default avatarGal Pressman <galp@mellanox.com>
Signed-off-by: default avatarSaeed Mahameed <saeedm@mellanox.com>
parent c045deef
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -47,7 +47,7 @@

struct counter_desc {
	char		format[ETH_GSTRING_LEN];
	int		offset; /* Byte offset */
	size_t		offset; /* Byte offset */
};

struct mlx5e_sw_stats {