/* e1000_receive_skb - helper function to handle rx indications @adapter: board private structure @status: descriptor status field as written by hardware @vlan: descriptor vlan field as written by hardware (no le/be conversion) @skb: pointer to sk_buff to be indicated to stack  */
static void e1000_receive_skb(struct e1000_adapter *adapter, u8 status, __le16 vlan, struct sk_buff *skb)
/* e1000_receive_skb - helper function to handle rx indications @adapter: board private structure @status: descriptor status field as written by hardware @vlan: descriptor vlan field as written by hardware (no le/be conversion) @skb: pointer to sk_buff to be indicated to stack  */
static void e1000_receive_skb(struct e1000_adapter *adapter, u8 status, __le16 vlan, struct sk_buff *skb)
{
	if (unlikely(adapter->vlgrp && (status & E1000_RXD_STAT_VP))) {
		vlan_hwaccel_receive_skb(skb, adapter->vlgrp,
		                         le16_to_cpu(vlan) &
		                         E1000_RXD_SPC_VLAN_MASK);
	} else {
		netif_receive_skb(skb);
	}
}