mac-learning: Convert to hmap.
authorEthan Jackson <ethan@nicira.com>
Fri, 22 Jul 2011 00:41:58 +0000 (17:41 -0700)
committerEthan Jackson <ethan@nicira.com>
Fri, 22 Jul 2011 18:31:30 +0000 (11:31 -0700)
commit8ea45fdc0f5100487d40e501a0946b7dc3cac38a
tree4152add734b2d7931df119c091924aa3f6c9a9ca
parent7bbe0453f5c6321c410149755de60324c186a71a
mac-learning: Convert to hmap.

The mac-learning code predates the hmap data structure in OVS.  For
this reason, it rolled it's own hmap-like bucket concept.  This
patch converts it to use an hmap which makes the code slightly
simpler and easier to understand.
lib/mac-learning.c
lib/mac-learning.h