ksz9477_acl_entry_write(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… ksz9477_acl_entry_write(9) β€” a Kernel API Manual moment

okay bestie, welcome to the Kernel API Manual page for ksz9477_acl_entry_write, and honestly? she's a little icon. one job, does it well, no drama. let's get into it πŸŽ€


🌸 NAME 🌸

ksz9477_acl_entry_write β€” writes an ACL entry to a given port at the specified index. that's it, that's the whole vibe. ✨


πŸ¦‹ SYNOPSIS πŸ¦‹

int ksz9477_acl_entry_write (struct ksz_device *dev , int port , u8 *entry , int idx );

she takes four things and gives you back an int. lowkey elegant. 🫢


πŸ’– ARGUMENTS πŸ’–

  • dev β€” the ksz_device instance. your main character struct, fr.
  • port β€” the port number you're writing the ACL entry to. pick your fave.
  • entry β€” a pointer to the ACL entry data. yes it's a u8 *, no we're not questioning it.
  • idx β€” the index at which to write the ACL entry. location, location, location πŸ’…

✨ DESCRIPTION ✨

so like, what does she do? she writes the provided ACL entry to the specified port at the given index. that's the whole plot. no cap, no hidden twist, just a clean little write operation doing exactly what the name says πŸ”₯


⭐ RETURN ⭐

0 if the operation is successful πŸŽ‰ β€” or a negative error code if an error occurs 😭 (iykyk, always check your returns besties).


🌈 SEE ALSO 🌈

the whole friend group, and honestly they're all iconic πŸ‘‘:


reminder bestie: this page lives in the kernel source tree at ./drivers/net/dsa/microchip πŸ’œ

and that's the page!! stay hydrated, check your error codes, and remember β€” negative return values are NOT a personality trait πŸ“

with love, from the Kernel API Manual, dated October 2026 πŸ§šβ€β™€οΈ

πŸ“¦ where this page comes from