src/dpdk/drivers/net/bnx2x/bnx2x.c
static void bnx2x_prev_interrupted_dmae(struct bnx2x_softc *sc)
{
	uint32_t val;

	if (!CHIP_IS_E1x(sc)) {
		val = REG_RD(sc, PGLUE_B_REG_PGLUE_B_INT_STS);
		if (val & PGLUE_B_PGLUE_B_INT_STS_REG_WAS_ERROR_ATTN) {
			REG_WR(sc, PGLUE_B_REG_WAS_ERROR_PF_7_0_CLR,
			       1 << SC_FUNC(sc));
		}
	}
}
/*
* Previous driver DMAE transaction may have occurred when pre-boot stage
* ended and boot began. This would invalidate the addresses of the
* transaction, resulting in was-error bit set in the PCI causing all
* hw-to-host PCIe transactions to timeout. If this happened we want to clear
* the interrupt which detected this from the pglueb and the was-done bit
*/
Previous driver DMAE transaction may have occurred when pre-boot stage
ended and boot began. This would invalidate the addresses of the
transaction, resulting in was-error bit set in the PCI causing all
hw-to-host PCIe transactions to timeout. If this happened we want to clear
the interrupt which detected this from the pglueb and the was-done bit
Previous driver DMAE transaction may have occurred when pre - boot stage ended and boot began . This would invalidate the addresses of the transaction resulting in was - error bit set in the PCI causing all hw - to - host PCIe transactions to timeout . If this happened we want to clear the interrupt which detected this from the pglueb and the was - done bit
static void bnx2x_prev_interrupted_dmae(struct bnx2x_softc *sc)
{
	uint32_t val;
	if (!CHIP_IS_E1x(sc)) {
		val = REG_RD(sc, PGLUE_B_REG_PGLUE_B_INT_STS);
		if (val & PGLUE_B_PGLUE_B_INT_STS_REG_WAS_ERROR_ATTN) {
			REG_WR(sc, PGLUE_B_REG_WAS_ERROR_PF_7_0_CLR,
			       1 << SC_FUNC(sc));
		}
	}
}
static void bnx2x_prev_interrupted_dmae ( struct bnx2x_softc * sc ) { uint32_t val ; if ( ! CHIP_IS_E1x ( sc ) ) { val = REG_RD ( sc , PGLUE_B_REG_PGLUE_B_INT_STS ) ; if ( val & PGLUE_B_PGLUE_B_INT_STS_REG_WAS_ERROR_ATTN ) { REG_WR ( sc , PGLUE_B_REG_WAS_ERROR_PF_7_0_CLR , 1 << SC_FUNC ( sc ) ) ; } } }
Previous driver DMAE transaction may have occurred when pre-boot stage
ended and boot began.
Previous driver DMAE transaction may have occurred when pre - boot stage ended and boot began .