qed_get_ramrod_cmd_id_str(9)
β¨ qed_get_ramrod_cmd_id_str β¨
okay bestie, welcome to the Kernel API Manual π this one's a tiny little helper from the qlogic qed crew, and honestly? it's giving "short king" energy β one function, one job, one string. no cap. π
πΈ NAME πΈ
qed_get_ramrod_cmd_id_str β get a string for Ramrod command ID. that's it. that's the whole vibe. π¦
β SYNOPSIS β
const char * qed_get_ramrod_cmd_id_str (u32 protocol_type , u32
ramrod_cmd_id );
literally just hand it two numbers and it hands you back words. iconic. π
π ARGUMENTS π
protocol_typeβ the protocol type, and you pass it usingenum protocol_type. that's the whole personality of this argument, no notes. π§ramrod_cmd_idβ the Ramrod command ID, and you pass it using the per-protocol enum<protocol>_ramrod_cmd_id. yes, per-protocol. so like, pick the enum that matches the protocol you already told it about. matchy matchy. π
π RETURN π
String. π
(that's it β it returns a const char *, you get a string, slay)
π¦ SEE ALSO π¦
first up, the kernel file herself:
- Kernel file
./drivers/net/ethernet/qlogic/qed/qed_hsi.h
and then the whole friend group, fr fr β go read these too:
qed_qm_pf_mem_size(9)qed_qm_common_rt_init(9)qed_qm_pf_rt_init(9)qed_init_pf_wfq(9)qed_init_pf_rl(9)qed_init_vport_wfq(9)qed_init_vport_tc_wfq(9)qed_init_global_rl(9)qed_send_qm_stop_cmd(9)qed_set_vxlan_dest_port(9)qed_set_vxlan_enable(9)qed_set_gre_enable(9)qed_set_geneve_dest_port(9)qed_set_geneve_enable(9)qed_gft_disable(9)qed_gft_config(9)qed_enable_context_validation(9)qed_get_protocol_type_str(9)qed_set_rdma_error_level(9)qed_fw_overlay_mem_alloc(9)qed_fw_overlay_init_ram(9)qed_fw_overlay_mem_free(9)
and that's the page!! π«Ά this little icon lives down in ./drivers/net/ethernet/qlogic/qed, it's dated October 2026, and the source/version sitch is that Kernel API Manual tag β mwah, go touch some qed code 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