> From: Vitaly Kuznetsov [mailto:vkuzn...@redhat.com]
> Sent: Tuesday, January 5, 2016 20:31
> ...
> > To get the payload of hvsock, we need raw=0 to skip the level-1 header
> > (i.e., struct vmpacket_descriptor desc) and we also need to skip the
> > level-2 header (i.e., struct vmpipe_proto_header
Dexuan Cui writes:
> To get the payload of hvsock, we need raw=0 to skip the level-1 header
> (i.e., struct vmpacket_descriptor desc) and we also need to skip the
> level-2 header (i.e., struct vmpipe_proto_header pipe_hdr).
>
> NB: if the length of the hvsock payload is not aligned with the 8-by
inuxdriverproject.org; o...@aepfle.de; a...@canonical.com;
> jasow...@redhat.com; KY Srinivasan ; pebo...@tiscali.nl;
> stefa...@redhat.com; vkuzn...@redhat.com; dan.carpen...@oracle.com
> Subject: Re: [PATCH V5 4/9] Drivers: hv: ring_buffer: enhance
> hv_ringbuffer_read() to support hvs
From: Dexuan Cui
Date: Thu, 24 Dec 2015 06:14:36 -0800
> +#define HV_RINGBUFFER_READ_FLAG_RAW (1 << 0)
> +#define HV_RINGBUFFER_READ_FLAG_HVSOCK (1 << 1)
Please use BIT().
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majo