I did this in March 2019 briefly to test the USB Gadgets access from macOS (High Sierra).
By default, the File system Gadget and Serial port Gadget worked well, but the Ethernet Gadget did not come up.
In my macOS configuration, it required the installation of
Once installed and rebooted, I was able to ping 192.168.3.1 and to browse to the PYNQ Jupyter Notebook at that location as well.
Starting from macOS Sierra, the HoRNDIS kernel extension is supposed to have been installed, but several pages recommend reinstalling if it does not come up at once.