ksz9477_move...es_downwards(9)
π ksz9477_move_entries_downwards(9) β the Kernel API Manual, bestie edition π
okay so real talk, you're reading the ksz9477_move_entries_downwards(9) page β it's a kernel API manual and it's honestly lowkey iconic. anyway, let's go πΈ
β¨ NAME β¨
ksz9477_move_entries_downwards β moves a whole range of ACL entries, like, downwards in the list. that's the whole vibe, no cap π
π¦ SYNOPSIS π¦
int ksz9477_move_entries_downwards (struct ksz_device *dev , struct
ksz9477_acl_entries *acles , u16 start_idx , u16 num_entries_to_move ,
u16 end_idx );
π ARGUMENTS π
devβ pointer to thestruct ksz_device, aka the KSZ device structure. your main character device, basically.aclesβ pointer to the structure that wraps up all the ACL entries. the whole squad in one struct π«Άstart_idxβ the starting index of the entries that are getting relocated. where the road trip begins.num_entries_to_moveβ how many consecutive entries are coming along for the ride.end_idxβ the destination index, i.e. where the first entry should be sitting once the relocation is done. the final destination, fr fr.
π₯ DESCRIPTION π₯
this function's whole job is rearranging one specific block of ACL entries by shifting them downwards in the list, based on the source index and destination index you hand it. it's giving professional organizer energy.
and bestie, it makes sure the linkage between the ACL entries stays maintained accurately after the relocation. so nothing gets ghosted, nothing gets unlinked. the way it keeps everything connected? obsessed. β¨
β RETURN β
0 if the relocation slayed and everything moved successfully β otherwise it returns a negative error code π (iykyk, go check your indices).
π SEE ALSO π
the kernel file lives at ./drivers/net/dsa/microchip/ksz9477_acl.c β that's the mothership.
and here's the whole friend group, every single one of them, not skipping a soul π
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_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)
and that's the page!! π
β¨ brought to you by ./drivers/net/dsa/microchip, dated October 2026 β mwah, see u in the next manpage 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