I am running openwrt as a virtualized router on proxmox. I use a Intel X710 as a 10GBe NIC (dual port). 1 Port is my Internet uplink. I want to use the second port as a "switching device". I. e. i want to use a VF Function inside any VM including openwrt to have some kind of hardware acceleration/switching. This works perfectly, as long i don't add the VF inside Openwrt to a bridge device. Then after DHCP there wont be any traffic: the VM gets an IP but cannot ping the router. I the VF inside openwrt is on a separate network device (no bridge), then everything works as it should. i allready deactivated spoofing (VF Function and enabled trust). Any other suggestions?
echo 2 > /sys/class/net/enp8s0f0np0/device/sriov_numvfs
ip link set enp8s0f0np0 promisc on
ip link set enp8s0f0np0 vf 0 state enable trust on spoof off
ip link set enp8s0f0np0 vf 1 state enable trust on spoof off
ip link set enp8s0f1np1 vf 0 state enable trust on spoof off
What do i need to do, so that even with a VF in the bridge, i get network connectivity? It is really strange, that when included in the bridge, the VM gets an IP Address through DHCP, but after that no traffic is possible anymore.