ice_devlink_...et_vf_fn_mac(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay so bestie, welcome to the ice_devlink_...et_vf_fn_mac(9) page 🧊 β€” yes the header truncates it like that, it's giving "name too long for the vibes", but the actual function is ice_devlink_port_set_vf_fn_mac and she is a devlink handler, specifically the .port_fn_hw_addr_set one πŸ‘‘


✨ NAME ✨

ice_devlink_port_set_vf_fn_mac β€” the .port_fn_hw_addr_set devlink handler πŸŽ€


🌸 SYNOPSIS 🌸

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

πŸ¦‹ ARGUMENTS πŸ¦‹

  • port β€” the devlink port structure, like, the whole port situation 🫢
  • hw_addr β€” MAC address of the port, iconic little bytes πŸ”₯
  • hw_addr_len β€” length of the MAC address, because size matters (for buffers) πŸ’…
  • extack β€” extended netdev ack structure, the receipts/feedback channel πŸ“¬

πŸ’– DESCRIPTION πŸ’–

She's a callback for the devlink .port_fn_hw_addr_set operation ✨. That's the whole job description, no cap.


⭐ RETURN ⭐

zero on success or an error code on failure 😭 β€” so like, 0 = slay, anything else = we gotta talk.


πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file ./drivers/net/ethernet/intel/ice/devlink/port.c β€” go read the source, it's right there bestie πŸ“–

and the whole friend group, fr fr:


🌈 k bye bestie, this page came from ./drivers/net/ethernet/intel/i... (truncated, iykyk) and it's dated October 2026 β€” mark your calendar, mwah πŸ’‹πŸ«Ά

πŸ“¦ where this page comes from