Thanks for posting your query
From description it seems to be soft tissue injury
. It is good that you had followed the principle of RICE (rest, ice,compression and elevation). If swelling and tendernessis more and painful to bear weight it is better to rule out bony injury by xrays.
Hope this will helps you.
Dr Saurabh Gupta