Lines Matching refs:posted
321 * - posted credits: this tells us how many WRs we recently
322 * posted to the receive queue. This value is transferred
332 * until we've posted new buffers and are ready to transmit these
341 * and the counter of posted buffers atomically - when we use the
343 * and grab the posted credits counter. Hence, we have to use a
359 unsigned int avail, posted, got = 0, advertise;
369 posted = IB_GET_POST_CREDITS(oldval);
372 rdsdebug("wanted=%u credits=%u posted=%u\n",
373 wanted, avail, posted);
376 if (avail && !posted)
393 * the posted regardless of whether any send credits are
396 if (posted && (got || need_posted)) {
397 advertise = min_t(unsigned int, posted, max_posted);
430 void rds_ib_advertise_credits(struct rds_connection *conn, unsigned int posted)
434 if (posted == 0)
437 atomic_add(IB_SET_POST_CREDITS(posted), &ic->i_credits);
443 * advertising the newly posted buffer... ad inf)
499 u32 posted;
534 credit_alloc = rds_ib_send_grab_credits(ic, work_alloc, &posted, 0, RDS_MAX_ADV_CREDIT);
535 adv_credits += posted;
604 rds_ib_send_grab_credits(ic, 0, &posted, 1, RDS_MAX_ADV_CREDIT - adv_credits);
605 adv_credits += posted;