ice_devlink_...et_vf_fn_mac(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay bestie, welcome to the Kernel API Manual corner where this little kernel cutie lives ✨ no cap, we’re keeping every fact exactly where it belongs.

✨ NAME ✨

ice_devlink_port_get_vf_fn_mac β€” the .port_fn_hw_addr_get devlink handler. That’s the name card, and it’s giving kernel-handler icon energy πŸ’…

πŸŽ€ SYNOPSIS πŸŽ€

here’s the signature, bestie β€” copy it exactly or the compiler will side-eye you 😭

int ice_devlink_port_get_vf_fn_mac (struct devlink_port *port , u8
       *hw_addr , int *hw_addr_len , struct netlink_ext_ack *extack );

🌸 ARGUMENTS 🌸

  • port β€” devlink port structure 🫢
  • hw_addr β€” MAC address of the port ✨
  • hw_addr_len β€” length of MAC address πŸ“
  • extack β€” extended netdev ack structure πŸ’Œ

πŸ¦‹ DESCRIPTION πŸ¦‹

Callback for the devlink .port_fn_hw_addr_get operation. That’s the assignment, bestie β€” just the callback vibe check, periodt πŸ’…

πŸ”₯ RETURN πŸ”₯

zero on success or an error code on failure. Slay when it’s zero, side-eye when it’s an error code 😭

πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file: ./drivers/net/ethernet/intel/ice/devlink/port.c β€” go read the source, it’s giving main character energy πŸ“–βœ¨


bye bestie πŸ’– β€” this page’s source/version is ./drivers/net/ethernet/intel/i..., the date is October 2026, and the footer title is ice_devlink_...et_vf_fn_mac(9) πŸŽ€βœ¨

πŸ“¦ where this page comes from