kalua: switch: better concept for query_swconfig(), with one call iterate over all ports: makes the syntax better