[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <trinity-28228d79-2b64-4d9c-89c2-6ce288a8ed49-1468927909503@3capp-gmx-bs21>
Date: Tue, 19 Jul 2016 13:31:49 +0200
From: "Lino Sanfilippo" <LinoSanfilippo@....de>
To: khalasa@...p.pl
Cc: netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Aw: BUG: Wrong dma queue handling in ixp4 driver
> Hi,
>
> maybe I miss something, but the ixp4 ethernet driver seems to handle dma pools
> in a wrong way: In init_queues() it creates a dma pool for descriptors and then
> only allocates a single descriptor from this pool. The author seems to assume the whole
> table has been allocated already, since after that the complete pool size is zeroed:
>
Sorry, I indeed missed something. The allocation is correct. A pool is not required, though,
since only one chunk is allocated.
Lino
Powered by blists - more mailing lists