2011-05-28 19:34:43

by Shirley Ma

[permalink] [raw]
Subject: [PATCH V7 1/4 net-next] sock.h: Add a new sock zero-copy flag

include/net/sock.h | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/include/net/sock.h b/include/net/sock.h
index f2046e4..2229bd1 100644
--- a/include/net/sock.h
+++ b/include/net/sock.h
@@ -563,6 +563,7 @@ enum sock_flags {
SOCK_TIMESTAMPING_SYS_HARDWARE, /* %SOF_TIMESTAMPING_SYS_HARDWARE */
SOCK_FASYNC, /* fasync() active */
SOCK_RXQ_OVFL,
+ SOCK_ZEROCOPY, /* buffers from userspace */
};

static inline void sock_copy_flags(struct sock *nsk, struct sock *osk)


2011-05-28 19:37:57

by Shirley Ma

[permalink] [raw]
Subject: Re: [PATCH V7 1/4 net-next] sock.h: Add a new sock zero-copy flag

On Sat, 2011-05-28 at 12:15 -0700, Shirley Ma wrote:
> include/net/sock.h | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/include/net/sock.h b/include/net/sock.h
> index f2046e4..2229bd1 100644
> --- a/include/net/sock.h
> +++ b/include/net/sock.h
> @@ -563,6 +563,7 @@ enum sock_flags {
> SOCK_TIMESTAMPING_SYS_HARDWARE, /* %SOF_TIMESTAMPING_SYS_HARDWARE */
> SOCK_FASYNC, /* fasync() active */
> SOCK_RXQ_OVFL,
> + SOCK_ZEROCOPY, /* buffers from userspace */
> };
>
> static inline void sock_copy_flags(struct sock *nsk, struct sock *osk)
>
>
> --
> To unsubscribe from this list: send the line "unsubscribe kvm" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html

Forgot about this:

Signed-off-by: Shirley Ma <[email protected]>
---