There are some common causes for painless scrotal swelling:
It is hard to know which one is the cause in your case unless a scrotal ultrasound is performed. See a urologist.
Can you feel mass there? Does the scrotum also swell? Both your testicles are swollen? You are suggested to do an ultrasound first to exclude diseases such as testicle tumor, hydrocele, varicocele, etc..