aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJiri Pirko <jpirko@redhat.com>2011-07-20 00:54:09 -0400
committerDavid S. Miller <davem@davemloft.net>2011-07-21 16:47:54 -0400
commit0f7257281dcbc9bcb46b882c23fa57b6738fce5e (patch)
tree5513a8e41e85a3582a774f4e9b06cbaf4c8bd2a7
parent7756a96e1925addedc87db21ca6646e03b3c674f (diff)
lro: kill lro_vlan_hwaccel_receive_frags
Signed-off-by: Jiri Pirko <jpirko@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--include/linux/inet_lro.h7
-rw-r--r--net/ipv4/inet_lro.c20
2 files changed, 0 insertions, 27 deletions
diff --git a/include/linux/inet_lro.h b/include/linux/inet_lro.h
index 940bbde05a52..b27e773e7144 100644
--- a/include/linux/inet_lro.h
+++ b/include/linux/inet_lro.h
@@ -155,13 +155,6 @@ void lro_receive_frags(struct net_lro_mgr *lro_mgr,
155 struct skb_frag_struct *frags, 155 struct skb_frag_struct *frags,
156 int len, int true_size, void *priv, __wsum sum); 156 int len, int true_size, void *priv, __wsum sum);
157 157
158void lro_vlan_hwaccel_receive_frags(struct net_lro_mgr *lro_mgr,
159 struct skb_frag_struct *frags,
160 int len, int true_size,
161 struct vlan_group *vgrp,
162 u16 vlan_tag,
163 void *priv, __wsum sum);
164
165/* 158/*
166 * Forward all aggregated SKBs held by lro_mgr to network stack 159 * Forward all aggregated SKBs held by lro_mgr to network stack
167 */ 160 */
diff --git a/net/ipv4/inet_lro.c b/net/ipv4/inet_lro.c
index e54425d47467..5cf07593282b 100644
--- a/net/ipv4/inet_lro.c
+++ b/net/ipv4/inet_lro.c
@@ -541,26 +541,6 @@ void lro_receive_frags(struct net_lro_mgr *lro_mgr,
541} 541}
542EXPORT_SYMBOL(lro_receive_frags); 542EXPORT_SYMBOL(lro_receive_frags);
543 543
544void lro_vlan_hwaccel_receive_frags(struct net_lro_mgr *lro_mgr,
545 struct skb_frag_struct *frags,
546 int len, int true_size,
547 struct vlan_group *vgrp,
548 u16 vlan_tag, void *priv, __wsum sum)
549{
550 struct sk_buff *skb;
551
552 skb = __lro_proc_segment(lro_mgr, frags, len, true_size, vgrp,
553 vlan_tag, priv, sum);
554 if (!skb)
555 return;
556
557 if (lro_mgr->features & LRO_F_NAPI)
558 vlan_hwaccel_receive_skb(skb, vgrp, vlan_tag);
559 else
560 vlan_hwaccel_rx(skb, vgrp, vlan_tag);
561}
562EXPORT_SYMBOL(lro_vlan_hwaccel_receive_frags);
563
564void lro_flush_all(struct net_lro_mgr *lro_mgr) 544void lro_flush_all(struct net_lro_mgr *lro_mgr)
565{ 545{
566 int i; 546 int i;