qed_get_ramrod_cmd_id_str(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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 using enum 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:


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