Port list takes too much times to return

When a classic user list ports without any filters, the command takes
too much time to return.

Change-Id: I81498ddc044174e6d6f93bb21df3285f48df6df4
(cherry picked from commit c60d326b74fcc7394aefbdfc048aca807d9927d2)
Merge "Port list takes too much times to return" into R1.10