Skip to content
Commit fe1e0713 authored by Litao jiao's avatar Litao jiao Committed by David S. Miller
Browse files

vxlan: Use FDB_HASH_SIZE hash_locks to reduce contention



The monolithic hash_lock could cause huge contention when
inserting/deletiing vxlan_fdbs into the fdb_head.

Use FDB_HASH_SIZE hash_locks to protect insertions/deletions
of vxlan_fdbs into the fdb_head hash table.

Suggested-by: default avatarDavid S. Miller <davem@davemloft.net>
Signed-off-by: default avatarLitao jiao <jiaolitao@raisecom.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 4daa95af
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment