UNION NPS_PKT_IN_INSTR_RSIZE(9)
okay so this page is from the Kernel API Manual, section 9, and it's about a C union β not a labor union, bestie π
the header lowkey truncates the name as union nps_pk..._instr_rsize(9) but we're gonna say the whole thing out loud, periodt.
β¨ NAME β¨
union nps_pkt_in_instr_rsize β Input instruction ring size registers. that's the name, she's self-explanatory, we stan a concise legend π«Ά
π₯ SYNOPSIS π₯
union nps_pkt_in_instr_rsize {
u64 value;
struct {
#if (defined(__BIG_ENDIAN_BITFIELD));
u64 raz : 32;
u64 rsize : 32;
#else;
u64 rsize : 32;
u64 raz : 32;
#endif;
} s;
};
so you've got a u64 value up top, and then a nested struct called s with two 32-bit bitfields, raz and rsize. the order literally flips depending on __BIG_ENDIAN_BITFIELD β big-endian girlies get raz first, everyone else gets rsize first. it's giving conditional compilation realness π
Heads up: this page skips straight from SYNOPSIS to the Members section. no DESCRIPTION, no OPTIONS, no RETURN VALUE β that's not me leaving stuff out, that's genuinely the whole page. no cap π
π Members π
okay so the Members section is present but there are no members listed under it. she's an empty section living her best minimalist life π nothing to memorise here, bestie. (and yes, I'm telling you that on purpose, because a missing detail would be a crime and I would never π)
π SEE ALSO π
first up, the kernel file where this whole situation lives:
./drivers/crypto/cavium/nitrox/nitrox_csr.h
and then a whole friend group of unions, all section (9), all iconic:
union ucd_core_eid_ucode_block_num(9)union aqm_grp_execmsk_lo(9)union aqm_grp_execmsk_hi(9)union aqmq_drbl(9)union aqmq_qsz(9)union aqmq_cmp_thr(9)union aqmq_cmp_cnt(9)union aqmq_en(9)union aqmq_activity_stat(9)union emu_fuse_map(9)union emu_se_enable(9)union emu_ae_enable(9)union emu_wd_int_ena_w1s(9)union emu_ge_int_ena_w1s(9)union nps_pkt_slc_ctl(9)union nps_pkt_slc_cnts(9)union nps_pkt_slc_int_levels(9)union nps_pkt_in_done_cnts(9)union nps_pkt_in_instr_ctl(9)union nps_pkt_in_instr_baoff_dbell(9)union nps_core_int_ena_w1s(9)union nps_core_gbl_vfcfg(9)union nps_core_int_active(9)union efl_core_int(9)union efl_core_int_ena_w1s(9)union efl_rnm_ctl_status(9)union bmi_ctl(9)union bmi_int_ena_w1s(9)union bmo_ctl2(9)union pom_int_ena_w1s(9)union lbc_inval_ctl(9)union lbc_int_ena_w1s(9)union lbc_int(9)union lbc_inval_status(9)union rst_boot(9)union fus_dat1(9)
like, that's thirty-six of them. she has so many friends. main character energy fr fr π₯
anyway that's the whole page bestie, go forth and read your CSRs π
cute lil sign-off: this one came from<green>./drivers/crypto/cavium/nitrox</green>, is dated October 2026, and answers to the nameunion nps_pk..._instr_rsize(9)πβ¨ slay, bye!
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms