qed_init_vport_tc_wfq(9)
π qed_init_vport_tc_wfq(9) β like, the whole glow-up
okay bestie, welcome to the Kernel API Manual entry for qed_init_vport_tc_wfq. yes it's a mouthful, yes it's iconic, let's get into it π«Ά
β¨ NAME β¨
qed_init_vport_tc_wfq β Initializes the WFQ weight of the specified VPORT and TC.
like, it sets the weight. that's the whole job. main character energy, minimal dialogue π
π¦ SYNOPSIS π¦
int qed_init_vport_tc_wfq (struct qed_hwfn *p_hwfn , struct qed_ptt
*p_ptt , u16 first_tx_pq_id , u16 weight );
it returns an int, it takes four args, and yes the line wrap is doing the most β copy it exactly, no cap π
π ARGUMENTS π
p_hwfnβ the HW device data. literally the hardware's whole vibe in a struct β¨p_pttβ the Ptt window used for writing the registers. that's the window you're writing through, bestie πͺfirst_tx_pq_idβ The first Tx PQ ID associated with the VPORT and TC. (filled byqed_qm_pf_rt_init) β so you don't fill this in yourself, somebody else already did πweightβ VPORT+TC WFQ weight. the actual number that matters βοΈ
πΈ RETURN πΈ
0on success π₯³-1on error π
that's it. zero means slay, minus one means it's giving error, periodt.
π§ SEE ALSO π§
this list is LONG and honestly kind of iconic, so here it is in full, every single one:
Kernel file ./drivers/net/ethernet/qlogic/qed/qed_hsi.h
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_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_get_ramrod_cmd_id_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)
go read all of them, i'll wait π
lowkey a reminder:first_tx_pq_idcomes filled in byqed_qm_pf_rt_initβ don't be out here inventing your own ID, bestie π
and that's the page!! π source/version vibes: ./drivers/net/ethernet/qlogic/qed, dated October 2026, and the page itself is literally qed_init_vport_tc_wfq(9). mwah, bye π
π¦ 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