Searched refs:adv_credits (Results 1 – 3 of 3) sorted by relevance
| /linux/net/rds/ |
| H A D | ib_send.c | 358 u32 wanted, u32 *adv_credits, int need_posted, int max_posted) in rds_ib_send_grab_credits() 363 *adv_credits = 0; in rds_ib_send_grab_credits() 406 *adv_credits = advertise; in rds_ib_send_grab_credits() 501 u32 adv_credits = 0; in rds_ib_xmit() 536 adv_credits += posted; in rds_ib_xmit() 628 * Update adv_credits since we reset the ACK_REQUIRED bit. in rds_ib_xmit() 631 rds_ib_send_grab_credits(ic, 0, &posted, 1, RDS_MAX_ADV_CREDIT - adv_credits); in rds_ib_xmit() 632 adv_credits += posted; in rds_ib_xmit() 633 BUG_ON(adv_credits > 255); in rds_ib_xmit() 713 if (ic->i_flowctl && adv_credits) { in rds_ib_xmit() 356 rds_ib_send_grab_credits(struct rds_ib_connection * ic,u32 wanted,u32 * adv_credits,int need_posted,int max_posted) rds_ib_send_grab_credits() argument 499 u32 adv_credits = 0; rds_ib_xmit() local [all...] |
| H A D | ib_recv.c | 659 static void rds_ib_send_ack(struct rds_ib_connection *ic, unsigned int adv_credits) in rds_ib_send_ack() argument 673 hdr->h_credit = adv_credits; in rds_ib_send_ack() 735 unsigned int adv_credits; in rds_ib_attempt_ack() local 746 if (!rds_ib_send_grab_credits(ic, 1, &adv_credits, 0, RDS_MAX_ADV_CREDIT)) { in rds_ib_attempt_ack() 753 rds_ib_send_ack(ic, adv_credits); in rds_ib_attempt_ack()
|
| H A D | ib.h | 434 u32 *adv_credits, int need_posted, int max_posted);
|