vio_init_qinfo()
Initialize the queue-dependent vdev state
Synopsis:
#include <qvm/vio.h>void vio_init_qinfo(struct vio_state *vsp)Arguments:
- vsp
- A pointer to the vdev state structure to be filled in.
Description:
This function initializes the queue-dependent vdev state. It is called by vio_init() as part of the vdev setup if the maximum number of virtqueues was defined in the vdev's configuration. Otherwise, the vdev code must call vio_init_qinfo() after the number of virtqueues has been negotiated between the driver and the device back-end during the vdev startup stage.
Page updated:
