Allow driver to mark a line card as active. Expose this state to the userspace over devlink netlink interface with proper notifications. 'active' state means that line card was plugged in after being provisioned.
Showing the changes to include/uapi/linux/devlink.h (1 of 4 files). Show all
Unified · Split
| @@ -350,6 +350,7 @@ enum devlink_linecard_state { · 349 unmodified lines | ||
| 350 | 350 | DEVLINK_LINECARD_STATE_PROVISIONING, |
| 351 | 351 | DEVLINK_LINECARD_STATE_PROVISIONING_FAILED, |
| 352 | 352 | DEVLINK_LINECARD_STATE_PROVISIONED, |
| 353 | + DEVLINK_LINECARD_STATE_ACTIVE, | |
| 353 | 354 | |
| 354 | 355 | __DEVLINK_LINECARD_STATE_MAX, |
| 355 | 356 | DEVLINK_LINECARD_STATE_MAX = __DEVLINK_LINECARD_STATE_MAX - 1 |