ENUM DEVLINK_PORT_FN_OPSTATE(9)
π enum devlink_port_fn_opstate π
okay so this is the enum devlink_port_fn_opstate page from the Kernel API Manual, and itβs literally all about the operational state of a function. iykyk β¨
πΈ NAME πΈ
enum devlink_port_fn_opstate β indicates operational state of the function. thatβs the whole vibe check, bestie π
β¨ SYNOPSIS β¨
enum devlink_port_fn_opstate {
DEVLINK_PORT_FN_OPSTATE_DETACHED ,
DEVLINK_PORT_FN_OPSTATE_ATTACHED
};
π Constants π
DEVLINK_PORT_FN_OPSTATE_DETACHEDβ the driver is detached from the function. it is safe to delete the port. periodt πDEVLINK_PORT_FN_OPSTATE_ATTACHEDβ the driver is attached to the function. for a graceful tear down of the function, after inactivation of the function, the user should wait for the operational state to turn toDETACHED. no skipping that step, bestie π«Ά
π¦ SEE ALSO π¦
- Kernel file
./include/uapi/linux/devlink.h enum devlink_trap_action(9)enum devlink_trap_type(9)
lowkey the whole point:DETACHED= safe to delete the port;ATTACHED= wait for it to flip toDETACHEDafter inactivation if you want that graceful tear down ππ₯
okay bye bestie, this page is from ./include/uapi/linux, dated October 2026, and the page id is enum devlink...t_fn_opstate(9) β¨π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms