ofproto-dpif: Segregate CFM, LACP, and STP traffic into separate queues.
authorBen Pfaff <blp@nicira.com>
Sat, 5 May 2012 18:07:42 +0000 (11:07 -0700)
committerBen Pfaff <blp@nicira.com>
Wed, 9 May 2012 19:58:55 +0000 (12:58 -0700)
commit625b07205a37dd8c7a8b53b2e53e5f0b55203b38
tree39c591683c715a293b4d2fbdf09f1809253e2076
parent6a7e895f948c8cba1ad8f8609e6d628bf6a318f8
ofproto-dpif: Segregate CFM, LACP, and STP traffic into separate queues.

Until now, packets for these special protocols have been mixed with general
traffic in the kernel-to-userspace queues.  This means that a big-enough
storm of new flows in these queues can cause packets for these special
protocols to be dropped at this interface, fooling userspace into believing
that, say, no CFM packets have been received even though they are arriving
at the expected rate.

This commit moves special protocols to a dedicated kernel-to-userspace
queue to avoid the problem.

Bug #7550.
Signed-off-by: Ben Pfaff <blp@nicira.com>
lib/dpif-linux.c
lib/dpif-provider.h
lib/dpif.c
ofproto/ofproto-dpif.c