static void do_enqueues(struct qman_fq *fq) { unsigned int loop = test_frames; dcbt_rw(eq_capture); while (loop) { int err; if (loop == test_start) eq_capture[0] = mfatb(); retry: err = qman_enqueue(fq, &fd, 0); if (err) { eq_jam++; cpu_spin(ENQUEUE_BACKOFF); goto retry; } #ifdef TEST_FD fd_inc(&fd); #endif loop--; } eq_capture[1] = mfatb(); }
static __inline__ void __bm_cl_touch_rw(struct bm_addr *bm, uintptr_t offset) { dcbt_rw(ptr_ADD(bm->addr_ce, offset)); }