Skip to content

move asic-specific features into api trait#140

Merged
rcgoodfellow merged 1 commit intomainfrom
ry/finish-trait-migration
Sep 27, 2025
Merged

move asic-specific features into api trait#140
rcgoodfellow merged 1 commit intomainfrom
ry/finish-trait-migration

Conversation

@rcgoodfellow
Copy link
Copy Markdown
Contributor

@rcgoodfellow rcgoodfellow commented Sep 26, 2025

This moves remaining API methods into the API trait so the API manager can be used.

Implementations of these methods are gated by asic features similar to how inclusion of these methods in the API document was gated by asic features before.

Copy link
Copy Markdown
Contributor

@sunshowers sunshowers left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

Comment thread dpd-api/src/lib.rs
Comment on lines +2274 to +2280
/// The switch port ID.
pub port_id: PortId,
/// The link ID.
pub link_id: LinkId,
/// The FEC counter data.
pub counters: FecRSCounters,
}
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You may want to put these in dpd-types, especially if they're going to be replaced in the future.

@rcgoodfellow rcgoodfellow force-pushed the ry/finish-trait-migration branch from 1fc43a9 to 29efa40 Compare September 26, 2025 18:58
@rcgoodfellow rcgoodfellow merged commit b3cdd09 into main Sep 27, 2025
6 checks passed
@rcgoodfellow rcgoodfellow deleted the ry/finish-trait-migration branch September 27, 2025 04:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants