]> git.proxmox.com Git - mirror_ovs.git/commit - lib/rstp.c
lib/rstp: Use hmap instead of a list for ports.
authorJarno Rajahalme <jrajahalme@nicira.com>
Fri, 22 Aug 2014 16:01:36 +0000 (09:01 -0700)
committerJarno Rajahalme <jrajahalme@nicira.com>
Tue, 9 Sep 2014 18:45:44 +0000 (11:45 -0700)
commitd5f31dc8333304eb46ba7bf9fec1b602d7b76355
treec13cfeb65a1a81138105203cb2a189413d2b8257
parent37db915e434ab01b3c7cf131afd591f5bab46db9
lib/rstp: Use hmap instead of a list for ports.

Finding a given port is faster.

Signed-off-by: Jarno Rajahalme <jrajahalme@nicira.com>
Acked-by: Daniele Venturino <daniele.venturino@m3s.it>
lib/rstp-common.h
lib/rstp-state-machines.c
lib/rstp.c