qed_init_vport_wfq(9)
π qed_init_vport_wfq(9) β like, the WFQ weight glow-up for your VPORT π
okay so bestie, grab your iced matcha π because we're diving into the Kernel API Manual and this one is literally about making a VPORT's WFQ weight happen. Yes, the function name is a mouthful, no we are not pronouncing it out loud at parties. It sets up the WFQ weight of the specified VPORT, and honestly? iconic behavior. β¨
πΈ NAME πΈ
qed_init_vport_wfq β it initializes the WFQ weight of the specified VPORT. that's it, that's the whole vibe. π
π¦ SYNOPSIS π¦
int qed_init_vport_wfq (struct qed_hwfn *p_hwfn , struct qed_ptt *p_ptt
, u16 first_tx_pq_id[NUM_OF_TCS] , u16 wfq );
like, look at her go. four arguments, one int return, zero chill. π
β¨ ARGUMENTS β¨
p_hwfnβ the HW device data. literally the hardware's whole personality in a struct. π«Άp_pttβ the Ptt window used for writing the registers. yes bestie, that's the doorway the writes go through. πfirst_tx_pq_idβ an array containing the first Tx PQ ID associated with the VPORT for each TC. and like, important tea: this array is filled byqed_qm_pf_rt_init. so don't come for her empty, she needs the data already in there. π§wfqβ the WFQ weight. must be non-zero. no cap, zero is not the move here. π«
π RETURN π
0on success π-1on error π
that's the whole emotional arc, tbh.
π SEE ALSO π
the whole friend group, fr fr β first up, the Kernel file:
./drivers/net/ethernet/qlogic/qed/qed_hsi.h
and then the squad:
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_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_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)
like, a full group chat. read them all, iykyk. π
okay final sign-off energy: this page lives at ./drivers/net/ethernet/qlogic/qed, and it's stamped October 2026 in the version notes. slay, date yourself. π₯β¨π
π¦ 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