Displaying 9 results from an estimated 9 matches for "virtio_vsock_op_credit".
2013 Jun 27
0
[RFC 0/5] Introduce VM Sockets virtio transport
...gt;
> enum {
> VIRTIO_VSOCK_OP_INVALID = 0,
> VIRTIO_VSOCK_OP_REQUEST = 1,
> VIRTIO_VSOCK_OP_NEGOTIATE = 2,
> VIRTIO_VSOCK_OP_OFFER = 3,
> VIRTIO_VSOCK_OP_ATTACH = 4,
> VIRTIO_VSOCK_OP_RW = 5,
> VIRTIO_VSOCK_OP_CREDIT = 6,
> VIRTIO_VSOCK_OP_RST = 7,
> VIRTIO_VSOCK_OP_SHUTDOWN = 8,
> };
>
> shut: specifies the shutdown mode when the socket is being shutdown. 1 is for
> receive shutdown, 2 is for transmit shutdown, 3 is for both receive and transmit
> shutdown.
It...
2013 Jun 27
13
[RFC 0/5] Introduce VM Sockets virtio transport
...on of the packet, it is defined as follows.
enum {
VIRTIO_VSOCK_OP_INVALID = 0,
VIRTIO_VSOCK_OP_REQUEST = 1,
VIRTIO_VSOCK_OP_NEGOTIATE = 2,
VIRTIO_VSOCK_OP_OFFER = 3,
VIRTIO_VSOCK_OP_ATTACH = 4,
VIRTIO_VSOCK_OP_RW = 5,
VIRTIO_VSOCK_OP_CREDIT = 6,
VIRTIO_VSOCK_OP_RST = 7,
VIRTIO_VSOCK_OP_SHUTDOWN = 8,
};
shut: specifies the shutdown mode when the socket is being shutdown. 1 is for
receive shutdown, 2 is for transmit shutdown, 3 is for both receive and transmit
shutdown.
fwd_cnt: specifies the the number of byte...
2013 Jun 27
13
[RFC 0/5] Introduce VM Sockets virtio transport
...on of the packet, it is defined as follows.
enum {
VIRTIO_VSOCK_OP_INVALID = 0,
VIRTIO_VSOCK_OP_REQUEST = 1,
VIRTIO_VSOCK_OP_NEGOTIATE = 2,
VIRTIO_VSOCK_OP_OFFER = 3,
VIRTIO_VSOCK_OP_ATTACH = 4,
VIRTIO_VSOCK_OP_RW = 5,
VIRTIO_VSOCK_OP_CREDIT = 6,
VIRTIO_VSOCK_OP_RST = 7,
VIRTIO_VSOCK_OP_SHUTDOWN = 8,
};
shut: specifies the shutdown mode when the socket is being shutdown. 1 is for
receive shutdown, 2 is for transmit shutdown, 3 is for both receive and transmit
shutdown.
fwd_cnt: specifies the the number of byte...
2013 Jun 27
1
[RFC 2/5] VSOCK: Introduce virtio-vsock-common.ko
...gt; + __u64 fwd_cnt;
> + __u64 buf_alloc;
> +} __packed;
> +
> +enum {
> + VIRTIO_VSOCK_OP_INVALID = 0,
> + VIRTIO_VSOCK_OP_REQUEST = 1,
> + VIRTIO_VSOCK_OP_NEGOTIATE = 2,
> + VIRTIO_VSOCK_OP_OFFER = 3,
> + VIRTIO_VSOCK_OP_ATTACH = 4,
> + VIRTIO_VSOCK_OP_RW = 5,
> + VIRTIO_VSOCK_OP_CREDIT = 6,
> + VIRTIO_VSOCK_OP_RST = 7,
> + VIRTIO_VSOCK_OP_SHUTDOWN = 8,
> +};
> +
> +#endif /* _UAPI_LINUX_VIRTIO_VSOCK_H */
> diff --git a/net/vmw_vsock/virtio_transport_common.c b/net/vmw_vsock/virtio_transport_common.c
> new file mode 100644
> index 0000000..0482eb1
> ---...
2013 Jun 27
1
[RFC 2/5] VSOCK: Introduce virtio-vsock-common.ko
...gt; + __u64 fwd_cnt;
> + __u64 buf_alloc;
> +} __packed;
> +
> +enum {
> + VIRTIO_VSOCK_OP_INVALID = 0,
> + VIRTIO_VSOCK_OP_REQUEST = 1,
> + VIRTIO_VSOCK_OP_NEGOTIATE = 2,
> + VIRTIO_VSOCK_OP_OFFER = 3,
> + VIRTIO_VSOCK_OP_ATTACH = 4,
> + VIRTIO_VSOCK_OP_RW = 5,
> + VIRTIO_VSOCK_OP_CREDIT = 6,
> + VIRTIO_VSOCK_OP_RST = 7,
> + VIRTIO_VSOCK_OP_SHUTDOWN = 8,
> +};
> +
> +#endif /* _UAPI_LINUX_VIRTIO_VSOCK_H */
> diff --git a/net/vmw_vsock/virtio_transport_common.c b/net/vmw_vsock/virtio_transport_common.c
> new file mode 100644
> index 0000000..0482eb1
> ---...
2013 Jun 27
0
[RFC 0/5] Introduce VM Sockets virtio transport
...; enum {
> VIRTIO_VSOCK_OP_INVALID = 0,
> VIRTIO_VSOCK_OP_REQUEST = 1,
> VIRTIO_VSOCK_OP_NEGOTIATE = 2,
> VIRTIO_VSOCK_OP_OFFER = 3,
> VIRTIO_VSOCK_OP_ATTACH = 4,
> VIRTIO_VSOCK_OP_RW = 5,
> VIRTIO_VSOCK_OP_CREDIT = 6,
> VIRTIO_VSOCK_OP_RST = 7,
> VIRTIO_VSOCK_OP_SHUTDOWN = 8,
> };
>
> shut: specifies the shutdown mode when the socket is being shutdown. 1 is for
> receive shutdown, 2 is for transmit shutdown, 3 is for both receive and transmit
> shutdown.
>...
2013 Jun 27
0
[RFC 2/5] VSOCK: Introduce virtio-vsock-common.ko
...st_port;
+ __u32 len;
+ __u8 type;
+ __u8 op;
+ __u8 shut;
+ __u64 fwd_cnt;
+ __u64 buf_alloc;
+} __packed;
+
+enum {
+ VIRTIO_VSOCK_OP_INVALID = 0,
+ VIRTIO_VSOCK_OP_REQUEST = 1,
+ VIRTIO_VSOCK_OP_NEGOTIATE = 2,
+ VIRTIO_VSOCK_OP_OFFER = 3,
+ VIRTIO_VSOCK_OP_ATTACH = 4,
+ VIRTIO_VSOCK_OP_RW = 5,
+ VIRTIO_VSOCK_OP_CREDIT = 6,
+ VIRTIO_VSOCK_OP_RST = 7,
+ VIRTIO_VSOCK_OP_SHUTDOWN = 8,
+};
+
+#endif /* _UAPI_LINUX_VIRTIO_VSOCK_H */
diff --git a/net/vmw_vsock/virtio_transport_common.c b/net/vmw_vsock/virtio_transport_common.c
new file mode 100644
index 0000000..0482eb1
--- /dev/null
+++ b/net/vmw_vsock/virtio_transpor...
2014 Jul 05
9
[RFC V2 0/7] Introduce VM Sockets virtio transport
...or SOCK_DGRAM.
op: specifies the operation of the packet, it is defined as follows.
enum {
VIRTIO_VSOCK_OP_INVALID = 0,
VIRTIO_VSOCK_OP_REQUEST = 1,
VIRTIO_VSOCK_OP_RESPONSE = 2,
VIRTIO_VSOCK_OP_ACK = 3,
VIRTIO_VSOCK_OP_RW = 4,
VIRTIO_VSOCK_OP_CREDIT = 5,
VIRTIO_VSOCK_OP_WANTCREDIT = 6,
VIRTIO_VSOCK_OP_RST = 7,
VIRTIO_VSOCK_OP_SHUTDOWN = 8,
};
/*FIXME*/
flags: has different meanings for differentdifferent operations.
When op is VIRTIO_VSOCK_OP_REQUEST or VIRTIO_VSOCK_OP_RESPONSE or
VIRTIO_VSOCK_OP_ACK,...
2014 Jul 05
9
[RFC V2 0/7] Introduce VM Sockets virtio transport
...or SOCK_DGRAM.
op: specifies the operation of the packet, it is defined as follows.
enum {
VIRTIO_VSOCK_OP_INVALID = 0,
VIRTIO_VSOCK_OP_REQUEST = 1,
VIRTIO_VSOCK_OP_RESPONSE = 2,
VIRTIO_VSOCK_OP_ACK = 3,
VIRTIO_VSOCK_OP_RW = 4,
VIRTIO_VSOCK_OP_CREDIT = 5,
VIRTIO_VSOCK_OP_WANTCREDIT = 6,
VIRTIO_VSOCK_OP_RST = 7,
VIRTIO_VSOCK_OP_SHUTDOWN = 8,
};
/*FIXME*/
flags: has different meanings for differentdifferent operations.
When op is VIRTIO_VSOCK_OP_REQUEST or VIRTIO_VSOCK_OP_RESPONSE or
VIRTIO_VSOCK_OP_ACK,...