Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

lro: kill lro_vlan_hwaccel_receive_frags

Signed-off-by: Jiri Pirko <jpirko@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by

Jiri Pirko and committed by
David S. Miller
0f725728 7756a96e

-27
-7
include/linux/inet_lro.h
··· 155 155 struct skb_frag_struct *frags, 156 156 int len, int true_size, void *priv, __wsum sum); 157 157 158 - void 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 159 * Forward all aggregated SKBs held by lro_mgr to network stack 167 160 */
-20
net/ipv4/inet_lro.c
··· 541 541 } 542 542 EXPORT_SYMBOL(lro_receive_frags); 543 543 544 - void 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 - } 562 - EXPORT_SYMBOL(lro_vlan_hwaccel_receive_frags); 563 - 564 544 void lro_flush_all(struct net_lro_mgr *lro_mgr) 565 545 { 566 546 int i;