MCPcopy Create free account
hub / github.com/F-Stack/f-stack / ecore_mcast_wait

Function ecore_mcast_wait

dpdk/drivers/net/bnx2x/ecore_sp.c:2260–2267  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2258};
2259
2260static int ecore_mcast_wait(struct bnx2x_softc *sc, struct ecore_mcast_obj *o)
2261{
2262 if (ecore_state_wait(sc, o->sched_state, o->raw.pstate) ||
2263 o->raw.wait_comp(sc, &o->raw))
2264 return ECORE_TIMEOUT;
2265
2266 return ECORE_SUCCESS;
2267}
2268
2269static int ecore_mcast_enqueue_cmd(struct bnx2x_softc *sc __rte_unused,
2270 struct ecore_mcast_obj *o,

Callers

nothing calls this directly

Calls 1

ecore_state_waitFunction · 0.85

Tested by

no test coverage detected