This sounds like a regeneration, cleaning the DPF. When this happens it heats the DPF to a very high heat, which can cause a burning smell if the car is standing or moving very slowly. I guess that any deposits on the outside of the DPF would burn off, and the smoke could blow forwards if that was the wind direction.