this is an o n  operation executing over all of the subports  which makes this seem somewhat o n i think segmentation ids needs to be a set rather than a list  so that this does not become a bottleneck for trunks with potentially up to subports 