> Truth be told, I don't quite understand why switchdev infra even tries > to dump the VLANs from the device. Like, in which situations is this > going to be different from what the software bridge reports?
What happens when the hardware is out of resources and says sorry, cannot do that. There has been a few discussions about what to do in that situation. Fall back to software, i.e. the software bridge does it, or totally fail the operation. If you are failing back to software, the states can be different. Andrew