irdma_sc_vchnl_init(9)
π NAME π
irdma_sc_vchnl_init β bestie, this one initializes the dev virtchannel and grabs hw_rev for you β¨ (yes, both, she's multitasking, we love an icon)
πΈ SYNOPSIS πΈ
int irdma_sc_vchnl_init(struct irdma_sc_dev *dev, struct irdma_vchnl_init_info *info);
That's the whole vibe check right there β an int return, two pointers, no cap π«Ά
π ARGUMENTS π
devβ the dev structure you're updating, like she's getting a glow-up in place πinfoβ the virtchannel info parameters, which get filled into the dev structure (soinfowalks in,devwalks out with the info, it's giving makeover montage π§)
ok so real talk β these aren't values being passed, they're structs being poked at.devgets updated,info's contents get poured into it. Keep that straight and you're golden β
π¦ SEE ALSO π¦
Bestie the whole friend group is here, lemme introduce you π
- Kernel file
./drivers/infiniband/hw/irdma/virtchnl.cβ this is where she lives, her actual address π irdma_vchnl_req_verify_resp(9)irdma_vchnl_req_get_reg_layout(9)irdma_vchnl_req_aeq_vec_map(9)irdma_vchnl_req_ceq_vec_map(9)irdma_vchnl_req_get_ver(9)irdma_vchnl_req_get_hmc_fcn(9)irdma_vchnl_req_put_hmc_fcn(9)irdma_vchnl_req_get_caps(9)irdma_vchnl_req_get_resp(9)
Like, the entire req squad, assembled π₯ all of them (9) sections, all of them part of the same irdma virtchnl era. Iykyk π
aaaand that's the page!! no options, no return value, no environment variables, no exit statuses β she's a short one but she ate π literally the whole thing is initialize the dev virtchannel, get hw_rev, don't overthink it π
β¨ mwah β¨ this page ships out of ./drivers/infiniband/hw/irdma (that's the source/version corner of the page π) and it's dated October 2026 β and the manual tag stays irdma_sc_vchnl_init(9), obviously, that's her name, periodt π see you in the group chat bestie π
π¦ 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