[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <efa8e58e0810091053s4b1d25b7u621ee92be84d2041@mail.gmail.com>
Date: Thu, 9 Oct 2008 19:53:45 +0200
From: "Rune V. Sjøen" <rvsjoen@...il.com>
To: "Linux Kernel Mailing List" <linux-kernel@...r.kernel.org>
Subject: NAPI enabled driver (tg3) silent packet loss ?
I am sending frames to a host using, all the frames are accounted for
in the rx_ucast_packets counter of the device.
However the application shows a substantial packet loss. I assume that
the rx_ucast_packets counter is incremented when the frame is received
and then it is put into the ring buffer. I am having a hard time
figuring out where these packets are lost, and my suspicion lies with
the NAPI enabled tg3.
If the ring buffer overflows will the driver overwrite/drop packets
without incrementing any counters ? That would explain why the packets
are counted as received and then lost (by not being passed to the next
layer).
--
Rune V. Sjoen
You always pass failure on the way to success
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists