]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Extend the counters framework in mlx5en(4).
authorhselasky <hselasky@FreeBSD.org>
Wed, 8 May 2019 10:59:16 +0000 (10:59 +0000)
committerhselasky <hselasky@FreeBSD.org>
Wed, 8 May 2019 10:59:16 +0000 (10:59 +0000)
commitd1ed83b5a4d8dd6539f9085d28cc83ec0c336dff
treeaa163446be1ca8d1c014a1678f1647073f380013
parentc654e28737a21acb5c1a034c8a0bf2b21db3df3a
Extend the counters framework in mlx5en(4).

Allow more macro arguments and split the variable type and name into
separate arguments. This allows simple and powerful copy and extraction
of values from IFC based structures into SYSCTLs with the use of a single
macro.

MFC after: 3 days
Sponsored by: Mellanox Technologies
sys/dev/mlx5/mlx5_en/en.h
sys/dev/mlx5/mlx5_en/en_rl.h