User Details
- User Since
- Jun 22 2015, 5:21 PM (570 w, 6 d)
Fri, May 29
Thu, May 28
Mon, May 25
Fri, May 22
Thu, May 21
Wed, May 20
Tue, May 19
Sat, May 16
Tue, May 12
Apr 29 2026
Apr 25 2026
Address review feedback by moving this into tcp_twstart()
Apr 24 2026
Apr 23 2026
Apr 22 2026
Apr 21 2026
Apr 20 2026
Apr 18 2026
Thank you for fixing this for me!
Apr 17 2026
Apr 16 2026
Apr 14 2026
Apr 11 2026
Apr 9 2026
Apr 5 2026
Apr 4 2026
I hate that I'm saying this, but this isn't just an ice(4) problem... The same thing will happen for the queue selection in iflib itself for most other drivers, and for the queue selection in non-iflib drivers. So I think it should be solved in a more generic fashion.
Mar 28 2026
Updated diff to add a new ioctl for page-bank operations.
Changed the 2 drivers that might use page/bank (iflib, mce) to accept the new ioctl and to ensure they are not reading garbage page/bank fields when operating with the legacy SIOGI2C ioctl
Mar 23 2026
I think that I may not understand your proposal. When you say "at the ioctl level..", Do you mean intercept the ioctls in ifhwioctl()? I think that seems awkward because ifi2req lives in userspace, and individual drivers copy it in / out, rather than it being done in a single spot for all drivers. So to zero fields, ifhwioctl would need copy-in ifi2creq, fix it up, & copy it out again..
Mar 19 2026
@kib What if we reclaimed some of the spare fields in ifi2creq to a uint16_t magic field. User sets i2creq.magic=PAGE_BANK_REQ and driver sets magic=PAGE_BANK_ACK ? That prevents the confusion you're concerned about.
Mar 18 2026
Mar 17 2026
This is really clever. What about other lock types (rm / rms, sx, etc)?
Mar 11 2026
Mar 6 2026
Mar 5 2026
Mar 4 2026
Re-worked thread setup to use mp_ncpus rather than mp_maxid, as suggested by @markj
Mar 3 2026
Feb 28 2026
- fixed typo in sysctl declaration
Feb 27 2026
I tried this on 3 EPYC generations at Netflix. The most recent (AMD EPYC 8434P, AMD EPYC 9535) behaved as expected. There was an dev.hwpstate_amd. node for each CPU, and a lot more freqs were exposed (from 3 to roughly a dozen).
On the oldest EPYC we have is EPYC 7502P, where it didn't change anything. We still only have 3 frequencies exposed. On this machine, we see just a single node from dev.hwpstate:
dev.hwpstate_amd.0.freq_settings: 2500/2750 2200/2200 1500/1350
dev.hwpstate_amd.0.%iommu:
dev.hwpstate_amd.0.%parent: cpu0
dev.hwpstate_amd.0.%pnpinfo:
dev.hwpstate_amd.0.%location:
dev.hwpstate_amd.0.%driver: hwpstate_amd
dev.hwpstate_amd.0.%desc: Cool`n'Quiet 2.0
dev.hwpstate_amd.%parent:
Feb 26 2026
This looks OK to me, but I defer to Warner.
Feb 10 2026
Looks good. Thank you!
Feb 9 2026
Slightly worried some NIC somwhere might not be setting this when it should. Is this solving a problem for you?
