ice_devlink_port_unsplit(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay bestie, grab your iced coffee because we're diving into the Kernel API Manual, section 9 β€” this one's all about the devlink handler called .port_unsplit, and honestly? it's giving "undo button energy" πŸŽ€


🌸 NAME 🌸

ice_devlink_port_unsplit β€” the .port_unsplit devlink handler, periodt πŸ’…


✨ SYNOPSIS ✨

int ice_devlink_port_unsplit (struct devlink *devlink , struct
       devlink_port *port , struct netlink_ext_ack *extack );

like, that's the whole signature, no cap 🫢


πŸ¦‹ ARGUMENTS πŸ¦‹

  • devlink β€” the devlink instance structure, your main character 🫢
  • port β€” the devlink port structure, living its best life
  • extack β€” the extended netdev ack structure (yes it's a real thing, iykyk)

πŸ’– DESCRIPTION πŸ’–

So this is the callback for the devlink .port_unsplit operation β€” literally what runs when someone wants to un-split. And the way it works? It just calls ice_devlink_port_split with the split count set to 1. simple, iconic, done πŸ”₯

⚠️ heads up bestie: there could be no FW option available with split count 1. so like, don't come for me if that happens, the firmware said no 😭

⭐ RETURN ⭐

zero on success, or an error code on failure. slay when it works, πŸ’€ when it doesn't, that's just how it is.


🌈 SEE ALSO 🌈

first up, the kernel file it lives in:

./drivers/net/ethernet/intel/ice/devlink/port.c

and then the whole friend group, fr fr β€” every single one of these:

like okay go off, read all of them, i'll wait πŸ’œ


k bye bestie, this page came from ./drivers/net/ethernet/intel/i... and it's dated October 2026, so like, mark your calendar and hydrate πŸ’…βœ¨πŸŒΈ

πŸ“¦ where this page comes from