src/dpdk/drivers/net/bnx2x/bnx2x.h
static inline uint8_t
bnx2x_stats_id(struct bnx2x_fastpath *fp)
{
    struct bnx2x_softc *sc = fp->sc;

    if (!CHIP_IS_E1x(sc)) {
	return fp->cl_id;
    }

    return fp->cl_id + SC_PORT(sc) * FP_SB_MAX_E1x;
}
/*
 * Statistics ID are global per chip/path, while Client IDs for E1x
 * are per port.
 */
Statistics ID are global per chip/path, while Client IDs for E1x
are per port.
Statistics ID are global per chip / path while Client IDs for E1x are per port .
static inline uint8_t
bnx2x_stats_id(struct bnx2x_fastpath *fp)
{
    struct bnx2x_softc *sc = fp->sc;
    if (!CHIP_IS_E1x(sc)) {
	return fp->cl_id;
    }
    return fp->cl_id + SC_PORT(sc) * FP_SB_MAX_E1x;
}
static inline uint8_t bnx2x_stats_id ( struct bnx2x_fastpath * fp ) { struct bnx2x_softc * sc = fp -> sc ; if ( ! CHIP_IS_E1x ( sc ) ) { return fp -> cl_id ; } return fp -> cl_id + SC_PORT ( sc ) * FP_SB_MAX_E1x ; }
Statistics ID are global per chip/path, while Client IDs for E1x
 are per port.
Statistics ID are global per chip / path while Client IDs for E1x are per port .