qeth_send_control_data(9)
hiii bestie π welcome to qeth_send_control_data(9) from the Kernel API Manual β this is the page where we send control command to the card, and honestly itβs giving main-character kernel energy β¨
πΈ NAME πΈ
qeth_send_control_data β send control command to the card π
β¨ SYNOPSIS β¨
int qeth_send_control_data (struct qeth_card *card , struct
qeth_cmd_buffer *iob , int (*reply_cb)(struct qeth_card *cb_card, struct
qeth_reply *cb_reply, unsigned long cb_cmd) , void *reply_param );
π ARGUMENTS π
cardβqeth_cardstructure pointer π«Άiobβqeth_cmd_bufferpointer π¨reply_cbβ callback function pointer, and it comes with lore:cb_card: pointer to theqeth_cardstructurecb_reply: pointer to theqeth_replystructurecb_cmd: pointer to the originaliobfor non-IPA commands, or to theqeth_ipa_cmdstructure for the IPA commands.
reply_paramβ private pointer passed to the callback π
π¦ DESCRIPTION π¦
okay so bestie, the callback function gets called one or more times, with cb_cmd pointing to the response returned by the hardware. no cap, thatβs the whole vibe.
The callback function must return:
> 0if more reply blocks are expected0if the last or only reply block is received< 0on error
β οΈ this return-value contract is literally not optional β> 0= more reply blocks expected,0= last or only reply block received,< 0= error π
The callback function can get the value of the reply_param pointer from the field 'param' of the structure qeth_reply. iykyk π
π SEE ALSO π
- Kernel file
./drivers/s390/net/qeth_core_main.c qeth_irq(9)qeth_prep_flush_pack_buffer(9)qeth_get_elements_for_frags(9)qeth_count_elements(9)qeth_add_hw_header(9)qeth_fill_buffer(9)qeth_vm_request_mac(9)qeth_enable_hw_features(9)
xoxo, your kernel bestie π
this page came from ./drivers/s390/net, dated October 2026, and itβs literally qeth_send_control_data(9) β periodt π«Ά
π¦ 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