src/dpdk/drivers/net/bnx2x/bnx2x.c
static int bnx2x_get_leader_lock_resource(struct bnx2x_softc *sc)
{
	if (SC_PATH(sc)) {
		return HW_LOCK_RESOURCE_RECOVERY_LEADER_1;
	} else {
		return HW_LOCK_RESOURCE_RECOVERY_LEADER_0;
	}
}
/*
 * Get the recovery leader resource id according to the engine this function
 * belongs to. Currently only only 2 engines is supported.
 */
Get the recovery leader resource id according to the engine this function
belongs to. Currently only only 2 engines is supported.
Get the recovery leader resource id according to the engine this function belongs to . Currently only only 2 engines is supported .
static int bnx2x_get_leader_lock_resource(struct bnx2x_softc *sc)
{
	if (SC_PATH(sc)) {
		return HW_LOCK_RESOURCE_RECOVERY_LEADER_1;
	} else {
		return HW_LOCK_RESOURCE_RECOVERY_LEADER_0;
	}
}
static int bnx2x_get_leader_lock_resource ( struct bnx2x_softc * sc ) { if ( SC_PATH ( sc ) ) { return HW_LOCK_RESOURCE_RECOVERY_LEADER_1 ; } else { return HW_LOCK_RESOURCE_RECOVERY_LEADER_0 ; } }
Get the recovery leader resource id according to the engine this function
 belongs to.
Get the recovery leader resource id according to the engine this function belongs to .