src/dpdk/drivers/net/qede/base/ecore_spq.c
static enum _ecore_status_t ecore_cqe_completion(struct ecore_hwfn *p_hwfn,
						 struct eth_slow_path_rx_cqe
						 *cqe,
						 enum protocol_type protocol)
{
	if (IS_VF(p_hwfn->p_dev))
		return OSAL_VF_CQE_COMPLETION(p_hwfn, cqe, protocol);

	/* @@@tmp - it's possible we'll eventually want to handle some
	 * actual commands that can arrive here, but for now this is only
	 * used to complete the ramrod using the echo value on the cqe
	 */
	return ecore_spq_completion(p_hwfn, cqe->echo, 0, OSAL_NULL);
}
/***************************************************************************
* CQE API - manipulate EQ functionality
***************************************************************************/
CQE API - manipulate EQ functionality
CQE API - manipulate EQ functionality
static enum _ecore_status_t ecore_cqe_completion(struct ecore_hwfn *p_hwfn,
						 struct eth_slow_path_rx_cqe
						 *cqe,
						 enum protocol_type protocol)
{
	if (IS_VF(p_hwfn->p_dev))
		return OSAL_VF_CQE_COMPLETION(p_hwfn, cqe, protocol);
	return ecore_spq_completion(p_hwfn, cqe->echo, 0, OSAL_NULL);
}
static enum _ecore_status_t ecore_cqe_completion ( struct ecore_hwfn * p_hwfn , struct eth_slow_path_rx_cqe * cqe , enum protocol_type protocol ) { if ( IS_VF ( p_hwfn -> p_dev ) ) return OSAL_VF_CQE_COMPLETION ( p_hwfn , cqe , protocol ) ; return ecore_spq_completion ( p_hwfn , cqe -> echo , 0 , OSAL_NULL ) ; }
CQE API - manipulate EQ functionality
CQE API - manipulate EQ functionality
/* @@@tmp - it's possible we'll eventually want to handle some
	 * actual commands that can arrive here, but for now this is only
	 * used to complete the ramrod using the echo value on the cqe
	 */