lro: kill lro_vlan_hwaccel_receive_frags
authorJiri Pirko <jpirko@redhat.com>
Wed, 20 Jul 2011 04:54:09 +0000 (04:54 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 21 Jul 2011 20:47:54 +0000 (13:47 -0700)
Signed-off-by: Jiri Pirko <jpirko@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/inet_lro.h
net/ipv4/inet_lro.c

index 940bbde05a523e0fc2a6866094ddd2faa7d0fcbf..b27e773e71449de479027f67024e49470e1d62bb 100644 (file)
@@ -155,13 +155,6 @@ void lro_receive_frags(struct net_lro_mgr *lro_mgr,
                       struct skb_frag_struct *frags,
                       int len, int true_size, void *priv, __wsum sum);
 
-void lro_vlan_hwaccel_receive_frags(struct net_lro_mgr *lro_mgr,
-                                   struct skb_frag_struct *frags,
-                                   int len, int true_size,
-                                   struct vlan_group *vgrp,
-                                   u16 vlan_tag,
-                                   void *priv, __wsum sum);
-
 /*
  * Forward all aggregated SKBs held by lro_mgr to network stack
  */
index e54425d47467f1f1739b39c786d212c6a9b2c1d4..5cf07593282bdb72ff46c99fe30df2a8ec362d9a 100644 (file)
@@ -541,26 +541,6 @@ void lro_receive_frags(struct net_lro_mgr *lro_mgr,
 }
 EXPORT_SYMBOL(lro_receive_frags);
 
-void lro_vlan_hwaccel_receive_frags(struct net_lro_mgr *lro_mgr,
-                                   struct skb_frag_struct *frags,
-                                   int len, int true_size,
-                                   struct vlan_group *vgrp,
-                                   u16 vlan_tag, void *priv, __wsum sum)
-{
-       struct sk_buff *skb;
-
-       skb = __lro_proc_segment(lro_mgr, frags, len, true_size, vgrp,
-                                vlan_tag, priv, sum);
-       if (!skb)
-               return;
-
-       if (lro_mgr->features & LRO_F_NAPI)
-               vlan_hwaccel_receive_skb(skb, vgrp, vlan_tag);
-       else
-               vlan_hwaccel_rx(skb, vgrp, vlan_tag);
-}
-EXPORT_SYMBOL(lro_vlan_hwaccel_receive_frags);
-
 void lro_flush_all(struct net_lro_mgr *lro_mgr)
 {
        int i;