aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_output.c
diff options
context:
space:
mode:
authorVlad Buslov <[email protected]>2020-01-21 17:38:21 +0000
committerSaeed Mahameed <[email protected]>2020-01-23 06:30:12 +0000
commit8a236b15144b29ce47f80c37bc55740a5388ecb1 (patch)
treec06570e5af1b6eb1928200805dfd578e0b3a72e9 /net/ipv4/tcp_output.c
parentnet/mlx5e: IPoIB, use separate stats groups (diff)
downloadkernel-8a236b15144b29ce47f80c37bc55740a5388ecb1.tar.gz
kernel-8a236b15144b29ce47f80c37bc55740a5388ecb1.zip
net/mlx5e: Convert rep stats to mlx5e_stats_grp-based infra
In order to support all of the supported stats that are available in legacy mode for switchdev uplink representors, convert rep stats infrastructure to reuse struct mlx5e_stats_grp that is already used when device is in legacy mode. Refactor rep code to use array of mlx5e_stats_grp structures (constructed using macros provided by stats infra) to fill/update stats, instead of fixed hardcoded set of values. This approach allows to easily extend representors with new stats types. Signed-off-by: Vlad Buslov <[email protected]> Reviewed-by: Roi Dayan <[email protected]> Signed-off-by: Saeed Mahameed <[email protected]>
Diffstat (limited to 'net/ipv4/tcp_output.c')
0 files changed, 0 insertions, 0 deletions