/* Send abort request to cleanup an active TM to firmware.  */
static bfa_boolean_t bfa_tskim_send_abort(struct bfa_tskim_s *tskim)
/* Send abort request to cleanup an active TM to firmware.  */
static bfa_boolean_t bfa_tskim_send_abort(struct bfa_tskim_s *tskim)
{
	struct bfa_itnim_s             *itnim = tskim->itnim;
	struct bfi_tskim_abortreq_s    *m;
	m = bfa_reqq_next(tskim->bfa, itnim->reqq);
	if (!m)
		return BFA_FALSE;
	bfi_h2i_set(m->mh, BFI_MC_TSKIM, BFI_TSKIM_H2I_ABORT_REQ,
			bfa_lpuid(tskim->bfa));
	m->tsk_tag  = bfa_os_htons(tskim->tsk_tag);
	bfa_reqq_produce(tskim->bfa, itnim->reqq);
	return BFA_TRUE;
}