search for: vhost_mem_max_nregions_non

Displaying 8 results from an estimated 8 matches for "vhost_mem_max_nregions_non".

2015 Jun 24
2
[PATCH RFC] vhost: add ioctl to query nregions upper limit
...will fail + * 0 - there's no static limit: try and see if it works + * -1 - on failure + */ +#define VHOST_GET_MEM_MAX_NREGIONS _IO(VHOST_VIRTIO, 0x23) + +/* Returned by VHOST_GET_MEM_MAX_NREGIONS to mean there's no static limit: + * try and it'll work if you are lucky. */ +#define VHOST_MEM_MAX_NREGIONS_NONE 0 +/* We support at least as many nregions in VHOST_SET_MEM_TABLE: + * for use on legacy kernels without VHOST_GET_MEM_MAX_NREGIONS support. */ +#define VHOST_MEM_MAX_NREGIONS_DEFAULT 64 + /* VHOST_NET specific defines */ /* Attach virtio net ring to a raw socket, or tap device. diff --git a/d...
2015 Jun 24
2
[PATCH RFC] vhost: add ioctl to query nregions upper limit
...will fail + * 0 - there's no static limit: try and see if it works + * -1 - on failure + */ +#define VHOST_GET_MEM_MAX_NREGIONS _IO(VHOST_VIRTIO, 0x23) + +/* Returned by VHOST_GET_MEM_MAX_NREGIONS to mean there's no static limit: + * try and it'll work if you are lucky. */ +#define VHOST_MEM_MAX_NREGIONS_NONE 0 +/* We support at least as many nregions in VHOST_SET_MEM_TABLE: + * for use on legacy kernels without VHOST_GET_MEM_MAX_NREGIONS support. */ +#define VHOST_MEM_MAX_NREGIONS_DEFAULT 64 + /* VHOST_NET specific defines */ /* Attach virtio net ring to a raw socket, or tap device. diff --git a/d...
2015 Jun 24
2
[PATCH RFC] vhost: add ioctl to query nregions upper limit
...ks > > + * -1 - on failure > > + */ > > +#define VHOST_GET_MEM_MAX_NREGIONS _IO(VHOST_VIRTIO, 0x23) > > + > > +/* Returned by VHOST_GET_MEM_MAX_NREGIONS to mean there's no static limit: > > + * try and it'll work if you are lucky. */ > > +#define VHOST_MEM_MAX_NREGIONS_NONE 0 > is it needed? we always have a limit, > or don't have IOCTL => -1 => old try and see way > > > +/* We support at least as many nregions in VHOST_SET_MEM_TABLE: > > + * for use on legacy kernels without VHOST_GET_MEM_MAX_NREGIONS support. */ > > +#define VH...
2015 Jun 24
2
[PATCH RFC] vhost: add ioctl to query nregions upper limit
...ks > > + * -1 - on failure > > + */ > > +#define VHOST_GET_MEM_MAX_NREGIONS _IO(VHOST_VIRTIO, 0x23) > > + > > +/* Returned by VHOST_GET_MEM_MAX_NREGIONS to mean there's no static limit: > > + * try and it'll work if you are lucky. */ > > +#define VHOST_MEM_MAX_NREGIONS_NONE 0 > is it needed? we always have a limit, > or don't have IOCTL => -1 => old try and see way > > > +/* We support at least as many nregions in VHOST_SET_MEM_TABLE: > > + * for use on legacy kernels without VHOST_GET_MEM_MAX_NREGIONS support. */ > > +#define VH...
2015 Jun 24
1
[PATCH RFC] vhost: add ioctl to query nregions upper limit
...gt; > > > +#define VHOST_GET_MEM_MAX_NREGIONS _IO(VHOST_VIRTIO, 0x23) > > > > + > > > > +/* Returned by VHOST_GET_MEM_MAX_NREGIONS to mean there's no static limit: > > > > + * try and it'll work if you are lucky. */ > > > > +#define VHOST_MEM_MAX_NREGIONS_NONE 0 > > > is it needed? we always have a limit, > > > or don't have IOCTL => -1 => old try and see way > > > > > > > +/* We support at least as many nregions in VHOST_SET_MEM_TABLE: > > > > + * for use on legacy kernels without VHOST_GET_...
2015 Jun 24
1
[PATCH RFC] vhost: add ioctl to query nregions upper limit
...gt; > > > +#define VHOST_GET_MEM_MAX_NREGIONS _IO(VHOST_VIRTIO, 0x23) > > > > + > > > > +/* Returned by VHOST_GET_MEM_MAX_NREGIONS to mean there's no static limit: > > > > + * try and it'll work if you are lucky. */ > > > > +#define VHOST_MEM_MAX_NREGIONS_NONE 0 > > > is it needed? we always have a limit, > > > or don't have IOCTL => -1 => old try and see way > > > > > > > +/* We support at least as many nregions in VHOST_SET_MEM_TABLE: > > > > + * for use on legacy kernels without VHOST_GET_...
2015 Jun 24
0
[PATCH RFC] vhost: add ioctl to query nregions upper limit
...static limit: try and see if it works > + * -1 - on failure > + */ > +#define VHOST_GET_MEM_MAX_NREGIONS _IO(VHOST_VIRTIO, 0x23) > + > +/* Returned by VHOST_GET_MEM_MAX_NREGIONS to mean there's no static limit: > + * try and it'll work if you are lucky. */ > +#define VHOST_MEM_MAX_NREGIONS_NONE 0 is it needed? we always have a limit, or don't have IOCTL => -1 => old try and see way > +/* We support at least as many nregions in VHOST_SET_MEM_TABLE: > + * for use on legacy kernels without VHOST_GET_MEM_MAX_NREGIONS support. */ > +#define VHOST_MEM_MAX_NREGIONS_DEFAULT 6...
2015 Jun 24
0
[PATCH RFC] vhost: add ioctl to query nregions upper limit
...ure > > > + */ > > > +#define VHOST_GET_MEM_MAX_NREGIONS _IO(VHOST_VIRTIO, 0x23) > > > + > > > +/* Returned by VHOST_GET_MEM_MAX_NREGIONS to mean there's no static limit: > > > + * try and it'll work if you are lucky. */ > > > +#define VHOST_MEM_MAX_NREGIONS_NONE 0 > > is it needed? we always have a limit, > > or don't have IOCTL => -1 => old try and see way > > > > > +/* We support at least as many nregions in VHOST_SET_MEM_TABLE: > > > + * for use on legacy kernels without VHOST_GET_MEM_MAX_NREGIONS support....