On Sat, 12 Mar 2022 15:04:38 +0800 Jakub Kicinski wrote:
>> + if (dma_mapping_error(&eni_dev->pci_dev->dev, paddr))
>> + return enq_jam;
>
> Probably better to drop the packet if mapping fails.
Thanks, I will submit a v2 changing to "enq_jam".
Jiang