Re: [virtio-dev] repost: af_packet vs virtio (was packed ring layout proposal v2)

2017-08-06 Thread Adam Tao
On Wed, Aug 02, 2017 at 04:50:03PM +0300, Michael S. Tsirkin wrote: > On Tue, Aug 01, 2017 at 08:54:27PM -0700, Steven Luong wrote: > > * Descriptor ring: > > > > Guest adds descriptors with unique index values and DESC_HW set in > > flags. > > Host overwrites used descriptors with co

Re: [virtio-dev] repost: af_packet vs virtio (was packed ring layout proposal v2)

2017-08-02 Thread Michael S. Tsirkin
On Tue, Aug 01, 2017 at 08:54:27PM -0700, Steven Luong wrote: > * Descriptor ring: > > Guest adds descriptors with unique index values and DESC_HW set in flags. > Host overwrites used descriptors with correct len, index, and DESC_HW > clear.  Flags are always set/cleared last. > >

repost: af_packet vs virtio (was packed ring layout proposal v2)

2017-04-13 Thread Michael S. Tsirkin
On Fri, Apr 14, 2017 at 05:42:58AM +0300, Michael S. Tsirkin wrote: > Hi all, I wanted to raise the question of similarities between virtio > and new zero copy af_packet interfaces. > > First I would like to mention that virtio device development isn't spec > limited - spec is there to help intero

af_packet vs virtio

2017-04-13 Thread Michael S. Tsirkin
Hi all, I wanted to raise the question of similarities between virtio and new zero copy af_packet interfaces. First I would like to mention that virtio device development isn't spec limited - spec is there to help interoperability and add peace of mind for people worried about IPR. So I tend to a