Usb Ethernet adapter stopped working on Dell xps 15 laptop ubuntu 18.04.2 LTS

The dell xps 15 is dual boot Ubuntu 18.04.2 LTS (desktop) and windows 10. The usb-to-ethernet adapter was working fine yesterday. But it stopped working today. I tried windows 10 side and it’s not working either.

The wired network icon is not even showing on the top right corner of desktop.

The adapter works on another laptop. The usb port works with usb keyboard/mouse.

What can I do to diagnose it and fix it?