ksz9477_flower_parse_key(9)
πΈ NAME πΈ
okay so bestie, this is the ksz9477_flower_parse_key(9) page from the Kernel API Manual, and the whole point is literally to parse flow rule keys for a specified port on a ksz_device. no cap, that's the function's main character job. π
β¨ SYNOPSIS β¨
int ksz9477_flower_parse_key (struct ksz_device *dev , int port , struct
netlink_ext_ack *extack , struct flow_rule *rule , unsigned long cookie
, u32 prio );
π ARGUMENTS π
devβ theksz_deviceinstance. it's giving "the device we're working with," obviously.portβ the port number to parse the flow rule keys for.extackβ the netlink extended ACK for reporting errors.ruleβ theflow_ruleto parse.cookieβ the cookie to associate with the entry.prioβ the priority of the entry.
π¦ DESCRIPTION π¦
okay so here's the vibe check: this function checks if the used keys in the flow rule are supported by the device, and it parses the L2 keys if they match. slay.
π¨ if unsupported keys are used, an error message is set in the extended ACK. so yeah, it does not just ignore the problem β it reports it. periodt.
π RETURN π
0 on success, or a negative error code on failure. simple as that, bestie. π«Ά
π SEE ALSO π
the receipts live in the kernel file:
./drivers/net/dsa/microchip/ksz9477_tc_flower.c
and these other pages are linked too:
ksz9477_flower_parse_key_l2(9)ksz9477_flower_parse_action(9)ksz9477_cls_flower_add(9)ksz9477_cls_flower_del(9)
this page's source/version is ./drivers/net/dsa/microchip, dated October 2026, and the manual name is ksz9477_flower_parse_key(9) β periodt. π
β¨
π¦ 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