Subject: Re: [PATCH net-next v3] Add support of Cavium Liquidio ethernet adapters

From: Lino Sanfilippo <[email-masked]>
Date: Fri, 19 Dec 2014 22:14:50 +0100

On 19.12.2014 04:25, Raghu Vatsavayi wrote:
> 		desc_ring[i].info_ptr =
> +			(uint64_t)pci_map_single(oct->pci_dev,
> +						&droq->info_list[i],
> +						OCT_DROQ_INFO_SIZE,
> +						PCI_DMA_FROMDEVICE);
> +
> +		desc_ring[i].buffer_ptr =
> +			(uint64_t)pci_map_single(oct->pci_dev,
> +						droq->recv_buf_list[i].
> +						data, droq->buffer_size,
> +						PCI_DMA_FROMDEVICE);
> +	}

You should also check if pci mapping was successful...

Regards,
Lino