ppe_queue_u...set_hash_set(9)
πΈ ppe_queue_u...set_hash_set(9) β NAME πΈ
okay bestie, welcome to the Kernel API Manual, the literal group chat of kernel documentation π
and today's main character is ppe_queue_ucast_offset_hash_set β she sets the PPE unicast queue offset based on a hash. that's it, that's the whole vibe β¨
π¦ SYNOPSIS π¦
like, here's her whole signature, copy it exactly please, no cap:
int ppe_queue_ucast_offset_hash_set (struct ppe_device *ppe_dev , int
profile_id , int rss_hash , int queue_offset );
she takes four things and gives you back an int. she's lowkey simple like that π
π ARGUMENTS π
the four besties she needs to function:
ppe_devβ the PPE device, obviously. your whole fave hardware situation πprofile_idβ the Profile ID. yes it's just a profile id, she's not gonna explain further πrss_hashβ the packet hash value that gets used to set the queue offset. this is the moment, this is the hash π§queue_offsetβ the queue offset, used for calculating the destination queue ID. math girlie behavior fr fr π
π DESCRIPTION π
so the tea is: the PPE unicast queue offset gets configured based on the RSS hash value. that's the entire plot π she's not doing a whole monologue, she's just setting that offset off the hash and minding her business. iconic, honestly. ate and left no crumbs π«Ά
β RETURN β
0on success π- a negative error code on failure π (yes negative, don't @ me)
π₯ SEE ALSO π₯
all her mutuals, in the order the original said, because we do not reshuffle the friend group:
- Kernel file
./drivers/net/ethernet/qualcomm/ppe/ppe_config.c struct ppe_bm_port_config(9)struct ppe_qm_queue_config(9)enum ppe_scheduler_direction(9)struct ppe_scheduler_bm_config(9)struct ppe_scheduler_qm_config(9)struct ppe_scheduler_port_config(9)struct ppe_port_schedule_resource(9)ppe_queue_scheduler_set(9)ppe_queue_ucast_base_set(9)ppe_queue_ucast_offset_pri_set(9)ppe_port_resource_get(9)ppe_sc_config_set(9)ppe_counter_enable_set(9)ppe_rss_hash_config_set(9)ppe_ring_queue_map_set(9)
ngl that's the whole page β she's short, she's sweet, she sets one offset. periodt π
anyway bestie, that's a wrap π this lil gem comes from ./drivers/net/ethernet/qualcom... and she's stamped October 2026, so go forth and configure your queue offsets responsibly, 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