Page MenuHomeFreeBSD

adrian (Adrian Chadd)
User

Projects

User Details

User Since
May 14 2014, 7:57 AM (601 w, 4 h)

Recent Activity

Yesterday

adrian accepted D53660: libc/tests: add stdbit test framework and unit tests.

absolutely amazing use of macros and included source files i love it

Tue, Nov 18, 3:08 PM
adrian accepted D53657: libc: implement C23 <stdbit.h> functions.
Tue, Nov 18, 3:06 PM
adrian accepted D53658: man/man3: add stdbit.3.

looks good, maybe get a review from @ziaee too for manpage stuff and then land?

Tue, Nov 18, 3:03 PM

Sun, Nov 16

adrian added a comment to D53776: iwx: make compile withtout IWX_DEBUG being on.

nono i mean the places in the diff where #ifdef IWX_DEBUG instead of using IWX_DPRINTF(), and an IWX_DPRINTF_CHECK() macro ...

Sun, Nov 16, 6:51 PM
adrian accepted D53776: iwx: make compile withtout IWX_DEBUG being on.
Sun, Nov 16, 5:50 PM
adrian added a comment to D53776: iwx: make compile withtout IWX_DEBUG being on.

I don't mind either; in fact the above diffs just remind me i need to finish cleaning up the iwx debug printing so this stuff doesn't require #ifdef IWX_DEBUG everywhere. :-)

Sun, Nov 16, 5:50 PM
adrian added a comment to D50928: [WIP] net80211: use uint16_t for rssi.

If you're worried about the ioctl change then let's do everything except the ioctl changes to begin with, and go fix all the divers and churn net80211's stuff a whole bunch first.

Sun, Nov 16, 4:27 PM
adrian added a comment to D50929: iwx: correct rssi calculations and reporting.
In D50929#1228066, @bz wrote:

hm, i wonder why iwx used -107 as its "nothing present" value. I wonder what iwlwifi is doing too.

like, -107dBm is a very low thermal noise floor; that's like for a 5MHz wide channel. (The noise floor gets higher as the channel width increases.)
But it's a damn sight better than -127dBm. :-)

There is none. You get a signal value. All the values we ever used in iwm/... are arbitrary. I think normally we used to us -96.

Sun, Nov 16, 4:18 PM
adrian added a comment to D50929: iwx: correct rssi calculations and reporting.

also in my poking I found that I'm not seeing any empty airtime RSSI (it's always 0) so it was setting sc->sc_noise to -127. so we still need to clamp that too to a default noise floor.

Sun, Nov 16, 4:14 PM
adrian added a comment to D50929: iwx: correct rssi calculations and reporting.

hm, i wonder why iwx used -107 as its "nothing present" value. I wonder what iwlwifi is doing too.

Sun, Nov 16, 4:12 PM
adrian added a reviewer for D53781: iwx: tag RX frames as A_MPDU RX; tag A-MSDU frames appropriately: wireless.
Sun, Nov 16, 4:32 AM · wireless
adrian requested review of D53781: iwx: tag RX frames as A_MPDU RX; tag A-MSDU frames appropriately.
Sun, Nov 16, 4:30 AM · wireless
adrian added a reviewer for D53780: iwx: clean up / document noise floor and RSSI fetching: wireless.

@bz here's another great example of "almost but not quite what net80211 "expects" " ;-) sigh.. :)

Sun, Nov 16, 3:30 AM · wireless
adrian requested review of D53780: iwx: clean up / document noise floor and RSSI fetching.
Sun, Nov 16, 3:28 AM · wireless

Sat, Nov 15

adrian committed rG70e73c43a472: vchiq: add compat_freebsd32 ioctls and respective datatypes (authored by devesas.campos_gmail.com).
vchiq: add compat_freebsd32 ioctls and respective datatypes
Sat, Nov 15, 3:29 AM
adrian committed rGaa6b871ea77e: arm64: Add support to vchiq and bcm2835_audio (plus some fixes) (authored by devesas.campos_gmail.com).
arm64: Add support to vchiq and bcm2835_audio (plus some fixes)
Sat, Nov 15, 3:28 AM
adrian closed D37879: vchiq: add compat_freebsd32 ioctls and respective datatypes.
Sat, Nov 15, 3:28 AM
adrian closed D37878: arm64: Add support to vchiq and bcm2835_audio (plus some fixes).
Sat, Nov 15, 3:28 AM

Fri, Nov 14

adrian committed rG00b4d712e2be: iwx: clean up TX AMPDU session establishment and checking (authored by adrian).
iwx: clean up TX AMPDU session establishment and checking
Fri, Nov 14, 2:38 AM
adrian committed rGb4c35d4622d5: iwx: fix and clean up suspend/resume path (authored by adrian).
iwx: fix and clean up suspend/resume path
Fri, Nov 14, 2:38 AM
adrian committed rG7d88ac0eb2d2: iwx: clean up debugging around key add/set; comments on delete (authored by adrian).
iwx: clean up debugging around key add/set; comments on delete
Fri, Nov 14, 2:38 AM
adrian closed D53721: iwx: fix and clean up suspend/resume path.
Fri, Nov 14, 2:38 AM · wireless
adrian closed D53725: iwx: clean up TX AMPDU session establishment and checking.
Fri, Nov 14, 2:37 AM · wireless
adrian closed D53703: iwx: clean up debugging around key add/set; comments on delete.
Fri, Nov 14, 2:37 AM · wireless
adrian committed rG5431dafdb965: mtw: convert to new net80211 crypto key API (authored by adrian).
mtw: convert to new net80211 crypto key API
Fri, Nov 14, 2:27 AM
adrian closed D53704: mtw: convert to new net80211 crypto key API.
Fri, Nov 14, 2:26 AM · wireless
adrian committed rG333eb58deeda: rtwn: migrate to new ieee80211 key data accessors (authored by adrian).
rtwn: migrate to new ieee80211 key data accessors
Fri, Nov 14, 2:26 AM
adrian closed D52712: rtwn: migrate to new ieee80211 key data accessors.
Fri, Nov 14, 2:26 AM · wireless
adrian updated the diff for D53725: iwx: clean up TX AMPDU session establishment and checking.

comments from bz

Fri, Nov 14, 1:42 AM · wireless

Thu, Nov 13

adrian updated the summary of D53725: iwx: clean up TX AMPDU session establishment and checking.
Thu, Nov 13, 6:35 AM · wireless
adrian updated the summary of D53725: iwx: clean up TX AMPDU session establishment and checking.
Thu, Nov 13, 6:34 AM · wireless
adrian updated the diff for D53725: iwx: clean up TX AMPDU session establishment and checking.

more "correct" fixes, i hope!

Thu, Nov 13, 6:33 AM · wireless
adrian added a reviewer for D53704: mtw: convert to new net80211 crypto key API: wireless.
Thu, Nov 13, 4:38 AM · wireless
adrian added reviewers for D53703: iwx: clean up debugging around key add/set; comments on delete: wireless, thj.
Thu, Nov 13, 4:38 AM · wireless
adrian added reviewers for D53725: iwx: clean up TX AMPDU session establishment and checking: wireless, thj.
Thu, Nov 13, 4:37 AM · wireless
adrian requested review of D53725: iwx: clean up TX AMPDU session establishment and checking.
Thu, Nov 13, 4:36 AM · wireless

Wed, Nov 12

adrian added reviewers for D53721: iwx: fix and clean up suspend/resume path: wireless, thj.
Wed, Nov 12, 9:06 PM · wireless
adrian requested review of D53721: iwx: fix and clean up suspend/resume path.
Wed, Nov 12, 9:04 PM · wireless
adrian requested review of D53704: mtw: convert to new net80211 crypto key API.
Wed, Nov 12, 2:59 AM · wireless
adrian requested review of D53703: iwx: clean up debugging around key add/set; comments on delete.
Wed, Nov 12, 2:50 AM · wireless

Tue, Nov 11

adrian added inline comments to D52712: rtwn: migrate to new ieee80211 key data accessors.
Tue, Nov 11, 8:55 PM · wireless
adrian committed rG53880f09fb1b: acpi: add counters for cumulative time spent in each sleep state. (authored by adrian).
acpi: add counters for cumulative time spent in each sleep state.
Tue, Nov 11, 8:46 PM
adrian closed D53633: acpi: add counters for cumulative time spent in each sleep state..
Tue, Nov 11, 8:45 PM
adrian accepted D53633: acpi: add counters for cumulative time spent in each sleep state..

Hi @gallatin would you mind helping me eyeball what the cacheline size / offset implications would be for extending the per-CPU ACPI stuff like this? Thanks!

Tue, Nov 11, 4:18 PM
adrian committed rG77b1e4f32f31: net80211: create accessors for accessing the ieee80211_key key/mic data (authored by adrian).
net80211: create accessors for accessing the ieee80211_key key/mic data
Tue, Nov 11, 4:07 PM
adrian committed rGc5f7cb19f527: iwx: migrate to using net80211 crypto key methods (authored by adrian).
iwx: migrate to using net80211 crypto key methods
Tue, Nov 11, 4:07 PM
adrian closed D52711: net80211: create accessors for accessing the ieee80211_key key/mic data.
Tue, Nov 11, 4:07 PM · wireless
adrian closed D52523: iwx: migrate to using net80211 crypto key methods.
Tue, Nov 11, 4:07 PM · wireless

Fri, Nov 7

adrian added a reviewer for D53633: acpi: add counters for cumulative time spent in each sleep state.: obiwac.
Fri, Nov 7, 4:45 AM
adrian requested review of D53633: acpi: add counters for cumulative time spent in each sleep state..
Fri, Nov 7, 4:39 AM

Sat, Nov 1

adrian committed rG0726d6e87ad5: vchiq: fix compilation error on armv7 in CI and local armv7 builds (authored by adrian).
vchiq: fix compilation error on armv7 in CI and local armv7 builds
Sat, Nov 1, 5:25 PM
adrian added inline comments to D53372: vchiq: fix another logging format string for 32/64 bit.
Sat, Nov 1, 3:54 PM

Thu, Oct 30

adrian accepted D53254: sbuf_delete() after sbuf_finish() & add SBUF_INCLUDENUL.
Thu, Oct 30, 3:54 AM
adrian added inline comments to D37878: arm64: Add support to vchiq and bcm2835_audio (plus some fixes).
Thu, Oct 30, 3:47 AM
adrian committed rG8b43286fc3ba: vchiq: fix another logging format string for 32/64 bit (authored by devesas.campos_gmail.com).
vchiq: fix another logging format string for 32/64 bit
Thu, Oct 30, 12:49 AM
adrian committed rGdf764dd133ec: vchiq: logging/tracing refactoring (authored by devesas.campos_gmail.com).
vchiq: logging/tracing refactoring
Thu, Oct 30, 12:49 AM
adrian closed D53372: vchiq: fix another logging format string for 32/64 bit.
Thu, Oct 30, 12:49 AM
adrian closed D53371: vchiq: logging/tracing refactoring.
Thu, Oct 30, 12:49 AM

Wed, Oct 29

adrian updated the diff for D37879: vchiq: add compat_freebsd32 ioctls and respective datatypes.

rebase; reindent some stuff

Wed, Oct 29, 2:33 PM
adrian updated the diff for D37878: arm64: Add support to vchiq and bcm2835_audio (plus some fixes).

rebase

Wed, Oct 29, 2:33 PM
adrian updated the diff for D53372: vchiq: fix another logging format string for 32/64 bit.

rebase

Wed, Oct 29, 2:33 PM
adrian updated the diff for D53371: vchiq: logging/tracing refactoring.

rename macros, cleanup

Wed, Oct 29, 2:32 PM
adrian added inline comments to D53372: vchiq: fix another logging format string for 32/64 bit.
Wed, Oct 29, 12:34 AM

Tue, Oct 28

adrian added inline comments to D53371: vchiq: logging/tracing refactoring.
Tue, Oct 28, 2:44 PM
adrian updated the diff for D37878: arm64: Add support to vchiq and bcm2835_audio (plus some fixes).
  • update now that some of the work has been moved into D53372
  • some style(9) cleanup
Tue, Oct 28, 6:07 AM
adrian updated the diff for D53372: vchiq: fix another logging format string for 32/64 bit.

Break out some more of the debug changes into this file

Tue, Oct 28, 6:06 AM

Mon, Oct 27

adrian added inline comments to D53372: vchiq: fix another logging format string for 32/64 bit.
Mon, Oct 27, 12:06 AM

Sun, Oct 26

adrian resigned from D53372: vchiq: fix another logging format string for 32/64 bit.

(sigh how'd I convince it that /i/ approved it)

Sun, Oct 26, 11:50 PM
adrian added reviewers for D53371: vchiq: logging/tracing refactoring: emaste, ARM.
Sun, Oct 26, 11:29 PM
adrian accepted D53372: vchiq: fix another logging format string for 32/64 bit.
Sun, Oct 26, 11:28 PM
adrian committed rG1d100747d747: vchiq: update printf-s to more architecture-independent format specifiers (authored by adrian).
vchiq: update printf-s to more architecture-independent format specifiers
Sun, Oct 26, 11:28 PM
adrian closed D36431: vchiq: update printf-s to more architecture-independent format specifiers.
Sun, Oct 26, 11:27 PM
adrian added a comment to D37878: arm64: Add support to vchiq and bcm2835_audio (plus some fixes).

I've pushed an update and fiddled with the diff stack a bunch. This works fine on -HEAD from this week on a RPI4 (yes I verified by playing Miley Cyrus for a good couple of hours.)

Sun, Oct 26, 11:26 PM
adrian updated the diff for D37878: arm64: Add support to vchiq and bcm2835_audio (plus some fixes).

Updates after refactoring work and testing it on a recent -HEAD on a RPI4.

Sun, Oct 26, 11:25 PM
adrian requested review of D53372: vchiq: fix another logging format string for 32/64 bit.
Sun, Oct 26, 11:20 PM
adrian requested review of D53371: vchiq: logging/tracing refactoring.
Sun, Oct 26, 11:20 PM

Fri, Oct 24

adrian added a comment to D53104: tcp: Enable symmetric hashing by setting hash on outgoing conns.

So typically a queue is bound to one core, then we have better cache localization for the same flow ? That sounds a good idea.

Fri, Oct 24, 5:05 PM
adrian added a comment to D53104: tcp: Enable symmetric hashing by setting hash on outgoing conns.

ok, so this looks fine, but I'm trying to remember where I used to assign the flowid/flowtype for a connection back in the day. On the mbuf side it used to be done in the driver side and then overriden by the network stack input path if it didn't match what was required (eg the magic required in ip reassembly, which is still there, but also to support completely software flow hashing.)

Fri, Oct 24, 3:52 AM

Thu, Oct 23

adrian added inline comments to D50128: ixgbe: add MDIO bus support.
Thu, Oct 23, 12:29 AM
adrian added inline comments to D50128: ixgbe: add MDIO bus support.
Thu, Oct 23, 12:28 AM
adrian updated the diff for D50295: ixgbe: improve MDIO performance by reducing semaphore/IPC delays.

rebase

Thu, Oct 23, 12:28 AM
adrian updated the diff for D50128: ixgbe: add MDIO bus support.
  • don't attach unless it's the devices I'm working on
  • explicitly name things as clause 22 calls
  • only allow clause 22 calls on clause 22 supported chipsets
Thu, Oct 23, 12:27 AM

Wed, Oct 22

adrian added inline comments to D50128: ixgbe: add MDIO bus support.
Wed, Oct 22, 7:40 PM
adrian accepted D53104: tcp: Enable symmetric hashing by setting hash on outgoing conns.
Wed, Oct 22, 7:15 PM
adrian accepted D53089: rss: Enable portions of RSS globally to enable symmetric hashing.

Yup, most multiqueue NICs now just "do" RSS natively whether we want it or not, and the main difference here with RSS defined was whether the configured key or a random key was used, etc.

Wed, Oct 22, 7:14 PM

Tue, Oct 21

adrian accepted D53022: if_vxlan: fix byteorder of source port.
Tue, Oct 21, 2:39 PM

Mon, Oct 20

adrian added a comment to D36431: vchiq: update printf-s to more architecture-independent format specifiers.
[ref:dsb]: https://github.com/raspberrypi/linux/commit/35b7ebda57affcfd3616d39d5a727a4495b31123
[ref:sems]: https://github.com/raspberrypi/linux/commit/24a4262afb10907fce3cdbc3ae336fcf4cdaece5
[ref:sizes]: https://github.com/raspberrypi/linux/commit/e64568b8ea6c04e747e432c17ce2452652075216
[ref:sizes2]: https://github.com/raspberrypi/linux/commit/f9bee6dd24addfa00c2c8d50c25b73efbfbb28ba
[ref:deadcode]: https://github.com/raspberrypi/linux/commit/14f4d72fb799a9b3170a45ab80d4a3ddad541960
[ref:sync]: https://github.com/raspberrypi/linux/commit/51c071265079319583e4c6e8c61e09660300d0bf
[ref:longbulk]: https://github.com/raspberrypi/linux/commit/37f6f19a83722c9b866cecb5e455b2e16e5bbc6b

Did you just apply these changes, or reimplement them? The license on at least some of the files has changed there so we can't just use the changes directly.

Mon, Oct 20, 2:26 PM

Oct 20 2025

adrian added inline comments to D52711: net80211: create accessors for accessing the ieee80211_key key/mic data.
Oct 20 2025, 5:23 AM · wireless
adrian added inline comments to D52711: net80211: create accessors for accessing the ieee80211_key key/mic data.
Oct 20 2025, 5:22 AM · wireless
Herald added a reviewer for D36431: vchiq: update printf-s to more architecture-independent format specifiers: andrew.

yo, any reason why we can't land this now in -HEAD?

Oct 20 2025, 2:37 AM

Oct 19 2025

adrian accepted D53180: geom: fix glabel status after 0d4642a.

i hit this on the latest rpi4 snapshot build, which has this bug and it prevents rc.d/growfs from working.

Oct 19 2025, 9:05 PM

Oct 12 2025

adrian added a comment to D52523: iwx: migrate to using net80211 crypto key methods.

ok, I'd like to land this and then follow it up with some more iwx cleanups. Thanks for pointing them out though, I'm not shocked that the original upstream code was messy with key management too. ;-)

Oct 12 2025, 3:29 AM · wireless
adrian added inline comments to D52711: net80211: create accessors for accessing the ieee80211_key key/mic data.
Oct 12 2025, 3:27 AM · wireless

Oct 11 2025

adrian added inline comments to D53022: if_vxlan: fix byteorder of source port.
Oct 11 2025, 7:37 PM

Oct 8 2025

adrian committed rG1f76551e1a5e: net80211: document some of the crypto/key functions (authored by adrian).
net80211: document some of the crypto/key functions
Oct 8 2025, 3:17 AM
adrian closed D52649: net80211: document some of the crypto/key functions.
Oct 8 2025, 3:17 AM · wireless

Oct 6 2025

adrian updated the diff for D52649: net80211: document some of the crypto/key functions.

update from bz

Oct 6 2025, 10:13 PM · wireless
adrian added inline comments to D52649: net80211: document some of the crypto/key functions.
Oct 6 2025, 10:11 PM · wireless

Oct 4 2025

adrian committed rG4a5a884c4a77: iwx: rewrite iwx_rs_update() to be VHT aware, refactor it a bit (authored by adrian).
iwx: rewrite iwx_rs_update() to be VHT aware, refactor it a bit
Oct 4 2025, 3:03 AM
adrian committed rG88f467bd1a11: iwx: don't log VHT rate lookups in iwx_tx_fill_cmd() for data frames (authored by adrian).
iwx: don't log VHT rate lookups in iwx_tx_fill_cmd() for data frames
Oct 4 2025, 3:03 AM