In reply to tfitz:
In reply to nrllhclb: It appears that you haven’t properly passed the virtual interface handle my_vif to the driver.
Looking to line 72 might show you are assigning there a value to a signal of your virtual interface.