From: Brice Goglin <brice@myri.com>
To: Jeff Garzik <jeff@garzik.org>
Cc: netdev@vger.kernel.org, David Miller <davem@davemloft.net>,
Herbert Xu <herbert@gondor.apana.org.au>
Subject: [PATCH 3/5] [IPV6]: Add skb_is_gso_v6
Date: Sat, 13 Oct 2007 12:33:32 +0200 [thread overview]
Message-ID: <47109EFC.3020601@myri.com> (raw)
In-Reply-To: <47109E8A.8080205@myri.com>
Add skb_is_gso_v6().
Signed-off-by: Brice Goglin <brice@myri.com>
---
include/linux/skbuff.h | 5 +++++
1 file changed, 5 insertions(+)
Index: linux-git/include/linux/skbuff.h
===================================================================
--- linux-git.orig/include/linux/skbuff.h 2007-10-13 12:24:37.000000000 +0200
+++ linux-git/include/linux/skbuff.h 2007-10-13 12:25:04.000000000 +0200
@@ -1781,6 +1781,11 @@
return skb_shinfo(skb)->gso_size;
}
+static inline int skb_is_gso_v6(const struct sk_buff *skb)
+{
+ return skb_shinfo(skb)->gso_type & SKB_GSO_TCPV6;
+}
+
static inline void skb_forward_csum(struct sk_buff *skb)
{
/* Unfortunately we don't support this one. Any brave souls? */
next prev parent reply other threads:[~2007-10-13 10:35 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-13 10:31 [PATCH 0/5] myri10ge updates for 2.6.24 Brice Goglin
2007-10-13 10:32 ` [PATCH 1/5] myri10ge: fix some indentation, white spaces, and comments Brice Goglin
2007-10-15 18:24 ` Jeff Garzik
2007-10-13 10:32 ` [PATCH 2/5] myri10ge: update firmware headers Brice Goglin
2007-10-13 10:33 ` Brice Goglin [this message]
2007-10-15 9:06 ` [PATCH 3/5] [IPV6]: Add skb_is_gso_v6 David Miller
2007-10-15 17:20 ` Jeff Garzik
2007-10-13 10:34 ` [PATCH 4/5] myri10ge: add IPv6 TSO support Brice Goglin
2007-10-13 10:34 ` [PATCH 5/5] myri10ge: update driver version to 1.3.2-1.287 Brice Goglin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=47109EFC.3020601@myri.com \
--to=brice@myri.com \
--cc=davem@davemloft.net \
--cc=herbert@gondor.apana.org.au \
--cc=jeff@garzik.org \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).