/* Adds the given vlan id into the list for this vpath. see also: vxge_hw_vpath_vid_delete, vxge_hw_vpath_vid_get and vxge_hw_vpath_vid_get_next  */
enum vxge_hw_status vxge_hw_vpath_vid_add(struct __vxge_hw_vpath_handle *vp, u64 vid)
/* Adds the given vlan id into the list for this vpath. see also: vxge_hw_vpath_vid_delete, vxge_hw_vpath_vid_get and vxge_hw_vpath_vid_get_next  */
enum vxge_hw_status vxge_hw_vpath_vid_add(struct __vxge_hw_vpath_handle *vp, u64 vid)
{
	enum vxge_hw_status status = VXGE_HW_OK;
	if (vp == NULL) {
		status = VXGE_HW_ERR_INVALID_HANDLE;
		goto exit;
	}
	status = __vxge_hw_vpath_rts_table_set(vp,
			VXGE_HW_RTS_ACCESS_STEER_CTRL_ACTION_ADD_ENTRY,
			VXGE_HW_RTS_ACCESS_STEER_CTRL_DATA_STRUCT_SEL_VID,
			0, VXGE_HW_RTS_ACCESS_STEER_DATA0_VLAN_ID(vid), 0);
exit:
	return status;
}