aboutsummaryrefslogtreecommitdiff
path: root/contrib/llvm-project/compiler-rt/lib/builtins/umoddi3.c
diff options
context:
space:
mode:
authorAndrew Gallatin <gallatin@FreeBSD.org>2025-09-10 13:17:35 +0000
committerAndrew Gallatin <gallatin@FreeBSD.org>2025-09-10 13:55:24 +0000
commit6577e32ea2c7868c275eae6d1c68f1c37d418c71 (patch)
treef856e372f9c9347415f303c2948a3e9dd6a9dbed /contrib/llvm-project/compiler-rt/lib/builtins/umoddi3.c
parent9365a328596c9f156deaa15fa018b76b3a6e6b18 (diff)
iflib: report output drops and handle ENOBUFS properlyHEADmain
- Fix an mbuf leak with iflib.simple_tx=1 when we run out of tx descs in iflib_encap(). It seems odd to free the mbuf in iflib_encap(), but that routine consumes mbufs for other reasons, and it seemed safest to free there rather than have the simple tx routine parse return values to determine what needed to be freed. - Increment counters for output drops when ENOBUFS is encountered and output errors when other transmit errors are encountered for both the simple and normal tx routines. - Performed driver changes so that iflib drivers now add the generic output drop and output error counters to their private counters in their ifdi_get_counter routines. Reviewed by: kbowling, markj Differential Revision: https://reviews.freebsd.org/D52369 Sponsored by: Netflix
Diffstat (limited to 'contrib/llvm-project/compiler-rt/lib/builtins/umoddi3.c')
0 files changed, 0 insertions, 0 deletions