Fix VF-rep lookup routine to use parent PF number
The current logic in get_representor_port() matches the VF number with
the one in 'phys_port_name' file. If and when multiple PFs on the same
card are configured in switchdev mode, we could end up returning a wrong
representor device. Fix this by including the parent PF number also in
this logic, when 'pfXvfY' (or vfY@pfX) format is used in 'phys_port_name'
file.
github: https://github.com/openstack/os-vif/commit/84688a22db22039f5566c1439c3983db23672a45
This patch appear to be missing from nova-compute container.