ksz9477_acl_...atching_rule(9)
π ksz9477_acl_is_valid_matching_rule β the vibe check for your ACL entry π
okay so real talk bestie, this is a page straight out of the Kernel API Manual (the ksz9477_acl_...atching_rule(9) one, yes the title got chopped in the middle, we love a mysterious queen π
). Anyway. You clicked on this function, so let's get you fed. π
β¨ SYNOPSIS β¨
bool ksz9477_acl_is_valid_matching_rule (u8 *entry );
πΈ ARGUMENTS πΈ
entryβ a pointer to the ACL entry buffer π«Ά. That's it. That's the whole argument list. She's low maintenance, she's iconic.
π¦ DESCRIPTION π¦
So what does she actually do? ksz9477_acl_is_valid_matching_rule takes a look at the ACL entry buffer you handed her and checks whether it contains a valid matching rule β and she does it by inspecting two fields: the Mode field (MD) and the Enable field (ENB). π
That's the whole bit. She peeks at MD and ENB, decides if the rule is legit, and gets on with her day. No cap. β¨
π RETURN π
trueβ yup, it's a valid matching rule, slay πfalseβ nope, not a valid matching rule, and she's not sorry π
π§ SEE ALSO π§
The kernel file this bad girl lives in:
./drivers/net/dsa/microchip/ksz9477_acl.c
And her whole friend group (they all show up to the group chat together, iykyk):
ksz9477_dump_acl_index(9)ksz9477_dump_acl(9)ksz9477_acl_get_cont_entr(9)ksz9477_acl_update_linkage(9)ksz9477_validate_and_get_src_count(9)ksz9477_move_entries_downwards(9)ksz9477_move_entries_upwards(9)ksz9477_acl_move_entries(9)ksz9477_get_next_block_start(9)ksz9477_swap_acl_blocks(9)ksz9477_sort_acl_entr_no_back(9)ksz9477_sort_acl_entries(9)ksz9477_acl_wait_ready(9)ksz9477_acl_entry_write(9)ksz9477_acl_port_enable(9)ksz9477_acl_port_disable(9)ksz9477_acl_write_list(9)ksz9477_acl_remove_entries(9)ksz9477_port_acl_init(9)ksz9477_port_acl_free(9)ksz9477_acl_set_reg(9)ksz9477_acl_matching_rule_cfg_l2(9)ksz9477_acl_action_rule_cfg(9)ksz9477_acl_processing_rule_set_action(9)ksz9477_acl_processing_rule_add_match(9)ksz9477_acl_get_init_entry(9)ksz9477_acl_match_process_l2(9)
ngl bestie, the list is long but every single one of those is a real link in the manual β go click around, the lore is deep π
okay that's the whole page!! π this cutie came to you courtesy of ./drivers/net/dsa/microchip, dated October 2026, from the Kernel API Manual β and yes, that's the full, un-chopped, completely valid source-and-date situation, so you can screenshot it for the group chat πΈβ¨ 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