Skip to content

Commit

Permalink
dpif-netdev: Simple DROP meter implementation.
Browse files Browse the repository at this point in the history
Meters may be used by any flow, so some kind of locking must be used.
In this version we have an adaptive mutex for each meter, which may
not be optimal for DPDK.  However, this should serve as a basis for
further improvement.

A batch of packets is first tried as a whole, and only if some of the
meter bands are hit, we need to process the packets individually.

Signed-off-by: Jarno Rajahalme <jarno@ovn.org>
Signed-off-by: Andy Zhou <azhou@ovn.org>
  • Loading branch information
jrajahalme authored and azhou-nicira committed Mar 8, 2017
1 parent 076caa2 commit 4b27db6
Show file tree
Hide file tree
Showing 2 changed files with 468 additions and 18 deletions.

0 comments on commit 4b27db6

Please sign in to comment.