dpif-linux: Log details when a packet is lost.
authorBen Pfaff <blp@nicira.com>
Fri, 1 Jun 2012 21:40:31 +0000 (17:40 -0400)
committerBen Pfaff <blp@nicira.com>
Fri, 1 Jun 2012 21:40:35 +0000 (17:40 -0400)
commit14b4d2f99f861e63093ce684e8073ba6e878243b
tree6dfe22927a54eebfb0e0560a535448b65d8477e6
parentfe3d61b373bd274fd7cd8bff46f3edbe03fa673f
dpif-linux: Log details when a packet is lost.

Until now, when a packet was dropped in the kernel-to-user buffers, we
logged the occurrence but nothing that would allow a person reading the
log after the fact to learn why it was dropped.  This commit adds details
that identify the major sources of packets in the buffer, which should
help.

Signed-off-by: Ben Pfaff <blp@nicira.com>
lib/dpif-linux.c