[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH v3] ring.h: introduce macros to handle monodirectional rings with multiple req sizes



On Wed, 22 Feb 2017, Oleksandr Andrushchenko wrote:
> Hi, Stefano, Jan!
> 1. Stefano, are you still NOT considering adding
> functionality to avoid memory copying? We discussed
> this a little bit here [1].

Hi Oleksandr,

these macros are the generic versions of what pvcalls and xen-9pfs need,
and these protocols use memory copies. I cannot introduce memory sharing
interfaces as part of this patch, because they wouldn't comply to
pvcalls or xen-9pfs and I don't have another test case for them.
But if you had a patch to introduce them in ring.h, I would be happy to
help you review it.


> 2. Will you also provide macros/inlines for fixed sized packets?
> So, others do not reinvent the wheel again on top of your code.

I thought I already did: you can read/write fixed sized packets using
the two read/write_packet functions.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
https://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.