ksz9477_sort_acl_entries(9)
π ksz9477_sort_acl_entries(9) β Kernel API Manual π
okay bestie, welcome to the Kernel API Manual page for ksz9477_sort_acl_entries(9) β yes, that whole manual-name situation is handled right up here so we can get into the good stuff. π
πΈ NAME πΈ
ksz9477_sort_acl_entries β sort the ACL entries for a given port. Periodt. π
β¨ SYNOPSIS β¨
int ksz9477_sort_acl_entries (struct ksz_device *dev , int port );
π ARGUMENTS π
devβ pointer to the KSZ device. It's giving "main character pointer" energy. π«Άportβ the port number. Slay, specify which port's ACL we're sorting. β
π¦ DESCRIPTION π¦
okay so this function sorts the Access Control List (ACL) entries for a specified port. Before the sorting happens, a backup of the original entries is created β iconic safety behavior, no cap. π§
If the sorting process fails, the function will log error messages displaying both the original and attempted sorted entries, and then restore the original entries from the backup. That's the whole "oops bestie, we're rolling back" moment. π
π RETURN π
0 if the sorting succeeds, otherwise a negative error code. fr fr, check that return value. π
π SEE ALSO π
Kernel file ./drivers/net/dsa/microchip/ksz9477_acl.c β go read the source, iykyk. π
ksz9477_dump_acl_index(9)ksz9477_dump_acl(9)ksz9477_acl_is_valid_matching_rule(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_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)
Mwah π β the source path on this one is ./drivers/net/dsa/microchip, and the date stamped on the page is October 2026. Stay sorted, bestie! πβ¨
π¦ 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