]> git.baikalelectronics.ru Git - kernel.git/commit
dp83640: increase receive time stamp buffer size
authorRichard Cochran <richardcochran@gmail.com>
Sat, 6 Aug 2011 21:03:04 +0000 (21:03 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 8 Aug 2011 05:53:22 +0000 (22:53 -0700)
commit2a50c7d49429c457e0ae5b08d14e998a15eea700
tree9113cff86a93b3bd227e147768c7a54a0588121c
parent635238fc6b4665bbbea0cb0b5ede61270d5cec68
dp83640: increase receive time stamp buffer size

The dp83640 buffers receive time stamps from special PHY status frames,
matching them to received PTP packets in a work queue. Because the timeout
for orphaned time stamps is so long and the buffer is so small, the driver
can drop time stamps under moderate PTP traffic.

This commit fixes the issue by decreasing the timeout to (at least) one
timer tick and increasing the buffer size.

Signed-off-by: Richard Cochran <richard.cochran@omicron.at>
Cc: <stable@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/dp83640.c