qed_dbg_grc_config(9)
π¦ qed_dbg_grc_config π¦
okay so this is a page straight out of the Kernel API Manual (yes, the kernel has a manual, and yes it's as iconic as it sounds π ), and it's about one tiny function that sets a GRC parameter. lowkey niche, highkey useful. let's get into it bestie πΈ
β¨ NAME β¨
qed_dbg_grc_config β sets the value of a GRC parameter. that's it. that's the whole vibe. π
π SYNOPSIS π
enum dbg_status qed_dbg_grc_config (struct qed_hwfn *p_hwfn , enum
dbg_grc_params grc_param , u32 val );
like, look at her. three args, one return, zero drama (until the errors hit, we'll get there π).
π ARGUMENTS π
p_hwfnβ HW device data. it's the hardware function handle, the main character of the whole qed show πgrc_paramβ GRC parameter. which knob you're turning, basically.valβ Value to set. the actual number going in. π«
π₯ RETURN π₯
returns an error if any of these happen, so pay attention bestie, no cap:
- The version wasn't set.
- Grc_param is invalid.
- Val is outside the allowed boundaries.
fr fr, that third one is the classic "you gave me a number that doesn't fit" situation π so mind your boundaries.
π«Ά SEE ALSO π«Ά
- Kernel file
./drivers/net/ethernet/qlogic/qed/qed_dbg_hsi.h qed_dbg_set_bin_ptr(9),qed_read_regs(9),qed_read_fw_info(9),qed_dbg_grc_set_params_default(9),qed_dbg_grc_get_dump_buf_size(9),qed_dbg_grc_dump(9),qed_dbg_idle_chk_get_dump_buf_size(9),qed_dbg_idle_chk_dump(9),qed_dbg_mcp_trace_get_dump_buf_size(9),qed_dbg_mcp_trace_dump(9),qed_dbg_reg_fifo_get_dump_buf_size(9),qed_dbg_reg_fifo_dump(9),qed_dbg_igu_fifo_get_dump_buf_size(9),qed_dbg_igu_fifo_dump(9),qed_dbg_protection_override_get_dump_buf_size(9),qed_dbg_protection_override_dump(9),qed_dbg_fw_asserts_get_dump_buf_size(9),qed_dbg_fw_asserts_dump(9),qed_dbg_read_attn(9),qed_dbg_print_attn(9),qed_dbg_user_set_bin_ptr(9),qed_dbg_alloc_user_data(9),qed_dbg_get_status_str(9),qed_get_idle_chk_results_buf_size(9),qed_print_idle_chk_results(9),qed_dbg_mcp_trace_set_meta_data(9),qed_get_mcp_trace_results_buf_size(9),qed_print_mcp_trace_results(9),qed_mcp_trace_free_meta_data(9),qed_get_reg_fifo_results_buf_size(9),qed_print_reg_fifo_results(9),qed_get_igu_fifo_results_buf_size(9),qed_print_igu_fifo_results(9),qed_get_protection_override_results_buf_size(9),qed_print_protection_override_results(9),qed_get_fw_asserts_results_buf_size(9),qed_print_fw_asserts_results(9),qed_dbg_parse_attn(9)
like, that's the whole friend group right there. go say hi to all of them π§π
and that's the page!! shipped from ./drivers/net/ethernet/qlogic/qed, dated October 2026 β so it's basically a period piece at this point π slay, go set some parameters responsibly 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