Skip to content

Conversation

@glneo
Copy link
Contributor

@glneo glneo commented Mar 15, 2024

Both of these functions should be internal to virtqueue. They should have had no usefulness outside of this file and so moving them should not cause any API issue. This simplifies the virtio ring setup code for later improvements

Both of these functions should be internal to virtqueue. They should have
had no usefulness outside of this file and so moving them should not
cause any API issue. This simplifies the virtio ring setup code for
later improvements

Signed-off-by: Andrew Davis <afd@ti.com>
@arnopo arnopo requested review from arnopo, edmooring and tnmysh March 22, 2024 09:18
Copy link
Collaborator

@arnopo arnopo left a comment

Choose a reason for hiding this comment

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

vring_init() is used at least by Zephyr, so should be kept in the API. https://elixir.bootlin.com/zephyr/latest/source/drivers/ethernet/eth_ivshmem_queue.c#L51

I don't think that vring_need_event() can be used externally. So Ok to me to not apply deprecation process

@github-actions
Copy link

This pull request has been marked as a stale pull request because it has been open (more than) 45 days with no activity.

@github-actions github-actions bot added the Stale label May 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants