be_cmd_crea...lt_pdu_queue(9)
π be_cmd_crea...lt_pdu_queue β Kernel API Manual, section (9) π
okay so bestie, welcome to the group chat where we talk about kernel API pages, and honestly? this one is a whole vibe. it's section 9 of the Kernel API Manual, and the full function name got a little bit truncated in the header (the way manpages do π) so let's just say it out loud properly, mkay? π¦
β¨ NAME β¨
be_cmd_create_default_pdu_queue β literally just creating a DEFQ for the adapter. that's it. that's the whole job. π
πΈ SYNOPSIS πΈ
int be_cmd_create_default_pdu_queue (struct be_ctrl_info *ctrl , struct
be_queue_info *cq , struct be_queue_info *dq , int length , int
entry_size , uint8_t is_header , uint8_t ulp_num );
π ARGUMENTS π
ctrlβ a ptr toctrl_info. yep, just a pointer. iconic.cqβ the Completion Queue, bestie. it completes things. πdqβ the Default Queue. the main character of this whole function ngl.lengthβ the ring size. how big the ring is. no cap.entry_sizeβ the size of each entry in the DEFQ. every entry gets its lil moment. β¨is_headerβ Header or Data DEFQ. you gotta tell it which one, it's not a mind reader πulp_numβ Bind to which ULP. gotta pick your fave ULP fr fr.
π¦ DESCRIPTION π¦
so what does this actually do? it creates an HDR/Data DEFQ for the ULP you passed in. that's the whole assignment. π«Ά
and then the FW (firmware, iykyk) posts the Unsol PDU</>s on this queue. lowkey obsessed with how that works.
return values, bestie, pay attention: Success: 0, Failure: Non-Zero Value. so if you get 0 you ate and left no crumbs. anything else? something went wrong π
π SEE ALSO π
- Kernel file
./drivers/scsi/be2iscsi/be_cmds.c be_cmd_wrbq_create(9)be_cmd_set_vlan(9)beiscsi_get_fw_config(9)beiscsi_get_port_name(9)beiscsi_cmd_iscsi_cleanup(9)
go read those next, bestie, they're all in the same friend group π§
okay that's the whole page, and before you go β this lil icon comes from ./drivers/scsi/be2iscsi, dated October 2026, and it lives under be_cmd_crea...lt_pdu_queue(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