Skip to content

Conversation

@its-sachin
Copy link

No description provided.

pub fn process_tap(&mut self) -> result::Result<(), Error>
```

While any of write_frame_to_guest or enable_notification from Rx queue is true, it sets rxbuf_current to value read by tap from Rx buffer (only if rxbuf_current is 0). Finally notifies driver_notify with index as `RXQ_INDEX` if Rx queue needs notification

Choose a reason for hiding this comment

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

While any one of write_frame_to_guest or enable_notification from the Rx queue is true, it sets rxbuf_current to the value read by tap from the Rx buffer (only if rxbuf_current is 0). Finally, if the Rx queue requires notification, notifies driver_notify with the index RXQ_INDEX.

Copy link
Owner

@codenet codenet left a comment

Choose a reason for hiding this comment

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

Please address existing comments. We can then merge.

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.

7 participants