-
sommerfeld
alanc: fortunately intel popcount instruction operates on regular integer registers, but it's not found on cpus older than nehalem (intel) or barcelona (amd). (and I've got one that's too old that I still occasionally use as a test machine).
-
jbk
and no linker capabilities in the kernel :P
-
gitomat
[illumos-gate] 18311 format: enable smatch -- Toomas Soome <tsoome⊙mc>
-
jbk
hrm.. is it jsut 'no one's done it yet' to add a topo module to enumerate NIC leds, or is there some other reason we don't (when present)?
-
rmustacc
At least for me, the former.
-
gitomat
[illumos-gate] 18411 format: remove __STDC__ -- Toomas Soome <tsoome⊙mc>
-
gitomat
[illumos-gate] 18413 zfs: spa_sync_upgrades() should only take lock when needed -- Toomas Soome <tsoome⊙mc>
-
jbk
given we don't have man pages for the kernel secpolicy_xxx() functions, would those not be considered DDI interfaces (at least at the moment)?
-
rmustacc
Correct, only drv_priv() is considered DDI.
-
richlowe
the DDI-ness of things is kind of a mess, and I wouldn't worry too much about straying if I was in illumos-gate
-
richlowe
though some day I'd love to go through and look at the parts everyone cheats on and just promote them.
-
richlowe
but we've had problems in the past where people misguided tried to treat the DDI as gospel, and don't do that, it's bad for you
-
rmustacc
If you have a list of some of them, Rich, happy to go through and work on some of that.
-
richlowe
I don't unfortunately, I just sometimes run into stuff on the arm side where I ask people to look for the DDI way and then there isn't one :)
-
rmustacc
Okay, happy to work on gaps too.
-
jbk
the ice NIC can generate log messages from the HW (or I guess the embedded proc inside the nic), and given the rather large complexity i thought it would be nice to have some ioctls to enable emitting those (like the freebsd driver)... but also been trying to keep the interfaces used tidy w/ mapfiles
-
richlowe
rmustacc: the most recent thing I remember being generally useful (question mark?) was a "compatible" matcher
-
jbk
so if there is anything needed outside of mac/ddi/random it's essentialyl documented in one place
-
jbk
but the precedent for NIC ioctls seems to be having net_config
-
jbk
(don't know if that's a good precedent or not, but it is what it is)
-
jbk
i finished getting the flow director and flex pipelines for RSS (kinda gave up and just ported the fbsd code -- there's likely opportuntiy to simplify things a fair amount for our use case, but trying to tease apart all of that is going to take waaaay to long)
-
jbk
(just ported those bits of functionality)