/* vxge_hw_vpath_stats_enable - Enable vpath h/wstatistics. Enable the DMA vpath statistics. The function is to be called to re-enable the adapter to update stats into the host memory  */
enum vxge_hw_status vxge_hw_vpath_stats_enable(struct __vxge_hw_vpath_handle *vp)
/* vxge_hw_vpath_stats_enable - Enable vpath h/wstatistics. Enable the DMA vpath statistics. The function is to be called to re-enable the adapter to update stats into the host memory  */
enum vxge_hw_status vxge_hw_vpath_stats_enable(struct __vxge_hw_vpath_handle *vp)
{
	enum vxge_hw_status status = VXGE_HW_OK;
	struct __vxge_hw_virtualpath *vpath;
	vpath = vp->vpath;
	if (vpath->vp_open == VXGE_HW_VP_NOT_OPEN) {
		status = VXGE_HW_ERR_VPATH_NOT_OPEN;
		goto exit;
	}
	memcpy(vpath->hw_stats_sav, vpath->hw_stats,
			sizeof(struct vxge_hw_vpath_stats_hw_info));
	status = __vxge_hw_vpath_stats_get(vpath, vpath->hw_stats);
exit:
	return status;
}