api_cmd_chain_hw_init(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ api_cmd_chain_hw_init(9) ✨

Okay so bestie, we're in the Kernel API Manual today and this one's a kernel API function β€” no cap, it's a whole vibe. Buckle up πŸŽ€


🌸 NAME 🌸

api_cmd_chain_hw_init β€” literally just initializes the chain in the HW πŸ¦‹


πŸ’… SYNOPSIS πŸ’…

int api_cmd_chain_hw_init (struct hinic_api_cmd_chain *chain );

🫢 ARGUMENTS 🫢

  • chain β€” the API CMD specific chain that we're initializing in HW ✨

πŸ”₯ DESCRIPTION πŸ”₯

Returns 0 for Success, and negative for Failure. That's the whole tea β˜• β€” no extra lore, it's giving "short and iconic."


πŸ‘‘ SEE ALSO πŸ‘‘

Bestie, the guest list is LONG and honestly everyone showed up 🌈 The kernel file is ./drivers/net/ethernet/huawei/hinic/hinic_hw_api_cmd.c and then we've got the whole squad:

chain_busy(9), get_cell_data_size(9), prepare_cell_ctrl(9), prepare_api_cmd(9), prepare_cell(9), api_cmd_status_update(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), 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)

Like… that's not a SEE ALSO, that's a roster πŸ’€


That's the whole page, bestie β€” sourced from ./drivers/net/ethernet/huawei/... and dated October 2026, so go forth and initialize those chains fr fr πŸ§šπŸ’œ

πŸ“¦ where this page comes from