Skip to content

Added new port attributes to get the interrupts information. #1495

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

orusanov-plvision
Copy link

@orusanov-plvision orusanov-plvision commented Jun 14, 2022

objectives:
This request adds a new port API get_port_interrupts_status() to retrieve the status of interrupts.
This API is the clear-on-read, the interruption status should be reset after the read.
API takes the list of interruptions IDs and returns their status.
True means interruption is triggered, false - is not triggered.
The list of results should be allocated before the API call, and should have the same size as the list of IDs.
Also these changes contain the enum of the interruption IDs sai_port_interrupt_t.

Signed-off-by: Oleksandr Rusanov oleksandr.rusanov@plvision.eu

This request adds a new port API get_port_interrupts_status() to retrieve the status of interrupts.
This API is the clear-on-read, the interruption status should be reset after the read.
API takes the list of interruptions IDs and returns their status.
True means interruption is triggered, false - is not triggered.
The list of results should be allocated before the API call, and should have the same size as the list of IDs.
Also these changes contain the enum of the interruption IDs sai_port_interrupt_t.

Signed-off-by: Oleksandr Rusanov <oleksandr.rusanov@plvision.eu>
@kcudnik
Copy link
Collaborator

kcudnik commented Jun 29, 2023

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

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