What does it mean when the ear opening is almost swollen shut?

Infection. An infection in the ear canal is called otitis externa or swimmer's ear. If it is almost swollen shut you need to see a doctor for treatment as soon as possible.
Infection. It implies infection and need to see doctor immediately.