MT#55283 split out counter_stats_fields.inc

... and move to kernel module.

Keep the common fields at the beginning of the header in place for both
user space and kernel space, and move the remaining (user only) fields
into a separate header. The kernel module doesn't need to know about
these extra fields.

Change-Id: I9865349e948aacd09753a1b4610098a4d1fc823d
pull/1826/head
Richard Fuchs 1 year ago
parent 4cee2c1fa7
commit e08c46a358

@ -1,9 +1,7 @@
#include "common_counter_stats_fields.inc"
F(packets_user)
F(bytes_user)
F(errors_user)
F(packets_kernel)
F(bytes_kernel)
F(errors_kernel)
FA(ng_commands, NGC_COUNT)
F(timeout_sess)
F(managed_sess)

@ -0,0 +1,3 @@
F(packets_kernel)
F(bytes_kernel)
F(errors_kernel)

@ -0,0 +1 @@
#include "common_counter_stats_fields.inc"
Loading…
Cancel
Save