ksz9477_acl_move_entries(9)
okay bestie, welcome to the ksz9477_acl_move_entries(9) page from the Kernel API Manual β¨ this one is literally about moving a block of contiguous ACL entries from a source to a destination index. slay.
π NAME π
ksz9477_acl_move_entries β Move a block of contiguous ACL entries from a source to a destination index.
πΈ SYNOPSIS πΈ
int ksz9477_acl_move_entries (struct ksz_device *dev , int port , u16
src_idx , u16 dst_idx );
π ARGUMENTS π
devβ Pointer to the KSZ9477 device structure. it's giving βdevice main character energyβ πportβ Port number. literally just the port number.src_idxβ Index of the starting source ACL entry. the starting point, bestie.dst_idxβ Index of the starting destination ACL entry. where the block is headed.
π¦ DESCRIPTION π¦
so this function aims to move a block of contiguous ACL entries from the source index to the destination index while ensuring the integrity and validity of the ACL table. very responsible of it, honestly.
in case of any errors during the adjustments or copying, the function will restore the ACL entries to their original state from the backup. π the backup really said βnot todayβ and saved the whole vibe.
π₯ RETURN π₯
0β if the move operation is successful. we love a clean win.-EINVALβ returns this for validation errors, or other error codes based on specific failure conditions. ngl, read that carefully.
π SEE ALSO π
kernel file: ./drivers/net/dsa/microchip/ksz9477_acl.c β go read the source, bestie, it's right there π
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_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)
okay that's the whole page, bestie π«Ά this cutie came from ./drivers/net/dsa/microchip, dated October 2026, and it's literally ksz9477_acl_move_entries(9). mwah π 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