search for: 942296

Displaying 11 results from an estimated 11 matches for "942296".

2018 Nov 30
4
[PATCH net-next v3 01/13] virtio: add packed ring types and macros
On 2018/11/21 ??6:03, Tiwei Bie wrote: > Add types and macros for packed ring. > > Signed-off-by: Tiwei Bie <tiwei.bie at intel.com> > --- > include/uapi/linux/virtio_config.h | 3 +++ > include/uapi/linux/virtio_ring.h | 52 ++++++++++++++++++++++++++++++++++++++ > 2 files changed, 55 insertions(+) > > diff --git a/include/uapi/linux/virtio_config.h
2018 Nov 30
4
[PATCH net-next v3 01/13] virtio: add packed ring types and macros
On 2018/11/21 ??6:03, Tiwei Bie wrote: > Add types and macros for packed ring. > > Signed-off-by: Tiwei Bie <tiwei.bie at intel.com> > --- > include/uapi/linux/virtio_config.h | 3 +++ > include/uapi/linux/virtio_ring.h | 52 ++++++++++++++++++++++++++++++++++++++ > 2 files changed, 55 insertions(+) > > diff --git a/include/uapi/linux/virtio_config.h
2018 Nov 30
2
[PATCH net-next v3 01/13] virtio: add packed ring types and macros
...This looks inconsistent to previous flags, any reason for using shifts? > > > > > > > > Yeah, it was suggested to use shifts, as _F_ should be a bit > > > > number, not a shifted value: > > > > > > > > https://patchwork.ozlabs.org/patch/942296/#1989390 > > > > > > But let's add a _SPLIT_ variant that uses shifts consistently. > > > > Maybe we could avoid adding SPLIT and PACKED, but define as follow: > > > > #define VRING_DESC_F_INDIRECT_SHIFT 2 > > #define VRING_DESC_F_INDIRECT (1ul...
2018 Nov 30
2
[PATCH net-next v3 01/13] virtio: add packed ring types and macros
...This looks inconsistent to previous flags, any reason for using shifts? > > > > > > > > Yeah, it was suggested to use shifts, as _F_ should be a bit > > > > number, not a shifted value: > > > > > > > > https://patchwork.ozlabs.org/patch/942296/#1989390 > > > > > > But let's add a _SPLIT_ variant that uses shifts consistently. > > > > Maybe we could avoid adding SPLIT and PACKED, but define as follow: > > > > #define VRING_DESC_F_INDIRECT_SHIFT 2 > > #define VRING_DESC_F_INDIRECT (1ul...
2018 Nov 30
2
[PATCH net-next v3 01/13] virtio: add packed ring types and macros
...ason for using shifts? > > > > > > > > > > > > Yeah, it was suggested to use shifts, as _F_ should be a bit > > > > > > number, not a shifted value: > > > > > > > > > > > > https://patchwork.ozlabs.org/patch/942296/#1989390 > > > > > > > > > > But let's add a _SPLIT_ variant that uses shifts consistently. > > > > > > > > Maybe we could avoid adding SPLIT and PACKED, but define as follow: > > > > > > > > #define VRING_DESC_F_I...
2018 Nov 30
2
[PATCH net-next v3 01/13] virtio: add packed ring types and macros
...ason for using shifts? > > > > > > > > > > > > Yeah, it was suggested to use shifts, as _F_ should be a bit > > > > > > number, not a shifted value: > > > > > > > > > > > > https://patchwork.ozlabs.org/patch/942296/#1989390 > > > > > > > > > > But let's add a _SPLIT_ variant that uses shifts consistently. > > > > > > > > Maybe we could avoid adding SPLIT and PACKED, but define as follow: > > > > > > > > #define VRING_DESC_F_I...
2018 Nov 30
0
[PATCH net-next v3 01/13] virtio: add packed ring types and macros
...d ring. > > + * Notice: they are defined as shifts instead of shifted values. > > > This looks inconsistent to previous flags, any reason for using shifts? Yeah, it was suggested to use shifts, as _F_ should be a bit number, not a shifted value: https://patchwork.ozlabs.org/patch/942296/#1989390 > > > > + */ > > +#define VRING_PACKED_DESC_F_AVAIL 7 > > +#define VRING_PACKED_DESC_F_USED 15 > > + > > /* The Host uses this in used->flags to advise the Guest: don't kick me when > > * you add a buffer. It's unreliable, so it...
2018 Nov 30
0
[PATCH net-next v3 01/13] virtio: add packed ring types and macros
...> > > > > This looks inconsistent to previous flags, any reason for using shifts? > > > > > > Yeah, it was suggested to use shifts, as _F_ should be a bit > > > number, not a shifted value: > > > > > > https://patchwork.ozlabs.org/patch/942296/#1989390 > > > > But let's add a _SPLIT_ variant that uses shifts consistently. > > Maybe we could avoid adding SPLIT and PACKED, but define as follow: > > #define VRING_DESC_F_INDIRECT_SHIFT 2 > #define VRING_DESC_F_INDIRECT (1ull << VRING_DESC_F_INDIRECT_S...
2018 Nov 30
0
[PATCH net-next v3 01/13] virtio: add packed ring types and macros
...to previous flags, any reason for using shifts? > > > > > > > > > > Yeah, it was suggested to use shifts, as _F_ should be a bit > > > > > number, not a shifted value: > > > > > > > > > > https://patchwork.ozlabs.org/patch/942296/#1989390 > > > > > > > > But let's add a _SPLIT_ variant that uses shifts consistently. > > > > > > Maybe we could avoid adding SPLIT and PACKED, but define as follow: > > > > > > #define VRING_DESC_F_INDIRECT_SHIFT 2 > > >...
2018 Nov 30
0
[PATCH net-next v3 01/13] virtio: add packed ring types and macros
...t; > > > > > > > > > > > > > Yeah, it was suggested to use shifts, as _F_ should be a bit > > > > > > > number, not a shifted value: > > > > > > > > > > > > > > https://patchwork.ozlabs.org/patch/942296/#1989390 > > > > > > > > > > > > But let's add a _SPLIT_ variant that uses shifts consistently. > > > > > > > > > > Maybe we could avoid adding SPLIT and PACKED, but define as follow: > > > > > > > > &g...
2014 Mar 19
1
Centos6 x86_64
Hi, I just tried to generate keys for tinc. /usr/sbin/tinc generate-keys When generating the key, the rsa key are generated. But ik get de following error, what does it means. Generating ECDSA keypair: Generating EC key failed: error:100AE081:elliptic curve routines:EC_GROUP_new_by_curve_name:unknown groupError during key generation! Perry