ppe_rss_hash_config_set(9)
π ppe_rss_hash_config_set(9) π
okay bestie, so this is a page straight out of the Kernel API Manual β it's ppe_rss_hash_config_set(9), and it's giving "niche but iconic" energy. ngl it's short, but every word ate. let's get into it π
β¨ NAME β¨
ppe_rss_hash_config_set β like, the whole vibe of this function is "configure the PPE hash settings for the packet received" πΈ that's it, that's the job, and it does it slayfully.
π¦ SYNOPSIS π¦
int ppe_rss_hash_config_set (struct ppe_device *ppe_dev , int mode ,
struct ppe_rss_hash_cfg cfg );
so it returns an int, takes a struct ppe_device *ppe_dev, an int mode, and a struct ppe_rss_hash_cfg cfg β copy that exactly, no cap, don't be out here renaming things π
π ARGUMENTS π
ppe_devβ the PPE device. yes, THE device. your main character π«Άmodeβ this is where you tell it to configure the RSS hash for the packet type IPv4 and IPv6. pick your fighter (or, like, both).cfgβ the RSS hash configuration itself. the ~details~ β¨
π DESCRIPTION π
so basically: PPE RSS hash settings are configured for the packet type IPv4 and IPv6. that's literally the whole description bestie, it's a short king and we respect it π
β RETURN β
0on success π- a negative error code on failure π (so like, if you see a negative number, it did not slay)
π₯ SEE ALSO π₯
go read these next, iykyk:
- 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_queue_ucast_offset_hash_set(9)ppe_port_resource_get(9)ppe_sc_config_set(9)ppe_counter_enable_set(9)ppe_ring_queue_map_set(9)
like, that's a whole friend group of functions and structs and enums β go say hi to all of them π§ββοΈ
lowkey reminder: keep the args exactly as they're written,int modeandstruct ppe_rss_hash_cfg cfgby value, no sneaky pointer-swapping π
and that's the page!! source/version is from ./drivers/net/ethernet/qualcom... and it's dated October 2026 β so yeah, ahead of its time, iconic behavior π bye bestie, go configure some hashes π
π¦ 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