Home
last modified time | relevance | path

Searched refs:adv_credits (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/net/rds/
H A Dib_send.c356 u32 wanted, u32 *adv_credits, int need_posted, int max_posted) in rds_ib_send_grab_credits() argument
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()
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()
689 hdr->h_credit = adv_credits; in rds_ib_xmit()
691 adv_credits = 0; in rds_ib_xmit()
[all …]
H A Dib_recv.c658 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 Dib.h437 u32 *adv_credits, int need_posted, int max_posted);