vlan: kill vlan_hwaccel_receive_skb
Signed-off-by: Jiri Pirko <jpirko@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
312cd51353
commit
6dacaddd48
@@ -202,19 +202,6 @@ static inline int vlan_hwaccel_rx(struct sk_buff *skb,
|
|||||||
return __vlan_hwaccel_rx(skb, grp, vlan_tci, 0);
|
return __vlan_hwaccel_rx(skb, grp, vlan_tci, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* vlan_hwaccel_receive_skb - netif_receive_skb wrapper for VLAN RX acceleration
|
|
||||||
* @skb: buffer
|
|
||||||
* @grp: vlan group
|
|
||||||
* @vlan_tci: VLAN TCI as received from the card
|
|
||||||
*/
|
|
||||||
static inline int vlan_hwaccel_receive_skb(struct sk_buff *skb,
|
|
||||||
struct vlan_group *grp,
|
|
||||||
u16 vlan_tci)
|
|
||||||
{
|
|
||||||
return __vlan_hwaccel_rx(skb, grp, vlan_tci, 1);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* vlan_insert_tag - regular VLAN tag inserting
|
* vlan_insert_tag - regular VLAN tag inserting
|
||||||
* @skb: skbuff to tag
|
* @skb: skbuff to tag
|
||||||
|
Reference in New Issue
Block a user