[dpdk-dev] [PATCH v13 1/2] ethdev: Add a new event type to notify a queue state changed event

Thomas Monjalon thomas.monjalon at 6wind.com
Mon Mar 21 09:37:07 CET 2016


2016-03-21 14:45, Tetsuya Mukawa:
> This event will be occured when some queues are enabled or disabled.
> So far, only vhost PMD supports the event, and it indicates some queues
> are enabled or disabled by virtio-net device. Such an event is needed
> because virtio-net device may not enable all queues vhost PMD prepare.
> 
> Because only vhost PMD uses the event so far, it isn't an actual hardware
> interrupt but a simple software event.
[...]
> 
> +	RTE_ETH_EVENT_QUEUE_STATE_CHANGE,
> +				/**< queue state changed interrupt */

Is the shorter RTE_ETH_EVENT_QUEUE_STATE descriptive enough?

What about this comment?
/**< queue state event (enabled/disabled) */


More information about the dev mailing list