src/dpdk/drivers/net/bnx2x/bnx2x.c
static uint32_t bnx2x_flr_clnup_poll_count(struct bnx2x_softc *sc)
{
	/* adjust polling timeout */
	if (CHIP_REV_IS_EMUL(sc)) {
		return FLR_POLL_CNT * 2000;
	}

	if (CHIP_REV_IS_FPGA(sc)) {
		return FLR_POLL_CNT * 120;
	}

	return FLR_POLL_CNT;
}
/* Common routines with VF FLR cleanup */
Common routines with VF FLR cleanup
Common routines with VF FLR cleanup
static uint32_t bnx2x_flr_clnup_poll_count(struct bnx2x_softc *sc)
{
	if (CHIP_REV_IS_EMUL(sc)) {
		return FLR_POLL_CNT * 2000;
	}
	if (CHIP_REV_IS_FPGA(sc)) {
		return FLR_POLL_CNT * 120;
	}
	return FLR_POLL_CNT;
}
static uint32_t bnx2x_flr_clnup_poll_count ( struct bnx2x_softc * sc ) { if ( CHIP_REV_IS_EMUL ( sc ) ) { return FLR_POLL_CNT * 2000 ; } if ( CHIP_REV_IS_FPGA ( sc ) ) { return FLR_POLL_CNT * 120 ; } return FLR_POLL_CNT ; }
Common routines with VF FLR cleanup
Common routines with VF FLR cleanup
/* adjust polling timeout */