aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJiri Pirko <jpirko@redhat.com>2011-07-20 00:54:08 -0400
committerDavid S. Miller <davem@davemloft.net>2011-07-21 16:47:54 -0400
commit7756a96e1925addedc87db21ca6646e03b3c674f (patch)
treed2e3e51b8f9f81d4a41d0edae50d1bff7ebcf770
parentb49500957a2c90a559dd91f0dcfeb83d84458664 (diff)
lro: kill lro_vlan_hwaccel_receive_skb
no longer used Signed-off-by: Jiri Pirko <jpirko@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--include/linux/inet_lro.h10
-rw-r--r--net/ipv4/inet_lro.c15
2 files changed, 0 insertions, 25 deletions
diff --git a/include/linux/inet_lro.h b/include/linux/inet_lro.h
index c4335faebb63..940bbde05a52 100644
--- a/include/linux/inet_lro.h
+++ b/include/linux/inet_lro.h
@@ -137,16 +137,6 @@ void lro_receive_skb(struct net_lro_mgr *lro_mgr,
137 void *priv); 137 void *priv);
138 138
139/* 139/*
140 * Processes a SKB with VLAN HW acceleration support
141 */
142
143void lro_vlan_hwaccel_receive_skb(struct net_lro_mgr *lro_mgr,
144 struct sk_buff *skb,
145 struct vlan_group *vgrp,
146 u16 vlan_tag,
147 void *priv);
148
149/*
150 * Processes a fragment list 140 * Processes a fragment list
151 * 141 *
152 * This functions aggregate fragments and generate SKBs do pass 142 * This functions aggregate fragments and generate SKBs do pass
diff --git a/net/ipv4/inet_lro.c b/net/ipv4/inet_lro.c
index 85a0f75dae64..e54425d47467 100644
--- a/net/ipv4/inet_lro.c
+++ b/net/ipv4/inet_lro.c
@@ -523,21 +523,6 @@ void lro_receive_skb(struct net_lro_mgr *lro_mgr,
523} 523}
524EXPORT_SYMBOL(lro_receive_skb); 524EXPORT_SYMBOL(lro_receive_skb);
525 525
526void lro_vlan_hwaccel_receive_skb(struct net_lro_mgr *lro_mgr,
527 struct sk_buff *skb,
528 struct vlan_group *vgrp,
529 u16 vlan_tag,
530 void *priv)
531{
532 if (__lro_proc_skb(lro_mgr, skb, vgrp, vlan_tag, priv)) {
533 if (lro_mgr->features & LRO_F_NAPI)
534 vlan_hwaccel_receive_skb(skb, vgrp, vlan_tag);
535 else
536 vlan_hwaccel_rx(skb, vgrp, vlan_tag);
537 }
538}
539EXPORT_SYMBOL(lro_vlan_hwaccel_receive_skb);
540
541void lro_receive_frags(struct net_lro_mgr *lro_mgr, 526void lro_receive_frags(struct net_lro_mgr *lro_mgr,
542 struct skb_frag_struct *frags, 527 struct skb_frag_struct *frags,
543 int len, int true_size, void *priv, __wsum sum) 528 int len, int true_size, void *priv, __wsum sum)