Lines Matching defs:posted
322 * - posted credits: this tells us how many WRs we recently
323 * posted to the receive queue. This value is transferred
333 * until we've posted new buffers and are ready to transmit these
342 * and the counter of posted buffers atomically - when we use the
344 * and grab the posted credits counter. Hence, we have to use a
360 unsigned int avail, posted, got = 0, advertise;
370 posted = IB_GET_POST_CREDITS(oldval);
373 rdsdebug("wanted=%u credits=%u posted=%u\n",
374 wanted, avail, posted);
377 if (avail && !posted)
394 * the posted regardless of whether any send credits are
397 if (posted && (got || need_posted)) {
398 advertise = min_t(unsigned int, posted, max_posted);
431 void rds_ib_advertise_credits(struct rds_connection *conn, unsigned int posted)
435 if (posted == 0)
438 atomic_add(IB_SET_POST_CREDITS(posted), &ic->i_credits);
444 * advertising the newly posted buffer... ad inf)
500 u32 posted;
535 credit_alloc = rds_ib_send_grab_credits(ic, work_alloc, &posted, 0, RDS_MAX_ADV_CREDIT);
536 adv_credits += posted;
631 rds_ib_send_grab_credits(ic, 0, &posted, 1, RDS_MAX_ADV_CREDIT - adv_credits);
632 adv_credits += posted;