Page MenuHomeFreeBSD

gallatin (Andrew Gallatin)
User

Projects

User Details

User Since
Jun 22 2015, 5:21 PM (537 w, 6 d)

Recent Activity

Thu, Oct 9

gallatin added a comment to D52989: tcp lro: use flowid only when it has hash properties.

Also, this needs to be MFC'ed to 15 for the release..

Thu, Oct 9, 12:28 PM
gallatin accepted D52989: tcp lro: use flowid only when it has hash properties.

To be clear, igc worked fine when configured with multiple queues. I had configured it with a single rx queue in order to debug something else, and it took the somewhat reasonable approach of returning garbage as the hash since it didn't need to hash packets to multiple queues. Thank you for coming up with this... it is much cleaner than my solution, and should ensure that any other non-iflib drivers avoid this behavior as well.

Thu, Oct 9, 12:27 PM

Tue, Oct 7

gallatin added inline comments to D52959: kernel: MK_REPRODUCIBLE_PATHS for full paths vs /usr/src.
Tue, Oct 7, 5:43 PM

Wed, Oct 1

gallatin committed rG213170eb956f: iflib: Implement tx desc reclaim threshold (authored by gallatin).
iflib: Implement tx desc reclaim threshold
Wed, Oct 1, 10:57 PM
gallatin closed D52561: iflib: Implement tx desc reclaim threshold.
Wed, Oct 1, 10:57 PM

Wed, Sep 24

gallatin updated the diff for D52561: iflib: Implement tx desc reclaim threshold.

Update patch to address @markj 's feedback, and to properly fix the bug I encountered where doorbells were withheld when using the mp_ring transmit method.

Wed, Sep 24, 10:36 PM

Mon, Sep 22

gallatin added a comment to D52561: iflib: Implement tx desc reclaim threshold.

@markj I've marked things as done as I've done them in my local tree. I'll update the patch once I do some more research into the doorbell issue. thank you for the reveiw!

Mon, Sep 22, 11:16 PM
gallatin accepted D52683: tcp lro: remove redundant check.
Mon, Sep 22, 10:18 PM

Thu, Sep 18

gallatin requested changes to D52088: bnxt_en: Fix Rx CQ consumer index on Thor2 to prevent interrupt storm.
Thu, Sep 18, 2:17 PM
gallatin accepted D52087: bnxt_en: Decode and log "current fault" module events.
Thu, Sep 18, 2:13 PM
gallatin accepted D52086: bnxt_en: Fix kernel panic by avoiding softirq reallocation in FW crash recovery.
Thu, Sep 18, 2:11 PM
gallatin added inline comments to D52085: bnxt_en: Periodically synchronize host time with firmware.
Thu, Sep 18, 2:10 PM
gallatin accepted D52084: bnxt_re: Prevent load on unsupported Thor2 controllers.
Thu, Sep 18, 2:06 PM

Tue, Sep 16

gallatin added inline comments to D52561: iflib: Implement tx desc reclaim threshold.
Tue, Sep 16, 8:14 PM
gallatin added a reviewer for D52561: iflib: Implement tx desc reclaim threshold: glebius.
Tue, Sep 16, 8:11 PM

Mon, Sep 15

gallatin requested review of D52561: iflib: Implement tx desc reclaim threshold.
Mon, Sep 15, 9:51 PM

Sep 11 2025

gallatin closed D52369: iflib: report output drops and handle ENOBUFS properly.
Sep 11 2025, 12:23 AM

Sep 10 2025

gallatin committed rG6577e32ea2c7: iflib: report output drops and handle ENOBUFS properly (authored by gallatin).
iflib: report output drops and handle ENOBUFS properly
Sep 10 2025, 2:01 PM

Sep 8 2025

gallatin updated the diff for D52369: iflib: report output drops and handle ENOBUFS properly.
  • remove extra space in iflib_if_get_counter as pointed out by @kbowling
Sep 8 2025, 7:49 PM
gallatin added a comment to D52369: iflib: report output drops and handle ENOBUFS properly.

Instead of making each driver report 0 if it doesn't collect a drop counter from the MAC, and treating these counters as a special case in iflib_if_get_counter(), wouldn't it be simpler and cleaner to make them all drivers return the value from if_get_counter_default()?

Sep 8 2025, 7:45 PM
gallatin updated the diff for D52369: iflib: report output drops and handle ENOBUFS properly.

reversed logic and made the driver responsible to query the generic counters for odrop/oerr rather than iflib.

Sep 8 2025, 7:31 PM

Sep 5 2025

gallatin added inline comments to D52369: iflib: report output drops and handle ENOBUFS properly.
Sep 5 2025, 3:27 PM
gallatin added inline comments to D52369: iflib: report output drops and handle ENOBUFS properly.
Sep 5 2025, 1:08 PM
gallatin updated the diff for D52369: iflib: report output drops and handle ENOBUFS properly.

Updated drivers that were getting generic counters using if_get_counter_default() as part of their ifdi_get_counter method to avoid getting generic counters for output drops and output errors, as suggested by @markj .

Sep 5 2025, 1:08 PM

Sep 4 2025

gallatin updated the diff for D52369: iflib: report output drops and handle ENOBUFS properly.
  • Call iflib_remove_mbuf() to unmap and remove the mbuf from list of mbufs to be freed when we free an mbuf due to ENOBUFS
Sep 4 2025, 12:23 AM

Sep 3 2025

gallatin requested review of D52369: iflib: report output drops and handle ENOBUFS properly.
Sep 3 2025, 8:49 PM

Aug 20 2025

gallatin committed rG84f8ca1bd11d: iflib: add a simple transmit routine (authored by gallatin).
iflib: add a simple transmit routine
Aug 20 2025, 4:51 PM
gallatin closed D51905: iflib: add a simple transmit routine.
Aug 20 2025, 4:51 PM

Aug 14 2025

gallatin added a reviewer for D51905: iflib: add a simple transmit routine: olivier.
Aug 14 2025, 9:33 PM
gallatin requested review of D51905: iflib: add a simple transmit routine.
Aug 14 2025, 9:31 PM

Aug 12 2025

gallatin committed rGe69573bc2bee: iflib: simplify lro & use tcp_lro_queue_mbuf() (authored by gallatin).
iflib: simplify lro & use tcp_lro_queue_mbuf()
Aug 12 2025, 6:03 PM
gallatin closed D51772: iflib: simplify lro & use lro_queue_mbuf().
Aug 12 2025, 6:02 PM
gallatin updated the diff for D51772: iflib: simplify lro & use lro_queue_mbuf().
Aug 12 2025, 5:41 PM
gallatin added a comment to D51772: iflib: simplify lro & use lro_queue_mbuf().

removing forwarding checks ... LRO already does this

But LRO only checks the forwarding configuration when it actually comes time to process packets. With this patch, if forwarding is enabled, we'll do a bunch of needless sorting.

Aug 12 2025, 5:39 PM

Aug 9 2025

gallatin edited P664 (An Untitled Masterwork).
Aug 9 2025, 4:49 PM
gallatin created P664 (An Untitled Masterwork).
Aug 9 2025, 4:48 PM

Aug 7 2025

gallatin committed rGc224b2ce7de0: iflib: don't pullup UDP payloads to the TCP header size (authored by gallatin).
iflib: don't pullup UDP payloads to the TCP header size
Aug 7 2025, 3:07 PM
gallatin closed D51748: iflib: don't pullup UDP payloads to the TCP header size.
Aug 7 2025, 3:07 PM

Aug 6 2025

gallatin requested review of D51772: iflib: simplify lro & use lro_queue_mbuf().
Aug 6 2025, 9:11 PM

Aug 5 2025

gallatin updated the diff for D51748: iflib: don't pullup UDP payloads to the TCP header size.

Address Eric's style(9) nits and remove space in front of parans in sizeof

Aug 5 2025, 7:30 PM
gallatin added inline comments to D51748: iflib: don't pullup UDP payloads to the TCP header size.
Aug 5 2025, 6:27 PM
gallatin updated the diff for D51748: iflib: don't pullup UDP payloads to the TCP header size.

Update diff to address Gleb's feedback

Aug 5 2025, 6:26 PM
gallatin added a reviewer for D51748: iflib: don't pullup UDP payloads to the TCP header size: glebius.
Aug 5 2025, 6:09 PM
gallatin requested review of D51748: iflib: don't pullup UDP payloads to the TCP header size.
Aug 5 2025, 6:05 PM

Jul 26 2025

gallatin committed rG83a352bcac0a: lagg: Fix if_hw_tsomax_update() not being called (authored by gallatin).
lagg: Fix if_hw_tsomax_update() not being called
Jul 26 2025, 8:42 PM

Jul 12 2025

gallatin committed rG78bdaa57cfba: lagg: Fix if_hw_tsomax_update() not being called (authored by gallatin).
lagg: Fix if_hw_tsomax_update() not being called
Jul 12 2025, 10:40 PM

Jun 29 2025

gallatin committed rG20e15e905c58: mlx5: Decrease FW init timeout from 120 seconds to 5 seconds (authored by gallatin).
mlx5: Decrease FW init timeout from 120 seconds to 5 seconds
Jun 29 2025, 8:53 PM

Jun 24 2025

gallatin accepted D51000: sysctl net.inet.tcp.ktlslist: do not rely on global generation for ktls sessions.

Thank you for moving to this solution, away from a global atomic.

Jun 24 2025, 1:30 PM
gallatin added inline comments to D50653: Add sysctl net.inet.tcp.ktlslist.
Jun 24 2025, 2:31 AM
gallatin added inline comments to D50653: Add sysctl net.inet.tcp.ktlslist.
Jun 24 2025, 1:16 AM

Jun 9 2025

gallatin added inline comments to D50546: hwpmc: Support an older application running the old ABI.
Jun 9 2025, 5:24 PM

May 28 2025

gallatin added a comment to D50546: hwpmc: Support an older application running the old ABI.

This generally seems fine to me, but I'm not familiar with the original change and wonder why the compat shims are so coupled to the one application.

May 28 2025, 8:48 PM
gallatin added a comment to D50546: hwpmc: Support an older application running the old ABI.

Should we put the sysctl in the manual?

May 28 2025, 6:39 PM

May 27 2025

gallatin requested review of D50546: hwpmc: Support an older application running the old ABI.
May 27 2025, 4:40 PM

Apr 22 2025

gallatin accepted D49920: so_splice: Disallow splicing with KTLS-enabled sockets.
Apr 22 2025, 11:56 AM

Apr 15 2025

gallatin committed rGb836c229aa5a: ip6: leave room for link headers in UDP (authored by gallatin).
ip6: leave room for link headers in UDP
Apr 15 2025, 11:46 PM
gallatin closed D49840: ipv6: leave room for link headers in UDP.
Apr 15 2025, 11:46 PM
gallatin updated the diff for D49840: ipv6: leave room for link headers in UDP.

Update to use hlen, which already holds the size of the ip6 hdr, as suggested by glebius

Apr 15 2025, 7:15 PM
gallatin requested review of D49840: ipv6: leave room for link headers in UDP.
Apr 15 2025, 5:38 PM

Apr 14 2025

gallatin accepted D49814: so_splice: Synchronize so_unsplice() with so_splice().
Apr 14 2025, 10:29 PM

Mar 22 2025

gallatin accepted D49437: socket: Fix a race in the SO_SPLICE state machine.
Mar 22 2025, 12:02 AM

Mar 20 2025

gallatin committed rGb429d50df97b: ifconfig: fix reporting optics on most 100g interfaces (authored by gallatin).
ifconfig: fix reporting optics on most 100g interfaces
Mar 20 2025, 3:29 PM

Mar 14 2025

gallatin accepted D49349: uma: Avoid excessive per-CPU draining.
Mar 14 2025, 5:38 PM
gallatin accepted D49215: In Memoriam: Hans Petter Selasky.
Mar 14 2025, 5:35 PM

Feb 25 2025

gallatin committed rG709348c21351: ifconfig: fix reporting optics on most 100g interfaces (authored by gallatin).
ifconfig: fix reporting optics on most 100g interfaces
Feb 25 2025, 7:27 PM
gallatin closed D49127: ifconfig: fix a bug where most optics on 100G and faster NICs are not properly reported.
Feb 25 2025, 7:26 PM

Feb 24 2025

gallatin updated the summary of D49127: ifconfig: fix a bug where most optics on 100G and faster NICs are not properly reported.
Feb 24 2025, 10:47 PM
gallatin requested review of D49127: ifconfig: fix a bug where most optics on 100G and faster NICs are not properly reported.
Feb 24 2025, 10:46 PM

Feb 7 2025

gallatin committed rGd942e2828cab: mlx5en: Fix SIOCSIFCAPNV (authored by gallatin).
mlx5en: Fix SIOCSIFCAPNV
Feb 7 2025, 3:34 PM

Feb 5 2025

gallatin committed rG194bb58b80c1: x86: Fixes for nmi/pmi interrupt sharing (authored by gallatin).
x86: Fixes for nmi/pmi interrupt sharing
Feb 5 2025, 3:27 PM

Jan 31 2025

gallatin committed rG36fdc42c6a4c: mlx5en: Fix SIOCSIFCAPNV (authored by gallatin).
mlx5en: Fix SIOCSIFCAPNV
Jan 31 2025, 2:01 AM
gallatin accepted D48729: netstat: restore printing the "default" keyword, provide -nn option.

Thank you!

Jan 31 2025, 1:23 AM

Jan 29 2025

gallatin added a comment to D10320: usr.bin/netstat: -n should not print symbolic names.

I'd very much like for this to be backed out. I feel like users will be chasing the breakage caused by this for years. It broke some tests, iocage, and nstat that I know of in the 5 minutes I've been aware of the commit.

Jan 29 2025, 9:40 PM

Jan 15 2025

gallatin committed rGcf9070746742: Introduce the UMA_ZONE_NOTRIM uma zone type (authored by gallatin).
Introduce the UMA_ZONE_NOTRIM uma zone type
Jan 15 2025, 5:24 PM
gallatin closed D48451: add UMA_ZONE_NOTRIM & use it for the ktls_buffer zone.
Jan 15 2025, 5:23 PM

Jan 13 2025

gallatin requested review of D48451: add UMA_ZONE_NOTRIM & use it for the ktls_buffer zone.
Jan 13 2025, 7:50 PM

Nov 25 2024

gallatin accepted D47735: ktls: Enable by default.
Nov 25 2024, 3:25 PM
gallatin accepted D47720: setsockopt.2.
Nov 25 2024, 3:21 PM

Nov 15 2024

gallatin committed rG4605a99b51ab: aio: remove write-only jobid & kernelinfo (authored by gallatin).
aio: remove write-only jobid & kernelinfo
Nov 15 2024, 3:49 PM
gallatin closed D47583: aio: remove write-only jobid & kernelinfo.
Nov 15 2024, 3:49 PM

Nov 14 2024

gallatin added a comment to D47518: aio: improve lock contention on the aio_job_mtx.

Super helpful review, John. I just opened a new review (https://reviews.freebsd.org/D47583) for the simplest suggested change. Will work on your other suggestions.

Nov 14 2024, 11:25 PM
gallatin requested review of D47583: aio: remove write-only jobid & kernelinfo.
Nov 14 2024, 11:24 PM

Nov 13 2024

gallatin added inline comments to D47518: aio: improve lock contention on the aio_job_mtx.
Nov 13 2024, 9:54 PM

Nov 12 2024

gallatin added inline comments to D47518: aio: improve lock contention on the aio_job_mtx.
Nov 12 2024, 2:53 PM
gallatin added inline comments to D47518: aio: improve lock contention on the aio_job_mtx.
Nov 12 2024, 12:00 PM

Nov 11 2024

gallatin added inline comments to D47518: aio: improve lock contention on the aio_job_mtx.
Nov 11 2024, 10:59 PM
gallatin updated the diff for D47518: aio: improve lock contention on the aio_job_mtx.

Address Kib's feedbackj

Nov 11 2024, 10:58 PM
gallatin requested review of D47518: aio: improve lock contention on the aio_job_mtx.
Nov 11 2024, 7:14 PM

Nov 8 2024

gallatin committed rGfd67ff5c7a6c: Use the correct idle routine on recent AMD EPYC servers (authored by gallatin).
Use the correct idle routine on recent AMD EPYC servers
Nov 8 2024, 10:13 PM
gallatin closed D47444: Use correct idle routine on AMD.
Nov 8 2024, 10:13 PM

Nov 6 2024

gallatin added inline comments to D47444: Use correct idle routine on AMD.
Nov 6 2024, 10:39 PM

Nov 4 2024

gallatin requested review of D47444: Use correct idle routine on AMD.
Nov 4 2024, 10:25 PM

Oct 28 2024

gallatin committed rGee373c1234d3: acpi_ged: Handle events directly (authored by gallatin).
acpi_ged: Handle events directly
Oct 28 2024, 11:03 PM
gallatin added a comment to D47294: if_bridge: Mask MEXTPG if some members don't support it.

Why do we want or need a hardcoded list? Why can't this function be more like lagg_capabilities()? If we do want a hardcoded list, what about IFCAP_TXTLS*

That's a good question. if_bridge could probably be smarter, indeed.

Why exactly does if_bridge need to care about IFCAP_TXTLS*?

Oct 28 2024, 5:29 PM
gallatin accepted D47295: tuntap: Enable MEXTPG support.
Oct 28 2024, 2:06 PM
gallatin accepted D47294: if_bridge: Mask MEXTPG if some members don't support it.

Why do we want or need a hardcoded list? Why can't this function be more like lagg_capabilities()? If we do want a hardcoded list, what about IFCAP_TXTLS*

Oct 28 2024, 2:05 PM

Oct 25 2024

gallatin added a comment to D47287: cam: Don't log invalid cdb errors.

I'd personally want to keep these messages with bootverbose.. I can imagine it might be handy to see them at times...

Oct 25 2024, 10:48 PM

Oct 23 2024

gallatin committed rG49597c3e84c4: mlx5e: Use M_WAITOK when allocating TLS tags (authored by gallatin).
mlx5e: Use M_WAITOK when allocating TLS tags
Oct 23 2024, 7:58 PM
gallatin closed D47260: mlx5e: Immediately initialize TLS send tags.
Oct 23 2024, 7:53 PM
gallatin committed rG81dbc22ce8b6: mlx5e: Immediately initialize TLS send tags (authored by gallatin).
mlx5e: Immediately initialize TLS send tags
Oct 23 2024, 7:53 PM