src/dpdk/drivers/net/mlx4/mlx4_txq.c
static void
txq_uar_uninit_secondary(struct txq *txq)
{
	struct mlx4_proc_priv *ppriv = MLX4_PROC_PRIV(PORT_ID(txq->priv));
	const size_t page_size = sysconf(_SC_PAGESIZE);
	void *addr;

	addr = ppriv->uar_table[txq->stats.idx];
	munmap(RTE_PTR_ALIGN_FLOOR(addr, page_size), page_size);
}
/**
 * Unmap UAR register of a Tx queue for secondary process.
 *
 * @param txq
 *   Pointer to Tx queue structure.
 */
Unmap UAR register of a Tx queue for secondary process.
@param txq
Pointer to Tx queue structure.
Unmap UAR register of a Tx queue for secondary process . @param txq Pointer to Tx queue structure .
static void
txq_uar_uninit_secondary(struct txq *txq)
{
	struct mlx4_proc_priv *ppriv = MLX4_PROC_PRIV(PORT_ID(txq->priv));
	const size_t page_size = sysconf(_SC_PAGESIZE);
	void *addr;
	addr = ppriv->uar_table[txq->stats.idx];
	munmap(RTE_PTR_ALIGN_FLOOR(addr, page_size), page_size);
}
static void txq_uar_uninit_secondary ( struct txq * txq ) { struct mlx4_proc_priv * ppriv = MLX4_PROC_PRIV ( PORT_ID ( txq -> priv ) ) ; const size_t page_size = sysconf ( _SC_PAGESIZE ) ; void * addr ; addr = ppriv -> uar_table [ txq -> stats . idx ] ; munmap ( RTE_PTR_ALIGN_FLOOR ( addr , page_size ) , page_size ) ; }
Unmap UAR register of a Tx queue for secondary process.
Unmap UAR register of a Tx queue for secondary process .