Lines Matching defs:posted
320 * - posted credits: this tells us how many WRs we recently
321 * posted to the receive queue. This value is transferred
331 * until we've posted new buffers and are ready to transmit these
340 * and the counter of posted buffers atomically - when we use the
342 * and grab the posted credits counter. Hence, we have to use a
358 unsigned int avail, posted, got = 0, advertise;
368 posted = IB_GET_POST_CREDITS(oldval);
371 rdsdebug("wanted=%u credits=%u posted=%u\n",
372 wanted, avail, posted);
375 if (avail && !posted)
392 * the posted regardless of whether any send credits are
395 if (posted && (got || need_posted)) {
396 advertise = min_t(unsigned int, posted, max_posted);
429 void rds_ib_advertise_credits(struct rds_connection *conn, unsigned int posted)
433 if (posted == 0)
436 atomic_add(IB_SET_POST_CREDITS(posted), &ic->i_credits);
442 * advertising the newly posted buffer... ad inf)
498 u32 posted;
533 credit_alloc = rds_ib_send_grab_credits(ic, work_alloc, &posted, 0, RDS_MAX_ADV_CREDIT);
534 adv_credits += posted;
603 rds_ib_send_grab_credits(ic, 0, &posted, 1, RDS_MAX_ADV_CREDIT - adv_credits);
604 adv_credits += posted;