Adding support for L2 only mode and vlan tagged support from VM