opnsense-src/sys/dev/dpaa2
Michael Tuexen 2fce3f2712 dpaa2: add support for several interface counters
Add support for IFCOUNTER_IPACKETS, IFCOUNTER_OPACKETS,
IFCOUNTER_OBYTES, IFCOUNTER_OMCASTS, IFCOUNTER_OERRORS, and
IFCOUNTER_OQDROPS.
This allows tools like systat to report the incoming and outgoing
bandwidth.

Reviewed by:		dsl, Timo Völker
Differential Revision:	https://reviews.freebsd.org/D54893

(cherry picked from commit 33596d92555e5b1632fca14eb9af295e4b8f751c)
2026-04-24 14:30:09 +02:00
..
dpaa2_bp.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
dpaa2_bp.h dpaa2: Avoid dpaa2_cmd race conditions 2023-04-19 17:39:05 +02:00
dpaa2_buf.c dpaa2: Extract frame-specific routines to dpaa2_frame.[h,c] 2026-04-22 10:06:12 +02:00
dpaa2_buf.h dpaa2: Extract frame-specific routines to dpaa2_frame.[h,c] 2026-04-22 10:06:12 +02:00
dpaa2_channel.c dpaa2: Stop checking for failures from malloc/taskqueue_create(M_WAITOK) 2024-09-03 18:25:37 +08:00
dpaa2_channel.h dpaa2: Clean up channels in separate tasks 2023-08-20 10:17:26 +02:00
dpaa2_cmd_if.m
dpaa2_con.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
dpaa2_con.h dpaa2: Avoid dpaa2_cmd race conditions 2023-04-19 17:39:05 +02:00
dpaa2_console.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
dpaa2_frame.c dpaa2: Extract checksum statuses on ingress 2026-04-22 10:06:26 +02:00
dpaa2_frame.h dpaa2: Extract checksum statuses on ingress 2026-04-22 10:06:26 +02:00
dpaa2_io.c dpaa2: Clean up channels in separate tasks 2023-08-20 10:17:26 +02:00
dpaa2_io.h dpaa2: Clean up channels in separate tasks 2023-08-20 10:17:26 +02:00
dpaa2_mac.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
dpaa2_mac.h dpaa2: Avoid dpaa2_cmd race conditions 2023-04-19 17:39:05 +02:00
dpaa2_mc.c Remove now-redundant calls to device_delete_children 2025-01-02 13:22:50 -05:00
dpaa2_mc.h new-bus: Remove the 'rid' and 'type' arguments from BUS_RELEASE_RESOURCE 2024-03-13 15:05:54 -07:00
dpaa2_mc_acpi.c newbus: replace leftover device unit wildcards 2025-06-21 05:57:45 +03:00
dpaa2_mc_fdt.c Replace calls to bus_generic_probe with bus_identify_children 2024-12-06 17:26:05 -05:00
dpaa2_mc_if.m
dpaa2_mcp.c dpaa2: Clean up channels in separate tasks 2023-08-20 10:17:26 +02:00
dpaa2_mcp.h dpaa2: Clean up channels in separate tasks 2023-08-20 10:17:26 +02:00
dpaa2_ni.c dpaa2: add support for several interface counters 2026-04-24 14:30:09 +02:00
dpaa2_ni.h dpaa2: ni: add more stats and link information 2026-04-22 22:47:17 +00:00
dpaa2_ni_dpkg.h
dpaa2_rc.c dpaa2: ni: add more stats and link information 2026-04-22 22:47:17 +00:00
dpaa2_swp.c dpaa2: Clean up channels in separate tasks 2023-08-20 10:17:26 +02:00
dpaa2_swp.h dpaa2: Extract frame-specific routines to dpaa2_frame.[h,c] 2026-04-22 10:06:12 +02:00
dpaa2_swp_if.m
dpaa2_types.c dpaa2: Clean up channels in separate tasks 2023-08-20 10:17:26 +02:00
dpaa2_types.h dpaa2: Extract frame-specific routines to dpaa2_frame.[h,c] 2026-04-22 10:06:12 +02:00
memac_mdio.h
memac_mdio_acpi.c newbus: replace leftover device unit wildcards 2025-06-21 05:57:45 +03:00
memac_mdio_common.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
memac_mdio_fdt.c Replace calls to bus_generic_probe with bus_identify_children 2024-12-06 17:26:05 -05:00
memac_mdio_if.m sys: Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:54:58 -06:00