hns_ppe_set_port_mode(9)
π hns_ppe_set_port_mode(9) β Kernel API Manual, but make it make sense
okay so bestie, we're in the Kernel API Manual today and the star of the show is hns_ppe_set_port_mode(9) β yes, that's the whole manual name, we love a title that eats π
β¨ NAME β¨
hns_ppe_set_port_mode β set port mode π
like, that's literally the whole job. it sets the port mode. no cap.
πΈ SYNOPSIS πΈ
void hns_ppe_set_port_mode (struct hns_ppe_cb *ppe_cb , enum
ppe_port_mode mode );
it returns void, so don't be out here waiting for a return value, she gives you nothing back and that's iconic of her π«Ά
π¦ ARGUMENTS π¦
ppe_cbβ the ppe device π (that's yourstruct hns_ppe_cb *, the main character)modeβ the port mode β (anenum ppe_port_mode, so pick your vibe from the enum, not from the void)
π₯ SEE ALSO π₯
- Kernel file
./drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.cβ yes, go read it, iykyk π hns_ppe_common_get_cfg(9)hns_ppe_checksum_hw(9)hns_ppe_set_qid(9)hns_ppe_common_init_hw(9)hns_ppe_init_hw(9)hns_ppe_uninit_hw(9)hns_ppe_reset_common(9)hns_ppe_get_strings(9)hns_ppe_init(9)
the whole ppe friend group fr fr, go say hi to all of them π
ngl this one's a short read β no options, no environment variables, no exit statuses, no bugs listed, just vibes and a port mode π don't go inventing flags that aren't here, bestie π
and that's the tea π this page came from ./drivers/net/ethernet/hisilic... and it's dated October 2026, filed under hns_ppe_set_port_mode(9) β slay, go set that port mode, you got this πβ¨
π¦ 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