/* Called when we receive an unexpected offload packet (e.g., the TOE function is disabled or the card is a NIC). Prints a message and recycles the buffer.  */
static void unexpected_offload(struct adapter *adapter, struct freelQ *fl)
/* Called when we receive an unexpected offload packet (e.g., the TOE function is disabled or the card is a NIC). Prints a message and recycles the buffer.  */
static void unexpected_offload(struct adapter *adapter, struct freelQ *fl)
{
	struct freelQ_ce *ce = &fl->centries[fl->cidx];
	struct sk_buff *skb = ce->skb;
	pci_dma_sync_single_for_cpu(adapter->pdev, pci_unmap_addr(ce, dma_addr),
			    pci_unmap_len(ce, dma_len), PCI_DMA_FROMDEVICE);
	CH_ERR("%s: unexpected offload packet, cmd %u\n",
	       adapter->name, *skb->data);
	recycle_fl_buf(fl, fl->cidx);
}