]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Extend the counters framework in mlx5en(4).
authorHans Petter Selasky <hselasky@FreeBSD.org>
Wed, 8 May 2019 10:59:16 +0000 (10:59 +0000)
committerHans Petter Selasky <hselasky@FreeBSD.org>
Wed, 8 May 2019 10:59:16 +0000 (10:59 +0000)
commit67fd1941705b1eed0b8005d2a85043160998958c
treeaa163446be1ca8d1c014a1678f1647073f380013
parentc71a71bafc3a2792c1c18a3bb4a2a85bc89c0d46
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