I recently came across this message: The vSphere Distributed Switch configuration on some hosts differed from that of the vCenter Server when I was going to upgrade some vDS switches.
There were several complicated solutions presented to me via Google, but this is how I eventually managed to fix it easily.
Find what ports that are listed in the error and navigate to the Port section of the vDS:

Select the port that has the issue and press the Statistic section:

Select the Auto-refresh button and wait a couple of minutes and the message should clear itself.
Remember to turn this setting off after the problem is sorted.