ksz9477_move...es_downwards(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 the struct 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 πŸ’œ


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