commit | cf78982d8f6cddc7208268fad4022671aacc3c90 | [log] [tgz] |
---|---|---|
author | Charles Chan <rascov@gmail.com> | Fri Mar 22 10:04:27 2019 -0700 |
committer | Charles Chan <rascov@gmail.com> | Sun Apr 07 15:33:19 2019 -0700 |
tree | 8f455e8b730492e475ac0f3f9e9493f2c267018e | |
parent | 86e60d3a648df993c495a7bdfb061724444c03f4 [diff] |
Only iterates configured subnets to determine if a packet is destined for the switch We should not check subnets learnt from route service. It is not only expensive but also incorrect. This patch should significantly reduce the CPU usage when controller needs to reply ping to the gateway IP. Change-Id: Ic245f5f136cf547cb50cabff4927da00e7f03666