Enhance the use of cache in HwvtepDeviceInfo