mlx4_ALLOCATE_VPP_set(9)
π mlx4_ALLOCATE_VPP_set(9) β Kernel API Manual π
okay so bestie, this is the Kernel API Manual page for mlx4_ALLOCATE_VPP_set(9), and it's lowkey all about handing out VPPs to different priorities. The rules are strict, no cap. π
β¨ NAME β¨
mlx4_ALLOCATE_VPP_set β Distribution of VPPs among different priorities. The total number of VPPs assigned to all for a port must not exceed the value reported by available_vpp in mlx4_ALLOCATE_VPP_get. VPP allocation is allowed only after the port type has been set, and while no QPs are open for this port.
π¨ bestie, read this twice: the total number of VPPs assigned to all for a port must not exceed the value reported byavailable_vppinmlx4_ALLOCATE_VPP_get. VPP allocation is allowed only after the port type has been set, and while no QPs are open for this port. That's the vibe check, fr fr.
π οΈ SYNOPSIS π οΈ
int mlx4_ALLOCATE_VPP_set (struct mlx4_dev *dev , u8 port , u8 *vpp_p_up
);
π ARGUMENTS π
devβmlx4_dev. That's the device, bestie.portβ Physical port number.vpp_p_upβ Allocation of VPPs to different priorities.
π« DESCRIPTION π«
Returns 0 on success or a negative mlx4_core errno code. That's the whole return-value moment: 0 is the slay, a negative mlx4_core errno code is the nope. π
π SEE ALSO π
- Kernel file
./drivers/net/ethernet/mellanox/mlx4/fw_qos.h mlx4_SET_PORT_PRIO2TC(9)mlx4_SET_PORT_SCHEDULER(9)mlx4_ALLOCATE_VPP_get(9)mlx4_SET_VPORT_QOS_get(9)mlx4_SET_VPORT_QOS_set(9)
Okay bestie, that's the whole page π
β cute sign-off from source/version ./drivers/net/ethernet/mellano..., dated October 2026, as mlx4_ALLOCATE_VPP_set(9) π«Άβ¨
π¦ 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