Page MenuHomeFreeBSD

rcm (R. Christian McDonald)
User

Projects

User Details

User Since
Apr 13 2023, 7:00 PM (181 w, 5 d)

Recent Activity

Yesterday

rcm updated the diff for D60416: iflib: Ring transmit doorbells once per receive burst.

Start the burst before the receive loop rather than after it, and end it on the error path too, so that packets tcp_lro_queue_mbuf() hands to if_input() from inside the loop are covered; that happens whenever LRO is enabled with IP forwarding on, and igc, em, igb, ix and ixl enable LRO by default.

Tue, Oct 6, 10:08 PM
rcm requested review of D60420: makefs: zfs: Allow the autotrim pool property to be set.
Tue, Oct 6, 8:26 PM
rcm requested review of D60416: iflib: Ring transmit doorbells once per receive burst.
Tue, Oct 6, 6:43 PM

Mon, Oct 5

rcm committed rG481447ad9be2: e1000: Fix the flow control sysctl (authored by rcm).
e1000: Fix the flow control sysctl
Mon, Oct 5, 8:23 PM
rcm closed D60376: e1000: Fix the flow control sysctl.
Mon, Oct 5, 8:23 PM
rcm requested review of D60376: e1000: Fix the flow control sysctl.
Mon, Oct 5, 7:36 PM
rcm committed rGac24108dabca: iflib: Make the deferral test in iflib_txd_db_check() an early return (authored by rcm).
iflib: Make the deferral test in iflib_txd_db_check() an early return
Mon, Oct 5, 6:53 PM
rcm closed D60371: iflib: Make the deferral test in iflib_txd_db_check() an early return.
Mon, Oct 5, 6:53 PM
rcm updated the summary of D60371: iflib: Make the deferral test in iflib_txd_db_check() an early return.
Mon, Oct 5, 6:31 PM
rcm updated the diff for D60371: iflib: Make the deferral test in iflib_txd_db_check() an early return.

removed extraneous space

Mon, Oct 5, 3:42 PM
rcm requested review of D60371: iflib: Make the deferral test in iflib_txd_db_check() an early return.
Mon, Oct 5, 3:26 PM
rcm closed D60290: iflib: Do not ring the transmit doorbell when nothing is pending.
Mon, Oct 5, 3:19 PM
rcm committed rG4a0ec469934a: iflib: Do not ring the transmit doorbell when nothing is pending (authored by rcm).
iflib: Do not ring the transmit doorbell when nothing is pending
Mon, Oct 5, 3:19 PM
rcm committed rG68386f6b551e: igc: Fix the flow control sysctl (authored by rcm).
igc: Fix the flow control sysctl
Mon, Oct 5, 2:07 PM
rcm closed D60363: igc: Fix the flow control sysctl.
Mon, Oct 5, 2:07 PM
rcm updated the diff for D60290: iflib: Do not ring the transmit doorbell when nothing is pending.

The diff is now just the functional change, the early return in iflib_txd_db_check() when ift_db_pending is 0. The inversion will be posted separately as a no-functional-change follow-up.

Mon, Oct 5, 1:50 PM
rcm added inline comments to D60290: iflib: Do not ring the transmit doorbell when nothing is pending.
Mon, Oct 5, 1:47 PM
rcm removed 1 blocking reviewer(s) for D60290: iflib: Do not ring the transmit doorbell when nothing is pending: iflib.
Mon, Oct 5, 1:37 PM
rcm removed 1 blocking reviewer(s) for D60290: iflib: Do not ring the transmit doorbell when nothing is pending: iflib.
Mon, Oct 5, 1:37 PM
rcm requested review of D60363: igc: Fix the flow control sysctl.
Mon, Oct 5, 1:36 PM
rcm added a comment to D60290: iflib: Do not ring the transmit doorbell when nothing is pending.

I'm about to leave on a business trip so I can't give a proper affirmative review, but one thing jumps out without digging into anything.. the multi-line comment and another control flow make it somewhat unpleasing to me. I would investigate a couple ways of writing this, either build the ring decision up with single statement ifs (and line comments as needed), or use de morgans to move true or false around so there are early exits and only one ring decision (perhaps de-indented.. whatever ends up feeling clean after playing with it.

Mon, Oct 5, 12:07 PM
rcm updated the diff for D60290: iflib: Do not ring the transmit doorbell when nothing is pending.
Mon, Oct 5, 12:07 PM
rcm retitled D60290: iflib: Do not ring the transmit doorbell when nothing is pending from iflib: do not ring the transmit doorbell when nothing is pending to iflib: Do not ring the transmit doorbell when nothing is pending.
Mon, Oct 5, 1:41 AM

Sun, Oct 4

rcm closed D60248: libpfctl: remove the state getters that do not take a handle.
Sun, Oct 4, 12:07 PM
rcm committed rGa5b1b2d2c5e5: libpfctl: remove the state getters that do not take a handle (authored by rcm).
libpfctl: remove the state getters that do not take a handle
Sun, Oct 4, 12:07 PM
rcm committed rG66ff9289b041: igc: make the hardware RSS hash agree with the stack's configuration (authored by rcm).
igc: make the hardware RSS hash agree with the stack's configuration
Sun, Oct 4, 12:03 PM
rcm closed D60284: igc: make the hardware RSS hash agree with the stack's configuration.
Sun, Oct 4, 12:02 PM
rcm requested review of D60290: iflib: Do not ring the transmit doorbell when nothing is pending.
Sun, Oct 4, 11:16 AM
rcm updated the diff for D60284: igc: make the hardware RSS hash agree with the stack's configuration.

add full-context diff. no other changes.

Sun, Oct 4, 1:32 AM
rcm added a comment to D60284: igc: make the hardware RSS hash agree with the stack's configuration.

I thought the idea of d9c55b2e8cd6b79f6926278e10a79f1bcca27a4b was to get rid of most of the ifdef. rss_gethashconfig is a public function, why not just apply what you have in the ifdef RSS section always?

Sun, Oct 4, 1:17 AM
rcm updated the diff for D60284: igc: make the hardware RSS hash agree with the stack's configuration.
Sun, Oct 4, 1:16 AM
rcm requested review of D60284: igc: make the hardware RSS hash agree with the stack's configuration.
Sun, Oct 4, 12:16 AM

Sat, Oct 3

rcm committed rGf12b76524d7b: callout: do not retry a try-lock callout sooner than a tick (authored by rcm).
callout: do not retry a try-lock callout sooner than a tick
Sat, Oct 3, 11:59 PM
rcm closed D60246: callout: enforce a minimum retry delay for CALLOUT_TRYLOCK.
Sat, Oct 3, 11:58 PM

Fri, Oct 2

rcm updated the diff for D60248: libpfctl: remove the state getters that do not take a handle.

pivoted to just removing these getters entirely

Fri, Oct 2, 7:15 PM
rcm added a comment to D60248: libpfctl: remove the state getters that do not take a handle.
In D60248#1382592, @kp wrote:

I wonder if we shouldn't just remove these versions of the get_states functions altogether.

This version is unhelpful because it doesn't take the pfctl_handle. There's a _h variant which does, and which should get used instead.

Fri, Oct 2, 7:08 PM
rcm committed rG782c6ea08603: pf: do not leak a source hash row lock in the netlink dump (authored by rcm).
pf: do not leak a source hash row lock in the netlink dump
Fri, Oct 2, 5:13 PM
rcm closed D60251: pf: do not leak a source hash row lock in the netlink dump.
Fri, Oct 2, 5:13 PM
rcm changed the visibility for D60249: netlink: answer a request whose reply ran out of memory.
Fri, Oct 2, 5:06 PM
rcm changed the visibility for D60250: netlink: let a dump wait for its reader.
Fri, Oct 2, 5:06 PM
rcm updated the diff for D60250: netlink: let a dump wait for its reader.
Fri, Oct 2, 5:06 PM
rcm changed the visibility for D60249: netlink: answer a request whose reply ran out of memory.
Fri, Oct 2, 5:02 PM
rcm updated the diff for D60249: netlink: answer a request whose reply ran out of memory.
Fri, Oct 2, 5:00 PM
rcm requested review of D60251: pf: do not leak a source hash row lock in the netlink dump.
Fri, Oct 2, 4:13 PM
rcm updated the diff for D60249: netlink: answer a request whose reply ran out of memory.

The first version made room for NLMSG_DONE by overwriting completed messages in the writer's buffer, which could discard replies to earlier requests from the same send() and still left non-dump requests without an ack. This version drops that: nlmsg_ack() now waits for memory and reports ENOMEM for any reply that ran out of it, so a failed dump ends with NLMSG_ERROR after its complete messages and every request gets an answer.

Fri, Oct 2, 3:45 PM
rcm requested review of D60250: netlink: let a dump wait for its reader.
Fri, Oct 2, 2:53 PM
rcm requested review of D60249: netlink: answer a request whose reply ran out of memory.
Fri, Oct 2, 2:45 PM
rcm requested review of D60248: libpfctl: remove the state getters that do not take a handle.
Fri, Oct 2, 1:59 PM
rcm updated the summary of D60246: callout: enforce a minimum retry delay for CALLOUT_TRYLOCK.
Fri, Oct 2, 1:14 PM
rcm requested review of D60246: callout: enforce a minimum retry delay for CALLOUT_TRYLOCK.
Fri, Oct 2, 12:52 PM

Thu, Oct 1

rcm committed rGf05af59fba69: pf: return per-address feedback from netlink table test (authored by rcm).
pf: return per-address feedback from netlink table test
Thu, Oct 1, 10:40 AM
rcm closed D60146: pf: return per-address feedback from netlink table test.
Thu, Oct 1, 10:40 AM
rcm committed rG5c13a82de8be: pf: remove a source limiter from the id tree if its name is taken (authored by rcm).
pf: remove a source limiter from the id tree if its name is taken
Thu, Oct 1, 10:36 AM
rcm closed D60189: pf: remove a source limiter from the id tree if its name is taken.
Thu, Oct 1, 10:35 AM
rcm committed rG2fa4ef491608: pf: free the packet rate counter of a rule (authored by rcm).
pf: free the packet rate counter of a rule
Thu, Oct 1, 10:33 AM
rcm closed D60190: pf: free the packet rate counter of a rule.
Thu, Oct 1, 10:33 AM
rcm requested review of D60190: pf: free the packet rate counter of a rule.
Thu, Oct 1, 12:20 AM
rcm requested review of D60189: pf: remove a source limiter from the id tree if its name is taken.
Thu, Oct 1, 12:06 AM

Wed, Sep 30

rcm committed rG6d7f0162bd5d: pf: take the rules read lock in pf_handle_getrule() (authored by rcm).
pf: take the rules read lock in pf_handle_getrule()
Wed, Sep 30, 11:36 PM
rcm closed D60161: pf: take the rules read lock in pf_handle_getrule().
Wed, Sep 30, 11:35 PM
rcm committed rG82ab4adec955: pf: leave the epoch to purge unlinked rules (authored by rcm).
pf: leave the epoch to purge unlinked rules
Wed, Sep 30, 11:32 PM
rcm committed rGbe7e57fbf972: pf: free an unparsed rule with pf_krule_free() in pf_handle_addrule() (authored by rcm).
pf: free an unparsed rule with pf_krule_free() in pf_handle_addrule()
Wed, Sep 30, 11:32 PM
rcm committed rG55a69b9be886: libpfctl: zero the counters before summing per-chunk results (authored by rcm).
libpfctl: zero the counters before summing per-chunk results
Wed, Sep 30, 11:31 PM
rcm closed D60160: pf: leave the epoch to purge unlinked rules.
Wed, Sep 30, 11:31 PM
rcm closed D60104: pf: free an unparsed rule with pf_krule_free() in pf_handle_addrule().
Wed, Sep 30, 11:31 PM
rcm closed D60174: libpfctl: zero the counters before summing per-chunk results.
Wed, Sep 30, 11:31 PM
rcm committed rGc1241c6e30c7: pf: modify pfik_flags atomically (authored by rcm).
pf: modify pfik_flags atomically
Wed, Sep 30, 11:19 PM
rcm closed D60107: pf: modify pfik_flags atomically.
Wed, Sep 30, 11:19 PM
rcm committed rG3171a60de403: pfctl: print "pass" on nat/rdr/binat rules again (authored by rcm).
pfctl: print "pass" on nat/rdr/binat rules again
Wed, Sep 30, 10:03 PM
rcm closed D60183: pfctl: print "pass" on nat/rdr/binat rules again.
Wed, Sep 30, 10:03 PM
rcm updated the diff for D60183: pfctl: print "pass" on nat/rdr/binat rules again.

Prefer parser test as per kp@

Wed, Sep 30, 7:48 PM
rcm requested review of D60183: pfctl: print "pass" on nat/rdr/binat rules again.
Wed, Sep 30, 6:51 PM
rcm added a reviewer for D60107: pf: modify pfik_flags atomically: glebius.
Wed, Sep 30, 4:26 PM
rcm added a reviewer for D60104: pf: free an unparsed rule with pf_krule_free() in pf_handle_addrule(): glebius.
Wed, Sep 30, 4:25 PM
rcm added a reviewer for D60160: pf: leave the epoch to purge unlinked rules: glebius.
Wed, Sep 30, 4:25 PM
rcm changed the visibility for D60107: pf: modify pfik_flags atomically.
Wed, Sep 30, 3:20 PM
rcm updated the diff for D60107: pf: modify pfik_flags atomically.
Wed, Sep 30, 3:20 PM
rcm requested review of D60174: libpfctl: zero the counters before summing per-chunk results.
Wed, Sep 30, 2:38 PM
rcm committed rGdd5dc8f6e51c: epoch: Fix use-after-free in epoch_trace_report() (authored by rcm).
epoch: Fix use-after-free in epoch_trace_report()
Wed, Sep 30, 1:51 PM
rcm closed D60162: epoch: Fix use-after-free in epoch_trace_report().
Wed, Sep 30, 1:51 PM
rcm updated the diff for D60162: epoch: Fix use-after-free in epoch_trace_report().

Made dup a bool set from RB_INSERT(...) != NULL, as suggested. I agree; that reads better.

Wed, Sep 30, 1:40 PM
rcm added reviewers for D60162: epoch: Fix use-after-free in epoch_trace_report(): markj, glebius.
Wed, Sep 30, 2:23 AM
rcm requested review of D60162: epoch: Fix use-after-free in epoch_trace_report().
Wed, Sep 30, 2:21 AM
rcm requested review of D60161: pf: take the rules read lock in pf_handle_getrule().
Wed, Sep 30, 2:04 AM
rcm requested review of D60160: pf: leave the epoch to purge unlinked rules.
Wed, Sep 30, 1:22 AM
rcm updated the diff for D60104: pf: free an unparsed rule with pf_krule_free() in pf_handle_addrule().
Wed, Sep 30, 12:20 AM

Tue, Sep 29

rcm requested review of D60146: pf: return per-address feedback from netlink table test.
Tue, Sep 29, 8:09 PM
rcm closed D60119: pf: carry pfra_fback in the netlink pfr_addr encoding.
Tue, Sep 29, 8:04 PM
rcm committed rGeaba5142bdef: pf: carry pfra_fback in the netlink pfr_addr encoding (authored by rcm).
pf: carry pfra_fback in the netlink pfr_addr encoding
Tue, Sep 29, 8:02 PM
rcm committed rG57f9bad9188d: pf: deregister the ifnet_rename_event handler on unload (authored by rcm).
pf: deregister the ifnet_rename_event handler on unload
Tue, Sep 29, 7:20 PM
rcm removed a member for arm64: rcm.
Tue, Sep 29, 3:34 PM
rcm removed a member for vbox: rcm.
Tue, Sep 29, 3:34 PM
rcm requested review of D60119: pf: carry pfra_fback in the netlink pfr_addr encoding.
Tue, Sep 29, 11:17 AM
rcm committed rG806adba81f3d: libpfctl: decode PFR_A_AF into a u8 (authored by rcm).
libpfctl: decode PFR_A_AF into a u8
Tue, Sep 29, 11:04 AM
rcm closed D60110: libpfctl: decode PFR_A_AF into a u8.
Tue, Sep 29, 11:03 AM
rcm updated the diff for D60110: libpfctl: decode PFR_A_AF into a u8.
Tue, Sep 29, 1:31 AM
rcm requested review of D60110: libpfctl: decode PFR_A_AF into a u8.
Tue, Sep 29, 1:06 AM
rcm committed rGee05a360b02e: pf: do not loop on an address that is cleared twice in pfr_clr_astats() (authored by rcm).
pf: do not loop on an address that is cleared twice in pfr_clr_astats()
Tue, Sep 29, 12:15 AM
rcm closed D60103: pf: do not loop on an address that is cleared twice in pfr_clr_astats().
Tue, Sep 29, 12:14 AM
rcm committed rGf084f28a52c5: pf: fix NULL dereference in pfr_set_addrs() with feedback (authored by rcm).
pf: fix NULL dereference in pfr_set_addrs() with feedback
Tue, Sep 29, 12:05 AM