src/dpdk/drivers/net/bnx2x/bnx2x.h
static inline void
bnx2x_link_sync_notify(struct bnx2x_softc *sc)
{
	int func, vn;

	/* Set the attention towards other drivers on the same port */
	for (vn = VN_0; vn < SC_MAX_VN_NUM(sc); vn++) {
		if (vn == SC_VN(sc))
			continue;

		func = func_by_vn(sc, vn);
		REG_WR(sc, MISC_REG_AEU_GENERAL_ATTN_0 +
				(LINK_SYNC_ATTENTION_BIT_FUNC_0 + func) * 4, 1);
	}
}
/*
 * send notification to other functions.
 */
send notification to other functions.
send notification to other functions .
static inline void
bnx2x_link_sync_notify(struct bnx2x_softc *sc)
{
	int func, vn;
	for (vn = VN_0; vn < SC_MAX_VN_NUM(sc); vn++) {
		if (vn == SC_VN(sc))
			continue;
		func = func_by_vn(sc, vn);
		REG_WR(sc, MISC_REG_AEU_GENERAL_ATTN_0 +
				(LINK_SYNC_ATTENTION_BIT_FUNC_0 + func) * 4, 1);
	}
}
static inline void bnx2x_link_sync_notify ( struct bnx2x_softc * sc ) { int func , vn ; for ( vn = VN_0 ; vn < SC_MAX_VN_NUM ( sc ) ; vn ++ ) { if ( vn == SC_VN ( sc ) ) continue ; func = func_by_vn ( sc , vn ) ; REG_WR ( sc , MISC_REG_AEU_GENERAL_ATTN_0 + ( LINK_SYNC_ATTENTION_BIT_FUNC_0 + func ) * 4 , 1 ) ; } }
send notification to other functions.
send notification to other functions .
/* Set the attention towards other drivers on the same port */