Reviewed: https://review.opendev.org/c/openstack/os-vif/+/765967 Committed: https://opendev.org/openstack/os-vif/commit/1226d46cc8bde9531821c68465a05292528142f0 Submitter: "Zuul (22348)" Branch: stable/ussuri
commit 1226d46cc8bde9531821c68465a05292528142f0 Author: Mamduh Alassi <[email protected]> Date: Wed Aug 12 16:24:47 2020 +0300 Fix - os-vif fails to get the correct UpLink Representor Till kernel 5.7 PF and VF representors are exposed as virtual device. They are not linked to its parent PCI device like how uplink representor is linked. Starting from kernel 5.8 due to new change [1] the PF and VF representors are linked to their parent PCI device, and so "get_ifname_by_pci_address" fails to get the correct UpLink Representor. This patch modifys the behviour of "get_ifname_by_pci_address" to check the physical port name of the netdev in vf_pci_addr_path/physfn/net to match the formart for the uplink "p\d+". [1] https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git/commit/?id=123f0f53dd64b67e34142485fe866a8a581f12f1 Closes-Bug: #1892132 Change-Id: I49f6ae3f0e6bfbf555c8284bfd70371ce90da0c7 (cherry picked from commit a28aafa796378b8a36ccb51d2c0010a44f622d14) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1892132 Title: Failure to get the correct UpLink Representor To manage notifications about this bug go to: https://bugs.launchpad.net/os-vif/+bug/1892132/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
