api_cmd_status_update(9)
π api_cmd_status_update β the kernel API manual, bestie edition
okay so real talk, this one's a tiny little function from the hinic driver ('sup Huawei ethernet) and it's genuinely just... one job. but we're gonna learn it properly because that's the vibe. β¨
β¨ NAME β¨
api_cmd_status_update β update the status in the chain struct π
like, that's it. that's the whole personality. it goes in, it updates the status, and it leaves. main character energy but make it minimal. π
πΈ SYNOPSIS πΈ
void api_cmd_status_update (struct hinic_api_cmd_chain *chain );
no cap, that's the exact signature β copy it character for character if you're writing it out, spaces and all. π«Ά
π¦ ARGUMENTS π¦
chainβ the chain you wanna update, bestie. that's the one. hand it over and it gets its status refreshed. β
π₯ SEE ALSO π₯
heads up, this list is long β the docs are giving "and also everyone I've ever met" π but every single one is here, in the original order, so don't come for me.
the kernel file itself lives right here, go read it:
./drivers/net/ethernet/huawei/hinic/hinic_hw_api_cmd.c
and the whole friend group:
chain_busy(9),get_cell_data_size(9),prepare_cell_ctrl(9),prepare_api_cmd(9)prepare_cell(9),wait_for_status_poll(9),wait_for_api_cmd_completion(9),api_cmd(9)hinic_api_cmd_write(9),api_cmd_hw_restart(9),api_cmd_ctrl_init(9),api_cmd_set_status_addr(9)api_cmd_set_num_cells(9),api_cmd_head_init(9),api_cmd_chain_hw_clean(9),api_cmd_chain_hw_init(9)free_cmd_buf(9),alloc_cmd_buf(9),api_cmd_create_cell(9),api_cmd_destroy_cell(9)api_cmd_destroy_cells(9),api_cmd_create_cells(9),api_chain_init(9),api_chain_free(9)api_cmd_create_chain(9),api_cmd_destroy_chain(9),hinic_api_cmd_init(9),hinic_api_cmd_free(9)
okay that's the whole page, and honestly? it ate. π
cute little sign-off before you go: this page comes from the source path ./drivers/net/ethernet/huawei/... and it's dated October 2026 β so if you're reading this from the future, hi, ily, hope your chain status is updated. π§π
π¦ 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