ice_devlink_..._sf_dev_port(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay so this page comes from the Kernel API Manual, and the header spells the page as ice_devlink_..._sf_dev_port(9) β€” but the actual function is ice_devlink_create_sf_dev_port, and yes she is iconic ✨

NAME πŸŽ€

ice_devlink_create_sf_dev_port β€” register virtual port for a subfunction 🫢

SYNOPSIS 🌸

int ice_devlink_create_sf_dev_port (struct ice_sf_dev *sf_dev );

ARGUMENTS πŸ¦‹

  • sf_dev β€” the subfunction device to create a devlink port for. That's the one and only argument, bestie; no hidden extras, no cap.

DESCRIPTION πŸ’œ

okay so here's the vibe: this function registers a virtual flavour devlink port for the subfunction auxiliary device created after activating a dynamically added devlink port. Literally that's the plot β€” virtual flavour devlink port registration for the subfunction auxiliary device, after the dynamic devlink port gets activated. Slay.

RETURN πŸ”₯

zero on success, or an error code on failure. So: success = zero, failure = the error code. Periodt.

SEE ALSO πŸ‘‘

main character file: ./drivers/net/ethernet/intel/ice/devlink/port.c

the whole (9) squad, no cap:


cute sign-off time πŸ’‹ the footer's source/version is ./drivers/net/ethernet/intel/i... and the date is October 2026. mwah 🫢

πŸ“¦ where this page comes from