On Sun, Aug 31, 2014 at 06:42:38PM -0700, Andy Lutomirski wrote:
On Sun, Aug 31, 2014 at 5:58 PM, Rusty Russell ru...@rustcorp.com.au wrote:
Andy Lutomirski l...@amacapital.net writes:
The only unusual thing about virtio's use of scatterlists is that
two of the APIs accept scatterlists that
On Sep 1, 2014 12:00 AM, Michael S. Tsirkin m...@redhat.com wrote:
On Sun, Aug 31, 2014 at 06:42:38PM -0700, Andy Lutomirski wrote:
On Sun, Aug 31, 2014 at 5:58 PM, Rusty Russell ru...@rustcorp.com.au
wrote:
Andy Lutomirski l...@amacapital.net writes:
The only unusual thing about
Andy Lutomirski l...@amacapital.net writes:
The only unusual thing about virtio's use of scatterlists is that
two of the APIs accept scatterlists that might not be terminated.
Using function pointers to handle this case is overkill; for_each_sg
can do it.
There's a small subtlely here:
On Sun, Aug 31, 2014 at 5:58 PM, Rusty Russell ru...@rustcorp.com.au wrote:
Andy Lutomirski l...@amacapital.net writes:
The only unusual thing about virtio's use of scatterlists is that
two of the APIs accept scatterlists that might not be terminated.
Using function pointers to handle this
The only unusual thing about virtio's use of scatterlists is that
two of the APIs accept scatterlists that might not be terminated.
Using function pointers to handle this case is overkill; for_each_sg
can do it.
There's a small subtlely here: for_each_sg assumes that the provided
count is