support enable flag for netdevice