Whenever a new counter is created, save inside it the user requested configuration for optional-counters binding, for manual configuration it is requested directly by the user and for the automatic configuration it depends on if the automatic binding was enabled with or without optional-counters binding. This argument will later be used by the driver to determine if to bind the optional-counters as well or not when trying to bind this counter to a QP. It indicates that when binding counters to a QP we also want the currently enabled link optional-counters to be bound as well.
Showing the changes to include/uapi (1 of 4 files). Show all
Unified · Split
| @@ -580,6 +580,8 @@ enum rdma_nldev_attr { · 579 unmodified lines | ||
| 580 | 580 | RDMA_NLDEV_ATTR_EVENT_TYPE, /* u8 */ |
| 581 | 581 | |
| 582 | 582 | RDMA_NLDEV_SYS_ATTR_MONITOR_MODE, /* u8 */ |
| 583 | + | |
| 584 | + RDMA_NLDEV_ATTR_STAT_OPCOUNTER_ENABLED, /* u8 */ | |
| 583 | 585 | /* |
| 584 | 586 | * Always the end |
| 585 | 587 | */ |