ksz9477_acl_move_entries(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

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 πŸ‘‘


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