mlx4_SET_PORT_PRIO2TC(9)
π NAME π
okay so bestie, this is mlx4_SET_PORT_PRIO2TC(9) from the Kernel API Manual, and it's literally the routine that maps user priorities to traffic classes of a given port and device β¨ no cap, that's the whole main-character job π«Ά
πΈ SYNOPSIS πΈ
int mlx4_SET_PORT_PRIO2TC (struct mlx4_dev *dev , u8 port , u8 *prio2tc
);
π ARGUMENTS π
devβ anmlx4_dev. literally the device, bestie πportβ the physical port number πprio2tcβ array of TC associated with each priorities. yep, it's giving priority-to-traffic-class mapping energy π
π¦ DESCRIPTION π¦
Returns 0 on success or a negative mlx4_core errno code. that's the vibe check: zero means slay, negative errno means π
π SEE ALSO π
- Kernel file
./drivers/net/ethernet/mellanox/mlx4/fw_qos.h mlx4_SET_PORT_SCHEDULER(9)mlx4_ALLOCATE_VPP_get(9)mlx4_ALLOCATE_VPP_set(9)mlx4_SET_VPORT_QOS_get(9)mlx4_SET_VPORT_QOS_set(9)
byeee bestie π the footer's source/version-and-date situation is literally ./drivers/net/ethernet/mellano... and October 2026, with mlx4_SET_PORT_PRIO2TC(9) holding the last-line spot β mwah π
π¦ 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