|
RE: memory leak in io-net with pq2fads Ethernet driver
|
07/27/2009 9:32 AM
post34611
|
RE: memory leak in io-net with pq2fads Ethernet driver
> Packets Dropped on receive ................. 87
This occurs when the driver tries to replace a filled
packet in the receive descriptor ring with an empty
one (so it can pass the filled rx packet up) but it
is unable to allocate a new packet.
So, what it does is leave the original packet in
the rx descriptor ring - it's data is lost - and
it tells the nic to write to it again.
Most of the time, when there is an io-net memory
leak, it is usually a driver bug - some corner case
is not being handled well. I took a peek at the
source for the usual suspects during rx and tx
and nothing immediately jumped out at me.
The io-net infrastructure and protocols have a lot
more miles on them than some of the drivers.
Btw, what is your pidin mem output for io-net? How
do you know you really have a memory leak? This
driver will hoard some packets for max performance
on the rx side, so I would expect it to allocate some
npkts at first, and then it's memory footprint to
settle down after a while.
--
aboyd
|
|
|