/* Enables the packet output hardware. It must already be configured.  */
void cvmx_pko_enable(void)
/* Enables the packet output hardware. It must already be configured.  */
void cvmx_pko_enable(void)
{
	union cvmx_pko_reg_flags flags;
	flags.u64 = cvmx_read_csr(CVMX_PKO_REG_FLAGS);
	if (flags.s.ena_pko)
		cvmx_dprintf
		    ("Warning: Enabling PKO when PKO already enabled.\n");
	flags.s.ena_dwb = 1;
	flags.s.ena_pko = 1;
	flags.s.store_be = 1;
	cvmx_write_csr(CVMX_PKO_REG_FLAGS, flags.u64);
}