Searched refs:adv_credits (Results 1 - 6 of 6) sorted by relevance
/kernel/linux/linux-5.10/net/rds/ |
H A D | ib_send.c | 357 u32 wanted, u32 *adv_credits, int need_posted, int max_posted) in rds_ib_send_grab_credits() 362 *adv_credits = 0; in rds_ib_send_grab_credits() 405 *adv_credits = advertise; in rds_ib_send_grab_credits() 500 u32 adv_credits = 0; in rds_ib_xmit() local 535 adv_credits += posted; in rds_ib_xmit() 601 * Update adv_credits since we reset the ACK_REQUIRED bit. in rds_ib_xmit() 604 rds_ib_send_grab_credits(ic, 0, &posted, 1, RDS_MAX_ADV_CREDIT - adv_credits); in rds_ib_xmit() 605 adv_credits += posted; in rds_ib_xmit() 606 BUG_ON(adv_credits > 255); in rds_ib_xmit() 686 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 [all...] |
H A D | ib_recv.c | 657 static void rds_ib_send_ack(struct rds_ib_connection *ic, unsigned int adv_credits) in rds_ib_send_ack() argument 671 hdr->h_credit = adv_credits; in rds_ib_send_ack() 733 unsigned int adv_credits; in rds_ib_attempt_ack() local 744 if (!rds_ib_send_grab_credits(ic, 1, &adv_credits, 0, RDS_MAX_ADV_CREDIT)) { in rds_ib_attempt_ack() 751 rds_ib_send_ack(ic, adv_credits); in rds_ib_attempt_ack()
|
H A D | ib.h | 437 u32 *adv_credits, int need_posted, int max_posted);
|
/kernel/linux/linux-6.6/net/rds/ |
H A D | ib_send.c | 356 u32 wanted, u32 *adv_credits, int need_posted, int max_posted) in rds_ib_send_grab_credits() 361 *adv_credits = 0; in rds_ib_send_grab_credits() 404 *adv_credits = advertise; in rds_ib_send_grab_credits() 499 u32 adv_credits = 0; in rds_ib_xmit() local 534 adv_credits += posted; in rds_ib_xmit() 600 * Update adv_credits since we reset the ACK_REQUIRED bit. in rds_ib_xmit() 603 rds_ib_send_grab_credits(ic, 0, &posted, 1, RDS_MAX_ADV_CREDIT - adv_credits); in rds_ib_xmit() 604 adv_credits += posted; in rds_ib_xmit() 605 BUG_ON(adv_credits > 255); in rds_ib_xmit() 685 if (ic->i_flowctl && adv_credits) { in rds_ib_xmit() 355 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 [all...] |
H A D | ib_recv.c | 658 static void rds_ib_send_ack(struct rds_ib_connection *ic, unsigned int adv_credits) in rds_ib_send_ack() argument 672 hdr->h_credit = adv_credits; in rds_ib_send_ack() 734 unsigned int adv_credits; in rds_ib_attempt_ack() local 745 if (!rds_ib_send_grab_credits(ic, 1, &adv_credits, 0, RDS_MAX_ADV_CREDIT)) { in rds_ib_attempt_ack() 752 rds_ib_send_ack(ic, adv_credits); in rds_ib_attempt_ack()
|
H A D | ib.h | 437 u32 *adv_credits, int need_posted, int max_posted);
|
Completed in 8 milliseconds