« Previous | Next » 

Revision 921ac5d0

ID921ac5d0f3a0df869db5ce4edf752f51d8b1596a

Added by Michael S. Tsirkin about 11 years ago

virtio-net: remove layout assumptions for ctrl vq

Virtio-net code makes assumption about virtqueue descriptor layout
(e.g. sg0 is the header, sg1 is the data buffer).

This patch makes code not rely on the layout of descriptors.

Signed-off-by: Michael S. Tsirkin <>
Signed-off-by: Amos Kong <>
Signed-off-by: Michael S. Tsirkin <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences