From: Or Gerlitz <ogerlitz@mellanox.com>
To: davem@davemloft.net
Cc: netdev@vger.kernel.org, hkchu@google.com, edumazet@google.com,
herbert@gondor.apana.org.au, yanb@mellanox.com,
shlomop@mellanox.com, therbert@google.com,
Or Gerlitz <ogerlitz@mellanox.com>
Subject: [PATCH net-next V4 2/3] net: Export gro_find_by_type helpers
Date: Tue, 14 Jan 2014 18:00:11 +0200 [thread overview]
Message-ID: <1389715212-14504-3-git-send-email-ogerlitz@mellanox.com> (raw)
In-Reply-To: <1389715212-14504-1-git-send-email-ogerlitz@mellanox.com>
Export the gro_find_receive/complete_by_type helpers to they can be invoked
by the gro callbacks of encapsulation protocols such as vxlan.
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
---
net/core/dev.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/net/core/dev.c b/net/core/dev.c
index aafc07a..03cab5f 100644
--- a/net/core/dev.c
+++ b/net/core/dev.c
@@ -3949,6 +3949,7 @@ struct packet_offload *gro_find_receive_by_type(__be16 type)
}
return NULL;
}
+EXPORT_SYMBOL(gro_find_receive_by_type);
struct packet_offload *gro_find_complete_by_type(__be16 type)
{
@@ -3962,6 +3963,7 @@ struct packet_offload *gro_find_complete_by_type(__be16 type)
}
return NULL;
}
+EXPORT_SYMBOL(gro_find_complete_by_type);
static gro_result_t napi_skb_finish(gro_result_t ret, struct sk_buff *skb)
{
--
1.7.1
next prev parent reply other threads:[~2014-01-14 16:00 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-14 16:00 [PATCH net-next V3 0/3] net: Add GRO support for UDP encapsulating protocols Or Gerlitz
2014-01-14 16:00 ` [PATCH net-next V4 1/3] " Or Gerlitz
2014-01-14 17:51 ` Tom Herbert
2014-01-14 21:51 ` Or Gerlitz
2014-01-15 0:50 ` Eric Dumazet
2014-01-14 16:00 ` Or Gerlitz [this message]
2014-01-14 16:00 ` [PATCH net-next V4 3/3] net: Add GRO support for vxlan traffic Or Gerlitz
2014-01-14 17:59 ` Tom Herbert
2014-01-14 21:47 ` Or Gerlitz
2014-01-20 11:40 ` Or Gerlitz
2014-01-14 16:06 ` [PATCH net-next V3 0/3] net: Add GRO support for UDP encapsulating protocols Or Gerlitz
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=1389715212-14504-3-git-send-email-ogerlitz@mellanox.com \
--to=ogerlitz@mellanox.com \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=herbert@gondor.apana.org.au \
--cc=hkchu@google.com \
--cc=netdev@vger.kernel.org \
--cc=shlomop@mellanox.com \
--cc=therbert@google.com \
--cc=yanb@mellanox.com \
/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