/linux-4.4.14/net/bridge/netfilter/ |
H A D | ebt_limit.c | 41 info->credit += (now - xchg(&info->prev, now)) * CREDITS_PER_JIFFY; ebt_limit_mt() 42 if (info->credit > info->credit_cap) ebt_limit_mt() 43 info->credit = info->credit_cap; ebt_limit_mt() 45 if (info->credit >= info->cost) { ebt_limit_mt() 47 info->credit -= info->cost; ebt_limit_mt() 82 info->credit = user2credits(info->avg * info->burst); ebt_limit_mt_check() 97 compat_uint_t credit, credit_cap, cost; member in struct:ebt_compat_limit_info
|
/linux-4.4.14/net/netfilter/ |
H A D | xt_limit.c | 22 uint32_t credit; member in struct:xt_limit_priv 39 amount of credit `credit' and the most credit you can ever have 43 `prev' tracks the last packet hit: you gain one credit per jiffy. 44 If you get credit balance more than this, the extra credit is 76 priv->credit += (now - xchg(&priv->prev, now)) * CREDITS_PER_JIFFY; limit_mt() 77 if (priv->credit > r->credit_cap) limit_mt() 78 priv->credit = r->credit_cap; limit_mt() 80 if (priv->credit >= r->cost) { limit_mt() 82 priv->credit -= r->cost; limit_mt() 124 priv->credit = user2credits(r->avg * r->burst); /* Credits full. */ limit_mt_check() 126 r->credit_cap = priv->credit; /* Credits full. */ limit_mt_check() 145 u_int32_t credit; member in struct:compat_xt_rateinfo 160 .credit = cm->credit, limit_mt_compat_from_user() 174 .credit = m->credit, limit_mt_compat_to_user()
|
H A D | xt_hashlimit.c | 89 u_int32_t credit; member in struct:dsthash_ent::__anon15022 385 amount of credit `credit' and the most credit you can ever have 389 `prev' tracks the last packet hit: you gain one credit per jiffy. 390 If you get credit balance more than this, the extra credit is 456 u32 tmp = dh->rateinfo.credit; rateinfo_recalc() 457 dh->rateinfo.credit += CREDITS_PER_JIFFY_BYTES * delta; rateinfo_recalc() 459 if (tmp >= dh->rateinfo.credit) {/* overflow */ rateinfo_recalc() 460 dh->rateinfo.credit = cap; rateinfo_recalc() 464 dh->rateinfo.credit += delta * CREDITS_PER_JIFFY; rateinfo_recalc() 467 if (dh->rateinfo.credit > cap) rateinfo_recalc() 468 dh->rateinfo.credit = cap; rateinfo_recalc() 476 dh->rateinfo.credit = CREDITS_PER_JIFFY_BYTES * HZ; rateinfo_init() 480 dh->rateinfo.credit = user2credits(hinfo->cfg.avg * rateinfo_init() 483 dh->rateinfo.credit_cap = dh->rateinfo.credit; rateinfo_init() 598 if (dh->rateinfo.credit < tmp && dh->rateinfo.credit_cap) { hashlimit_byte_cost() 600 dh->rateinfo.credit = CREDITS_PER_JIFFY_BYTES * HZ; hashlimit_byte_cost() 645 if (dh->rateinfo.credit >= cost) { hashlimit_mt() 647 dh->rateinfo.credit -= cost; hashlimit_mt() 806 ent->rateinfo.credit, ent->rateinfo.credit_cap, dl_seq_real_show() 817 ent->rateinfo.credit, ent->rateinfo.credit_cap, dl_seq_real_show()
|
/linux-4.4.14/include/uapi/linux/netfilter_bridge/ |
H A D | ebt_limit.h | 20 __u32 credit; member in struct:ebt_limit_info
|
/linux-4.4.14/include/uapi/linux/netfilter/ |
H A D | xt_limit.h | 19 __u32 credit; /* moved to xt_limit_priv */ member in struct:xt_rateinfo
|
/linux-4.4.14/drivers/staging/rdma/hfi1/ |
H A D | pio.h | 68 #define PRC_STATUS_ERR 0x01 /* credit return due to status error */ 69 #define PRC_PBC 0x02 /* credit return due to PBC */ 70 #define PRC_THRESHOLD 0x04 /* credit return due to threshold */ 71 #define PRC_FILL_ERR 0x08 /* credit return due fill error */ 72 #define PRC_FORCE 0x10 /* credit return due credit force */ 118 u32 group; /* credit return group */ 131 u64 credit_ctrl; /* cache for credit control */ 132 u32 credit_intr_count; /* count of credit intr users */ 151 /* DMA credit return, index is always (context & 0x7) */ 156 /* NUMA indexed credit return array */
|
H A D | pio.c | 449 * All send contexts have their credit sizes. Allocate credits init_send_contexts() 531 * Obtain the credit return addresses, kernel virtual and physical, for the 538 * credit_return for its credit return. 594 * Calculate credit threshold in terms of percent of the allocated credits. 606 * Set the credit return threshold. 630 /* force a credit return on change to avoid a possible stall */ sc_set_cr_threshold() 757 /* set up credit return */ sc_alloc() 762 * Calculate the initial credit return threshold. sc_alloc() 892 * credit return interrupts are stopped (although there sc_disable() 921 /* wait for packet egress, optionally pause for credit return */ sc_wait_for_packet_egress() 1260 /* force a credit return on the context */ sc_return_credits() 1266 /* a 0->1 transition schedules a credit return */ sc_return_credits() 1270 * Ensure that the write is flushed and the credit return is sc_return_credits() 1422 * There are at least two entities that can turn on credit return 1429 * Start credit return interrupts. This is managed by a count. If already 1448 * Stop credit return interrupts. This is managed by a count. Decrement the 1449 * count, if the last user, then turn the credit interrupts off. 1537 /* translate a send credit update to a bit code of reasons */ fill_code() 1725 dd_dev_err(dd, "Unable to allocate credit return base\n"); init_credit_return() 1741 "Unable to allocate credit return DMA range for NUMA %d\n", init_credit_return()
|
H A D | qp.c | 85 * Convert the AETH credit code into the number of credits. 954 * Set the credit field to the invalid value. hfi1_compute_aeth() 981 * Binary search the credit table to find the code to hfi1_compute_aeth() 1356 u32 credit = (aeth >> HFI1_AETH_CREDIT_SHIFT) & HFI1_AETH_CREDIT_MASK; hfi1_get_credit() local 1359 * If the credit is invalid, we can send hfi1_get_credit() 1361 * honor the credit field. hfi1_get_credit() 1363 if (credit == HFI1_AETH_CREDIT_INVAL) { hfi1_get_credit() 1372 /* Compute new LSN (i.e., MSN + credit) */ hfi1_get_credit() 1373 credit = (aeth + credit_table[credit]) & HFI1_MSN_MASK; hfi1_get_credit() 1374 if (cmp_msn(credit, qp->s_lsn) > 0) { hfi1_get_credit() 1375 qp->s_lsn = credit; hfi1_get_credit()
|
H A D | diag.c | 335 * Allocated structure shared between the credit return mechanism and 355 * Callback from the credit return code. Set the complete, which 479 /* always force a credit return */ diagpkt_send() 481 /* turn on credit return interrupts */ diagpkt_send() 499 * No send buffer means no credit callback. Undo diagpkt_send() 518 /* wait for credit return */ diagpkt_send()
|
H A D | file_ops.c | 538 * The credit return location for this context could be on the hfi1_file_mmap() 539 * second or third page allocated for credit returns (if number hfi1_file_mmap() 549 * The driver has already allocated memory for credit hfi1_file_mmap() 1315 * If more than 64 contexts are enabled the allocated credit get_base_info() 1317 * map the page containing the context's credit return address, get_base_info()
|
H A D | chip.c | 2115 * Return the send credit interrupt name. 2884 * the CM credit registers are zero from a previous global or credit reset . 2907 * Zero all credit details from the previous connection and 2914 /* remove all previous VL credit limits */ reset_link_credits() 3804 /* set (14b only) or clear sideband credit */ handle_verify_cap() 3855 /* set up the remote credit return table */ handle_verify_cap() 4150 "BadCtrlDist: Distance violation between two credit control flits", 4378 * TX block send credit interrupt. Source is < 160. 6171 /* adjust kernel credit return thresholds based on new MTUs */ set_send_length() 6955 * Read one credit merge VL register. 6971 * Read the current credit merge limits. 7094 /* change only the total credit limit portion of SendCmGLobalCredit */ set_global_limit() 7158 "%s credit change status not clearing after %dms, mask 0x%llx, not clear 0x%llx\n", wait_for_vl_status_clear() 7161 * If this occurs, it is likely there was a credit loss on the link. wait_for_vl_status_clear() 7165 "Continuing anyway. A credit loss may occur. Suggest a link bounce\n"); wait_for_vl_status_clear() 7276 /* bracket the credit change with a total adjustment */ set_buffer_control() 7281 * Start the credit change algorithm. set_buffer_control() 7348 /* bracket the credit change with a total adjustment */ set_buffer_control() 9951 /* assign link credit variables */ init_early_variables()
|
H A D | verbs.h | 524 u32 s_lsn; /* limit sequence number (credit) */
|
H A D | chip.h | 85 /* HFI link credit count, AKA receive buffer depth (RBUF_DEPTH) */
|
H A D | ruc.c | 830 * Process entries in the send work queue until credit or queue is
|
H A D | rc.c | 367 /* If no credit, return. */ hfi1_make_rc_req() 400 /* If no credit, return. */ hfi1_make_rc_req()
|
H A D | init.c | 1152 /* valid credit return threshold is 0-100, variable is unsigned */ hfi1_mod_init()
|
H A D | hfi.h | 849 * credit return base - a per-NUMA range of DMA address that
|
H A D | sdma.c | 340 * and pause for credit return.
|
H A D | mad.c | 686 * neighbor in a timely manner, without any credit return pacing. __subn_get_opa_portinfo()
|
/linux-4.4.14/arch/m68k/include/asm/ |
H A D | amigayle.h | 72 #define GAYLE_CS_CCDET 0x40 /* credit card detect */ 74 #define GAYLE_CS_SC 0x20 /* credit card status change */ 78 #define GAYLE_CS_BSY 0x04 /* credit card busy */
|
/linux-4.4.14/drivers/net/wireless/ath/ath6kl/ |
H A D | htc.h | 60 /* disable credit flow control on a specific service */ 388 /* floor for credit distribution */ 398 * is set by HTC when credit reports arrive. The credit 411 /* size in bytes of each credit */ 430 * credit distribution code that is passed into the distribution function, 450 * number of times the host set the credit-low flag in a send 460 /* running count of total credit reports received for this endpoint */ 463 /* credit reports received from this endpoint's RX packets */ 466 /* credit reports received from RX packets of other endpoints */ 469 /* credit reports received from endpoint 0 RX packets */
|
H A D | htc_mbox.c | 39 /* Functions for Tx credit handling */ ath6kl_credit_deposit() 44 ath6kl_dbg(ATH6KL_DBG_CREDIT, "credit deposit ep %d credits %d\n", ath6kl_credit_deposit() 59 ath6kl_dbg(ATH6KL_DBG_CREDIT, "credit init total %d\n", tot_credits); ath6kl_credit_init() 135 "credit ep %d svc_id %d credits %d per_msg %d norm %d min %d\n", list_for_each_entry() 145 /* initialize and setup credit distribution */ ath6kl_htc_mbox_credit_setup() 172 ath6kl_dbg(ATH6KL_DBG_CREDIT, "credit reduce ep %d limit %d\n", ath6kl_credit_reduce() 323 * This function is invoked whenever endpoints require credit 554 ath6kl_dbg(ATH6KL_DBG_CREDIT, "credit check need %d got %d\n", htc_check_credits() 570 "credit not found for ep %d\n", htc_check_credits() 592 "credit we need credits asap\n"); htc_check_credits() 647 /* See if the padded tx length falls on a credit boundary */ htc_get_credit_padding() 663 * The transfer consumes a "partial" credit, this htc_get_credit_padding() 666 * consume the entire credit. htc_get_credit_padding() 751 * 2. a message that will consume a partial credit will stop the 1011 * Run through the credit distribution list to see if there are htc_chk_ep_txq() 1613 "credit report ep %d credits %d\n", htc_proc_cred_rpt() 1621 * This credit report arrived on the same endpoint htc_proc_cred_rpt() 1627 /* credit arrived on endpoint 0 as a NULL message */ htc_proc_cred_rpt() 1656 * This was a credit return based on a completed send htc_proc_cred_rpt() 2542 * the credit-low indications since the host will actually ath6kl_htc_mbox_conn_service() 2643 ath6kl_warn("credit size: %d is not block aligned! Disabling send bundling\n", htc_setup_msg_bndl() 2647 * Disallow send bundling since the credit size is htc_setup_msg_bndl() 2649 * padding will spill into the next credit buffer htc_setup_msg_bndl()
|
H A D | htc_pipe.c | 134 * endpoint 0 is special, it always has a credit and get_htc_packet_credit_based() 135 * does not require credit based flow control get_htc_packet_credit_based() 654 /* process credit reports and call distribution function */ htc_process_credit_report() 773 * note: when using TX credit flow, the re-checking of queues ath6kl_htc_pipe_tx_complete() 775 * non-TX credit case, we recheck after the packet completes ath6kl_htc_pipe_tx_complete() 1512 ath6kl_dbg(ATH6KL_DBG_HTC, "HTC using TX credit flow control\n"); ath6kl_htc_pipe_start()
|
H A D | sdio.c | 1063 * Hit the credit counter with a 4-byte access, the first byte ath6kl_sdio_bmi_credits() 1072 ath6kl_err("Unable to decrement the command credit count register: %d\n", ath6kl_sdio_bmi_credits() 1175 * a BMI command credit, which indicates that the ENTIRE ath6kl_sdio_bmi_read()
|
H A D | hif.c | 293 * credit flow control on other counters, we only need to check for ath6kl_hif_proc_counter_intr()
|
H A D | debug.c | 286 "credit distribution total %d free %d\n", dump_cred_dist_stats()
|
H A D | init.c | 1736 /* setup credit distribution */ __ath6kl_init_hw_start()
|
H A D | txrx.c | 587 /* notify HTC, this may cause credit distribution changes */ ath6kl_indicate_tx_activity()
|
/linux-4.4.14/include/net/irda/ |
H A D | irttp.h | 58 /* Minimum of credit that the peer should hold. 70 * credit to the peer, hoping we can piggyback it on the return data. In 71 * particular, it doesn't make sense for us to send credit more than once 114 __u8 initial_credit; /* Initial credit to give peer */ 116 int avail_credit; /* Available credit to return to peer */ 155 struct tsap_cb *irttp_open_tsap(__u8 stsap_sel, int credit, notify_t *notify);
|
/linux-4.4.14/drivers/infiniband/hw/cxgb3/ |
H A D | iwch_cq.c | 50 u32 credit = 0; iwch_poll_cq_one() local 68 &credit); iwch_poll_cq_one() 69 if (t3a_device(chp->rhp) && credit) { iwch_poll_cq_one() 71 credit, chp->cq.cqid); iwch_poll_cq_one() 72 cxio_hal_cq_op(&rhp->rdev, &chp->cq, CQ_CREDIT_UPDATE, credit); iwch_poll_cq_one()
|
H A D | cxio_hal.h | 159 enum t3_cq_opcode op, u32 credit); 196 u8 *cqe_flushed, u64 *cookie, u32 *credit);
|
H A D | cxio_hal.c | 72 enum t3_cq_opcode op, u32 credit) cxio_hal_cq_op() 80 setup.credits = (op == CQ_CREDIT_UPDATE) ? credit : 0; cxio_hal_cq_op() 642 * Force a CQE to return the credit to the workq in case cxio_hal_ctrl_qp_write_mem() 1139 * credit: cq credit to return to sge. 1148 u8 *cqe_flushed, u64 *cookie, u32 *credit) cxio_poll_cq() 1154 *credit = 0; cxio_poll_cq() 1338 *credit = cq->rptr - cq->wptr; cxio_poll_cq() 71 cxio_hal_cq_op(struct cxio_rdev *rdev_p, struct t3_cq *cq, enum t3_cq_opcode op, u32 credit) cxio_hal_cq_op() argument 1147 cxio_poll_cq(struct t3_wq *wq, struct t3_cq *cq, struct t3_cqe *cqe, u8 *cqe_flushed, u64 *cookie, u32 *credit) cxio_poll_cq() argument
|
H A D | iwch_cm.c | 1101 PDBG("%s 0 credit ack ep %p state %u\n", tx_ack()
|
/linux-4.4.14/drivers/xen/ |
H A D | balloon.c | 305 long credit; reserve_additional_memory() local 310 credit = balloon_stats.target_pages + balloon_stats.target_unpopulated reserve_additional_memory() 317 if (credit <= 0) reserve_additional_memory() 320 balloon_hotplug = round_up(credit, PAGES_PER_SECTION); reserve_additional_memory() 573 long credit; balloon_process() local 579 credit = current_credit(); balloon_process() 581 if (credit > 0) { balloon_process() 583 state = increase_reservation(credit); balloon_process() 588 if (credit < 0) balloon_process() 589 state = decrease_reservation(-credit, GFP_BALLOON); balloon_process() 597 } while (credit && state == BP_DONE); balloon_process()
|
/linux-4.4.14/arch/tile/include/arch/ |
H A D | trio_pcie_intfc.h | 192 * initial credit value from the link partner is smaller than this value 193 * when the link comes up, the value will be reset to the initial credit 202 * initial credit value from the link partner is smaller than this value 203 * when the link comes up, the value will be reset to the initial credit
|
H A D | mpipe.h | 28 * credit counters. Accesses to this address space should use an address of
|
/linux-4.4.14/fs/cifs/ |
H A D | smb2glob.h | 61 /* Maximum buffer size value we can send with 1 credit */
|
H A D | smb2pdu.c | 466 /* set it to the maximum buffer size value we can send with 1 credit */ SMB2_negotiate() 1506 * than one credit. Windows typically sets this smaller, but for some SMB2_ioctl() 1508 * limiting what the server can send as long as fits in one credit SMB2_ioctl() 1510 req->MaxOutputResponse = cpu_to_le32(0xFF00); /* < 64K uses 1 credit */ SMB2_ioctl()
|
H A D | smb2ops.c | 152 /* leave one credit for a possible reopen */ smb2_wait_mtu_credits()
|
/linux-4.4.14/net/sched/ |
H A D | sch_fq.c | 69 int credit; member in struct:fq_flow 261 * It not, we need to refill credit with fq_classify() 266 f->credit = q->initial_quantum; fq_classify() 287 f->credit = q->initial_quantum; fq_classify() 392 f->credit = max_t(u32, f->credit, q->quantum); fq_enqueue() 455 if (f->credit <= 0) { fq_dequeue() 456 f->credit += q->quantum; fq_dequeue() 483 f->credit -= qdisc_pkt_len(skb); fq_dequeue() 485 if (f->credit > 0 || !q->rate_enable) fq_dequeue()
|
H A D | sch_sfq.c | 110 short allot; /* credit for this slot */
|
/linux-4.4.14/drivers/staging/lustre/include/linux/lnet/ |
H A D | lib-types.h | 73 /* queued for tx credit */ 86 unsigned int msg_txcredit:1; /* taken an NI send credit */ 87 unsigned int msg_peertxcredit:1; /* taken a peer send credit */ 89 router credit */ 90 unsigned int msg_peerrtrcredit:1; /* taken a peer router credit */ 215 * credit if the LND does flow control. */ 225 * for success and do NOT give back a receive credit; that has to wait 377 /** lnet message has credit and can be submitted to lnd for send/receive */ 379 /** lnet message is waiting for credit */
|
/linux-4.4.14/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe_dcb.h | 164 /* DCB definitions for credit calculation */ 169 #define MAX_CREDIT 4095 /* Maximum credit supported: 256KB * 1204 / 64B */
|
H A D | ixgbe_dcb.c | 139 /* Calculate credit refill ratio using multiplier */ ixgbe_dcb_calculate_tc_credits() 144 /* Calculate maximum credit for the TC */ ixgbe_dcb_calculate_tc_credits() 149 * of a TC is too small, the maximum credit may not be ixgbe_dcb_calculate_tc_credits() 159 * credit may not be enough to send out a TSO ixgbe_dcb_calculate_tc_credits()
|
/linux-4.4.14/include/linux/ |
H A D | coda.h | 36 that credit is given to Carnegie Mellon University in all documents
|
/linux-4.4.14/drivers/staging/rdma/ipath/ |
H A D | ipath_qp.c | 49 * Convert the AETH credit code into the number of credits. 683 * Set the credit field to the invalid value. ipath_compute_aeth() 709 * Binary search the credit table to find the code to ipath_compute_aeth() 1056 u32 credit = (aeth >> IPATH_AETH_CREDIT_SHIFT) & IPATH_AETH_CREDIT_MASK; ipath_get_credit() local 1059 * If the credit is invalid, we can send ipath_get_credit() 1061 * honor the credit field. ipath_get_credit() 1063 if (credit == IPATH_AETH_CREDIT_INVAL) ipath_get_credit() 1066 /* Compute new LSN (i.e., MSN + credit) */ ipath_get_credit() 1067 credit = (aeth + credit_table[credit]) & IPATH_MSN_MASK; ipath_get_credit() 1068 if (ipath_cmp24(credit, qp->s_lsn) > 0) ipath_get_credit() 1069 qp->s_lsn = credit; ipath_get_credit()
|
H A D | ipath_ruc.c | 634 * Process entries in the send work queue until credit or queue is
|
H A D | ipath_rc.c | 313 /* If no credit, return. */ ipath_make_rc_req() 346 /* If no credit, return. */ ipath_make_rc_req()
|
H A D | ipath_verbs.c | 1160 /* VL15 packets bypass credit check */ ipath_verbs_send_dma() 1262 /* VL15 packets bypass credit check */ ipath_verbs_send_pio()
|
H A D | ipath_init_chip.c | 175 /* IB credit flow control. */ bringup_link()
|
H A D | ipath_verbs.h | 437 u32 s_lsn; /* limit sequence number (credit) */
|
/linux-4.4.14/drivers/infiniband/hw/qib/ |
H A D | qib_qp.c | 67 * Convert the AETH credit code into the number of credits. 918 * Set the credit field to the invalid value. qib_compute_aeth() 944 * Binary search the credit table to find the code to qib_compute_aeth() 1285 u32 credit = (aeth >> QIB_AETH_CREDIT_SHIFT) & QIB_AETH_CREDIT_MASK; qib_get_credit() local 1288 * If the credit is invalid, we can send qib_get_credit() 1290 * honor the credit field. qib_get_credit() 1292 if (credit == QIB_AETH_CREDIT_INVAL) { qib_get_credit() 1301 /* Compute new LSN (i.e., MSN + credit) */ qib_get_credit() 1302 credit = (aeth + credit_table[credit]) & QIB_MSN_MASK; qib_get_credit() 1303 if (qib_cmp24(credit, qp->s_lsn) > 0) { qib_get_credit() 1304 qp->s_lsn = credit; qib_get_credit()
|
H A D | qib_ruc.c | 714 * Process entries in the send work queue until credit or queue is
|
H A D | qib_rc.c | 337 /* If no credit, return. */ qib_make_rc_req() 370 /* If no credit, return. */ qib_make_rc_req()
|
H A D | qib_verbs.h | 515 u32 s_lsn; /* limit sequence number (credit) */
|
H A D | qib_iba7220.c | 496 #define PBC_7220_VL15_SEND (1ULL << 63) /* pbc; VL15, no credit check */ 1566 /* IB credit flow control. */ qib_7220_bringup_serdes()
|
H A D | qib_iba7322.c | 454 #define PBC_7322_VL15_SEND (1ULL << 63) /* pbc; VL15, no credit check */ 2319 * in units of 64 bytes (same as IB flow control credit unit). 2425 /* IB credit flow control. */ qib_7322_bringup_serdes()
|
H A D | qib_iba6120.c | 1265 /* IB credit flow control. */ qib_6120_bringup_serdes()
|
/linux-4.4.14/drivers/net/ethernet/broadcom/bnx2x/ |
H A D | bnx2x_sp.h | 307 /* MACs credit pool */ 310 /* VLANs credit pool */ 361 * Update the relevant credit object(s) (consume/return 647 /* Current amount of credit in the pool */ 648 atomic_t credit; member in struct:bnx2x_credit_pool_obj 650 /* Maximum allowed credit. put() will check against it. */ 681 * Get the requested amount of credit from the pool. 683 * @param cnt Amount of requested credit 689 * Returns the credit to the pool. 691 * @param cnt Amount of credit to return 697 * Reads the current amount of credit. 1495 int base, int credit);
|
H A D | bnx2x_reg.h | 56 * BRB1_IND_FREE_LIST_PRS_CRDT+2 initialize parser initial credit. Warning - 227 /* [RW 4] CFC output initial credit. Max credit available - 15.Write writes 228 the initial credit value; read returns the current value of the credit 243 /* [RW 6] QM output initial credit. Max credit available - 32. Write writes 244 the initial credit value; read returns the current value of the credit 271 /* [RW 8] FIC0 output initial credit. Max credit available - 255. Write 272 writes the initial credit value; read returns the current value of the 273 credit counter. Must be initialized to 64 at start-up. */ 275 /* [RW 8] FIC1 output initial credit. Max credit available - 255.Write 276 writes the initial credit value; read returns the current value of the 277 credit counter. Must be initialized to 64 at start-up. */ 384 /* [RW 6] Initial value for the credit counter; responsible for fulfilling 386 messages. Max credit available - 127. Write writes the initial credit 387 value; read returns the current value of the credit counter. Must be 786 /* [RW 4] DMAE- PCI Request Interface initial credit. Write writes the 787 initial value to the credit counter; related to the address. Read returns 843 /* [R 4] Current value of response A counter credit. Initial credit is 847 /* [R 4] Current value of response B counter credit. Initial credit is 851 /* [RW 4] The initial credit at the Doorbell Response Interface. The write 852 writes the same initial credit to the rspa_crd_cnt and rspb_crd_cnt. The 2113 /* [RW 8] init credit counter for port0 in LLH */ 2136 /* [RW 8] init credit counter for port1 in LLH */ 2284 /* [RW 15] Specify which of the credit registers the client is to be mapped 2286 * clients that are not subject to WFQ credit blocking - their 2289 /* [RW 32] Specify which of the credit registers the client is to be mapped 2292 * subject to WFQ credit blocking - their specifications here are not used. 2295 * debug to use credit registers 6, 7, and 8, respectively, and COSes 0-5 to 2296 * use credit registers 0-5 respectively (0x543210876). Note that credit 2299 /* [RW 4] Specify which of the credit registers the client is to be mapped 2302 * subject to WFQ credit blocking - their specifications here are not used. 2305 * debug to use credit registers 6, 7, and 8, respectively, and COSes 0-5 to 2306 * use credit registers 0-5 respectively (0x543210876). Note that credit 2314 /* [RW 5] Specify whether the client is subject to WFQ credit blocking. The 2316 * tx_arb_priority_client). Default value is 0 for not using WFQ credit 2319 /* [RW 32] Specify the upper bound that credit register 0 is allowed to 2330 /* [RW 32] Specify the weight (in bytes) to be added to credit register 0 2542 /* [RW 32] Specify which of the credit registers the client is to be mapped 2545 * subject to WFQ credit blocking - their specifications here are not used. 2548 * debug to use credit registers 6, 7, and 8, respectively, and COSes 0-5 to 2549 * use credit registers 0-5 respectively (0x543210876). Note that credit 2552 * credit registers 0-5 are valid. This register should be configured 2555 /* [RW 4] Specify which of the credit registers the client is to be mapped 2558 * subject to WFQ credit blocking - their specifications here are not used. 2561 * debug to use credit registers 6, 7, and 8, respectively, and COSes 0-5 to 2562 * use credit registers 0-5 respectively (0x543210876). Note that credit 2565 * credit registers 0-5 are valid. This register should be configured 2575 /* [RW 9] Specify whether the client is subject to WFQ credit blocking. The 2580 * 0 for not using WFQ credit blocking. */ 2588 /* [RW 32] Specify the weight (in bytes) to be added to credit register 0 2636 /* [RW 32] Specify the upper bound that credit register 0 is allowed to 2755 /* [R 11] Current credit for the LB queue in the tx port buffers in 16 byte 2758 /* [R 11] Current credit for queue 0 in the tx port buffers in 16 byte 2761 /* [R 11] Current credit for queue 1 in the tx port buffers in 16 byte 2776 * corresponding bit is 1); indicates to which of the credit registers this 2777 * client is mapped. For clients which are not credit blocked; their mapping 2781 * corresponding bit is 1); indicates to which of the credit registers this 2782 * client is mapped. For clients which are not credit blocked; their mapping 2796 * WFQ credit blocking (corresponding bit = 1). */ 2799 * WFQ credit blocking (corresponding bit = 1). */ 2834 /* [RW 1] Init bit. When set the initial credits are copied to the credit 2838 /* [RW 11] Initial credit for the LB queue in the tx port buffers in 16 byte 2841 /* [RW 11] Initial credit for queue 0 in the tx port buffers in 16 byte 2844 /* [RW 11] Initial credit for queue 1 in the tx port buffers in 16 byte 2847 /* [RW 1] Init bit for port 0. When set the initial credit of port 0 is 2848 copied to the credit register. Should be set and then reset after the 2851 /* [RW 1] Init bit for port 1. When set the initial credit of port 1 is 2852 copied to the credit register. Should be set and then reset after the 2855 /* [RW 1] Init bit for port 4. When set the initial credit of port 4 is 2856 copied to the credit register. Should be set and then reset after the 2883 /* [R 11] Current credit for port 0 in the tx port buffers in 16 byte lines. */ 2885 /* [RW 11] Initial credit for port 0 in the tx port buffers in 16 byte 2900 /* [R 11] Removed for E3 B0 - Current credit for port 1 in the tx port 2903 /* [R 11] Removed for E3 B0 - Initial credit for port 0 in the tx port 2916 /* [R 11] Current credit for port 4 in the tx port buffers in 16 byte lines. */ 2918 /* [RW 11] Initial credit for port 4 in the tx port buffers in 16 byte 3247 /* [R 8] debug only: CFC load request current credit. Transaction based. */ 3249 /* [R 8] debug only: CFC search request current credit. Transaction based. */ 3251 /* [RW 6] The initial credit for the search message to the CFC interface. 3375 /* [R 4] debug only: SRC current credit. Transaction based. */ 3382 /* [R 8] debug only: TCM current credit. Cycle based. */ 3384 /* [R 8] debug only: TSDM current credit. Transaction based. */ 3971 /* [RW 16] The byte credit cost for each task. This value is for both ports */ 3973 /* [RW 16] The initial byte credit value for both ports. */ 3987 /* [RW 16] The byte credit value that if above the QM is considered almost 3990 /* [RW 4] The initial credit for interface */ 4027 physical queue uses the byte credit; queues 31-0 */ 4030 physical queue uses the byte credit; queues 95-64 */ 4033 physical queue uses the byte credit; queues 63-32 */ 4036 physical queue uses the byte credit; queues 127-96 */ 4088 /* [R 16] The byte credit of port 1 */ 4247 /* [RW 8] The credit cost per every task in the QM. A value per each VOQ */ 4259 /* [R 16] The credit value for each VOQ */ 4263 /* [RW 16] The credit value that if above the QM is considered almost full */ 4265 /* [RW 16] The init and maximum credit for each VoQ */ 4452 /* [RW 4] CFC output initial credit. Max credit available - 15.Write writes 4453 the initial credit value; read returns the current value of the credit 4477 /* [RW 8] FIC0 output initial credit. Max credit available - 255.Write 4478 writes the initial credit value; read returns the current value of the 4479 credit counter. Must be initialized to 64 at start-up. */ 4481 /* [RW 8] FIC1 output initial credit. Max credit available - 255.Write 4482 writes the initial credit value; read returns the current value of the 4483 credit counter. Must be initialized to 64 at start-up. */ 4595 /* [RW 6] QM output initial credit. Max credit available - 32.Write writes 4596 the initial credit value; read returns the current value of the credit 4644 /* [RW 6] Initial value for the credit counter; responsible for fulfilling 4646 messages. Max credit available - 127.Write writes the initial credit 4647 value; read returns the current value of the credit counter. Must be 4662 /* [RW 4] Load value for cfc ac credit cnt. */ 4664 /* [RW 4] Load value for cfc cld credit cnt. */ 4691 /* [RW 4] Load value for expiration credit cnt. CFC max number of 4716 /* [RW 2] Load value for pci arbiter credit cnt. */ 4972 /* [RW 4] CFC output initial credit. Max credit available - 15.Write writes 4973 the initial credit value; read returns the current value of the credit 5008 /* [RW 8] FIC0 output initial credit. Max credit available - 255.Write 5009 writes the initial credit value; read returns the current value of the 5010 credit counter. Must be initialized to 64 at start-up. */ 5012 /* [RW 8] FIC1 output initial credit. Max credit available - 255.Write 5013 writes the initial credit value; read returns the current value of the 5014 credit counter. Must be initialized to 64 at start-up. */ 5063 /* [RW 4] Timers output initial credit. Max credit available - 15.Write 5064 writes the initial credit value; read returns the current value of the 5065 credit counter. Must be initialized to 4 at start-up. */ 5125 /* [RW 6] QM output initial credit. Max credit available - 32.Write writes 5126 the initial credit value; read returns the current value of the credit 5174 /* [RW 6] Initial value for the credit counter; responsible for fulfilling 5176 messages. Write writes the initial credit value; read returns the current 5177 value of the credit counter. Must be initialized to 12 at start-up. */ 5471 /* [RW 4] CFC output initial credit. Max credit available - 15.Write writes 5472 the initial credit value; read returns the current value of the credit 5507 /* [RW 8] FIC0 output initial credit. Max credit available - 255.Write 5508 writes the initial credit value; read returns the current value of the 5509 credit counter. Must be initialized to 64 at start-up. */ 5511 /* [RW 8] FIC1 output initial credit. Max credit available - 255.Write 5512 writes the initial credit value; read returns the current value of the 5513 credit counter. Must be initialized to 64 at start-up. */ 5587 /* [RW 4] Timers output initial credit. Max credit available - 15.Write 5588 writes the initial credit value; read returns the current value of the 5589 credit counter. Must be initialized to 4 at start-up. */ 5677 /* [RW 6] QM output initial credit. Max credit available - 32.Write writes 5678 the initial credit value; read returns the current value of the credit 5715 /* [RW 6] Initial value for the credit counter; responsible for fulfilling 5717 messages. Max credit available - 3.Write writes the initial credit value; 5718 read returns the current value of the credit counter. Must be initialized
|
H A D | bnx2x_sp.c | 324 /* credit handling callbacks */ bnx2x_get_cam_offset_mac() 1331 * requested, consume CAM credit. 1363 /* Consume the credit if not requested not to */ bnx2x_validate_vlan_mac_add() 1380 * requested, returns a CAM credit. 1420 /* Return the credit to the credit pool if not requested not to */ bnx2x_validate_vlan_mac_del() 1424 BNX2X_ERR("Failed to return a credit\n"); bnx2x_validate_vlan_mac_del() 1439 * requested, returns a CAM credit. 1488 /* Consume the credit if not requested not to */ bnx2x_validate_vlan_mac_move() 1497 /* return the credit taken from dest... */ bnx2x_validate_vlan_mac_move() 1688 /* Return the credit of the optimized command */ bnx2x_optimize_vlan_mac() 1693 BNX2X_ERR("Failed to return the credit for the optimized ADD command\n"); bnx2x_optimize_vlan_mac() 1696 BNX2X_ERR("Failed to recover the credit from the optimized DEL command\n"); bnx2x_optimize_vlan_mac() 2148 /* CAM credit pool handling */ bnx2x_init_mac_obj() 3900 /* 57711 doesn't send a ramrod, so it has unlimited credit bnx2x_init_mcast_obj() 3995 rc = __atomic_dec_ifmoe(&o->credit, cnt, 0); bnx2x_credit_pool_get() 4007 /* Don't let to refill if credit + cnt > pool_sz */ bnx2x_credit_pool_put() 4008 rc = __atomic_add_ifless(&o->credit, cnt, o->pool_sz + 1); bnx2x_credit_pool_put() 4020 cur_credit = atomic_read(&o->credit); bnx2x_credit_pool_check() 4094 * bnx2x_init_credit_pool - initialize credit pool internals. 4098 * @credit: pool size. 4101 * If credit is negative pool operations will always succeed (unlimited pool). 4105 int base, int credit) bnx2x_init_credit_pool() 4114 atomic_set(&p->credit, credit); bnx2x_init_credit_pool() 4117 p->pool_sz = credit; bnx2x_init_credit_pool() 4126 /* if pool credit is negative - disable the checks */ bnx2x_init_credit_pool() 4127 if (credit >= 0) { bnx2x_init_credit_pool() 4165 /* CAM credit is equaly divided between all active functions bnx2x_init_mac_credit_pool() 4181 /* CAM credit is equaly divided between all active functions bnx2x_init_mac_credit_pool() 4207 /* There is no VLAN credit in HW on 57710 and 57711 only bnx2x_init_vlan_credit_pool() 4212 /* CAM credit is equally divided between all active functions bnx2x_init_vlan_credit_pool() 4216 int credit = PF_VLAN_CREDIT_E2(bp, func_num); bnx2x_init_vlan_credit_pool() local 4218 bnx2x_init_credit_pool(p, -1/*unused for E2*/, credit); bnx2x_init_vlan_credit_pool() 4104 bnx2x_init_credit_pool(struct bnx2x_credit_pool_obj *p, int base, int credit) bnx2x_init_credit_pool() argument
|
H A D | bnx2x_init.h | 318 * the minimal credit of Min algorithm 390 * to pass a credit of the T_FAIR*FAIR_MEM (algorithm resolution) bnx2x_init_min() 408 /* this is the credit for each period of the fairness bnx2x_init_min() 445 /* this is the credit for each period of bnx2x_init_fw_wrr()
|
H A D | bnx2x.h | 1545 atomic_t cq_spq_left; /* ETH_XXX ramrods credit */ 1555 atomic_t eq_spq_left; /* COMMON_XXX ramrods credit */ 1882 /* CAM credit pools */ 2336 /* how many bytes above threshold for the minimal credit of Min algorithm*/
|
H A D | bnx2x_cmn.h | 1135 /* Setup CAM credit pools */ bnx2x_init_bp_objs()
|
H A D | bnx2x_link.c | 522 * Getting credit upper bound form min_w_val. 533 * Set credit upper bound for NIG. 655 * Set credit upper bound for PBF. 1180 * should be the same for upper bound and COS credit val). bnx2x_ets_e3b0_config() 2489 /* Wait for init credit */ bnx2x_pbf_update() 2514 /* Update init credit */ bnx2x_pbf_update() 2523 /* Update init credit */ bnx2x_pbf_update() 2535 DP(NETIF_MSG_LINK, "PBF updated to speed %d credit %d\n", bnx2x_pbf_update() 2538 /* Probe the credit changes */ bnx2x_pbf_update()
|
H A D | bnx2x_main.c | 7609 /* update init credit */ bnx2x_init_hw_port() 14635 int count = ctl->data.credit.credit_count; bnx2x_drv_ctl() 14705 int count = ctl->data.credit.credit_count; bnx2x_drv_ctl()
|
/linux-4.4.14/net/rds/ |
H A D | ib_send.c | 321 * to the peer as a "credit update" in a RDS header field. 328 * one credit update to the peer before exhausting our credits. 329 * When new credits arrive, we subtract one credit that is withheld 340 * last available credit, we cannot allow another thread to race us 342 * spinlock to protect the credit counter, or use atomics. 373 /* The last credit must be used to send a credit update. */ rds_ib_send_grab_credits() 438 * If we would send a credit update for every single buffer we rds_ib_advertise_credits() 444 * credit updates - too frequent updates mean lots of ACKs. rds_ib_advertise_credits() 677 /* add credit and redo the header checksum */ rds_ib_xmit()
|
H A D | iw_send.c | 307 * to the peer as a "credit update" in a RDS header field. 314 * one credit update to the peer before exhausting our credits. 315 * When new credits arrive, we subtract one credit that is withheld 326 * last available credit, we cannot allow another thread to race us 328 * spinlock to protect the credit counter, or use atomics. 359 /* The last credit must be used to send a credit update. */ rds_iw_send_grab_credits() 424 * If we would send a credit update for every single buffer we rds_iw_advertise_credits() 430 * credit updates - too frequent updates mean lots of ACKs. rds_iw_advertise_credits() 708 /* add credit and redo the header checksum */ rds_iw_xmit()
|
H A D | ib_sysctl.c | 56 * disables initial FC credit exchange.
|
H A D | ib_cm.c | 74 * so that we learn quickly when our credit accounting is 137 * the posted credit count. */ rds_ib_cm_connect_complete()
|
H A D | iw_cm.c | 341 * the posted credit count. */ rds_iw_setup_qp()
|
H A D | ib_recv.c | 724 /* Can we get a send credit? */ rds_ib_attempt_ack()
|
H A D | iw_recv.c | 513 /* Can we get a send credit? */ rds_iw_attempt_ack()
|
/linux-4.4.14/fs/ext4/ |
H A D | migrate.c | 52 * Calculate the credit needed to inserting this extent finish_range() 54 * credit. But below we try to not accumalate too much finish_range() 61 * Make sure the credit we accumalated is not really high finish_range() 215 * So allocate a credit of 3. We may update extend_credit_for_blkdel() 325 * One credit accounted for writing the ext4_ext_swap_inode_data() 496 * start with one credit accounted for ext4_ext_migrate()
|
H A D | resize.c | 1418 int err = 0, err2 = 0, credit; ext4_flex_group_add() local 1437 credit = 3; /* sb, resize inode, resize inode dindirect */ ext4_flex_group_add() 1439 credit += 1 + DIV_ROUND_UP(flex_gd->count, EXT4_DESC_PER_BLOCK(sb)); ext4_flex_group_add() 1440 credit += reserved_gdb; /* Reserved GDT dindirect blocks */ ext4_flex_group_add() 1441 handle = ext4_journal_start_sb(sb, EXT4_HT_RESIZE, credit); ext4_flex_group_add()
|
H A D | extents.c | 2424 * need to account for leaf block credit ext4_ext_calc_credits_for_single_extent()
|
/linux-4.4.14/drivers/staging/lustre/lnet/klnds/o2iblnd/ |
H A D | o2iblnd.h | 490 #define IBLND_POSTRX_PEER_CREDIT 2 /* post: give peer back 1 credit */ 491 #define IBLND_POSTRX_RSRVD_CREDIT 3 /* post: give self back 1 reserved credit */ 548 struct list_head ibc_tx_queue; /* sends that need a credit */ 550 /* credit */ 711 /* No tx to piggyback NOOP onto or no credit to send a tx */ kiblnd_need_noop() 718 conn->ibc_credits == 0) /* no credit */ kiblnd_need_noop() 721 if (conn->ibc_credits == 1 && /* last credit reserved for */ kiblnd_need_noop() 725 /* No tx to piggyback NOOP onto or no credit to send a tx */ kiblnd_need_noop() 979 int kiblnd_post_rx(kib_rx_t *rx, int credit);
|
H A D | o2iblnd_cb.c | 147 kiblnd_post_rx(kib_rx_t *rx, int credit) kiblnd_post_rx() argument 157 LASSERT(credit == IBLND_POSTRX_NO_CREDIT || kiblnd_post_rx() 158 credit == IBLND_POSTRX_PEER_CREDIT || kiblnd_post_rx() 159 credit == IBLND_POSTRX_RSRVD_CREDIT); kiblnd_post_rx() 203 if (credit == IBLND_POSTRX_NO_CREDIT) kiblnd_post_rx() 207 if (credit == IBLND_POSTRX_PEER_CREDIT) kiblnd_post_rx() 340 /* This ensures the credit taken by NOOP can be returned */ kiblnd_handle_rx() 363 if (credits != 0) /* credit already posted */ kiblnd_handle_rx() 752 kiblnd_post_tx_locked(kib_conn_t *conn, kib_tx_t *tx, int credit) 768 LASSERT(credit == 0 || credit == 1); 781 if (credit != 0 && conn->ibc_credits == 0) { /* no credits */ 787 if (credit != 0 && !IBLND_OOB_CAPABLE(ver) && 788 conn->ibc_credits == 1 && /* last credit reserved */ 790 CDEBUG(D_NET, "%s: not using last credit\n", 818 conn->ibc_credits -= credit; 851 conn->ibc_credits += credit; 929 int credit; kiblnd_check_sends() local 932 credit = 0; kiblnd_check_sends() 937 credit = 1; kiblnd_check_sends() 941 credit = 1; kiblnd_check_sends() 947 if (kiblnd_post_tx_locked(conn, tx, credit) != 0) kiblnd_check_sends()
|
/linux-4.4.14/net/ipv4/ |
H A D | icmp.c | 240 u32 credit; member in struct:__anon14949 255 u32 credit, delta, incr = 0, now = (u32)jiffies; icmp_global_allow() local 261 if (!icmp_global.credit) { icmp_global_allow() 274 credit = min_t(u32, icmp_global.credit + incr, sysctl_icmp_msgs_burst); icmp_global_allow() 275 if (credit) { icmp_global_allow() 276 credit--; icmp_global_allow() 279 icmp_global.credit = credit; icmp_global_allow()
|
/linux-4.4.14/arch/mips/include/asm/netlogic/xlr/ |
H A D | fmn.h | 297 * Retry a few times on credit fail, this should be a nlm_fmn_send() 310 /* If there is a credit failure, return error */ nlm_fmn_send()
|
/linux-4.4.14/arch/ia64/sn/include/xtalk/ |
H A D | xbow.h | 191 #define XB_CTRL_WIDGET_CR_MSK 0x007c0000 /* LLP widget credit 193 #define XB_CTRL_WIDGET_CR_SHFT 18 /* LLP widget credit
|
/linux-4.4.14/net/irda/ |
H A D | irttp.c | 389 struct tsap_cb *irttp_open_tsap(__u8 stsap_sel, int credit, notify_t *notify) irttp_open_tsap() argument 456 if (credit > TTP_RX_MAX_CREDIT) irttp_open_tsap() 459 self->initial_credit = credit; irttp_open_tsap() 809 * Send a dataless flowdata TTP-PDU and give available credit to peer 825 /* Give credit to peer */ irttp_give_credit() 912 /* Deal with inbound credit irttp_data_indication() 953 * We need to send credit *NOW*, otherwise we are going irttp_data_indication() 1168 /* Insert initial credit in frame */ irttp_connect_request() 1658 * available credit to give away. 1767 /* Send explicit credit frame */ irttp_run_rx_queue() 1770 * will produce deadlocks. I repeat : send a credit frame irttp_run_rx_queue() 1840 seq_printf(seq, "avail credit: %d, ", irttp_seq_show() 1842 seq_printf(seq, "remote credit: %d, ", irttp_seq_show() 1844 seq_printf(seq, "send credit: %d\n", irttp_seq_show()
|
/linux-4.4.14/drivers/nfc/nfcmrvl/ |
H A D | fw_dnld.c | 314 nfc_err(priv->dev, "bad packet: waiting for credit"); process_state_fw_dnld() 341 nfc_err(priv->dev, "bad packet: waiting for credit"); process_state_fw_dnld() 353 nfc_err(priv->dev, "bad packet: waiting for credit"); process_state_fw_dnld()
|
/linux-4.4.14/include/uapi/rdma/hfi/ |
H A D | hfi1_user.h | 104 #define HFI1_CAP_EARLY_CREDIT_RETURN (1UL << 18) /* early credit return */ 129 #define HFI1_CMD_CREDIT_UPD 6 /* force an update of PIO credit */ 303 /* PIO credit return address, */
|
/linux-4.4.14/drivers/media/pci/tw68/ |
H A D | tw68-reg.h | 8 * acknowledged. Full credit goes to them - any problems within this code
|
H A D | tw68.h | 8 * acknowledged. Full credit goes to them - any problems within this code
|
H A D | tw68-risc.c | 9 * acknowledged. Full credit goes to them - any problems within this code
|
H A D | tw68-core.c | 9 * acknowledged. Full credit goes to them - any problems within this code
|
H A D | tw68-video.c | 8 * acknowledged. Full credit goes to them - any problems within this code
|
/linux-4.4.14/drivers/media/rc/keymaps/ |
H A D | rc-dib0700-rc5.c | 175 /* Key codes for Nova-TD "credit card" remote control. */
|
/linux-4.4.14/drivers/net/wireless/ath/ath10k/ |
H A D | htc.c | 206 ath10k_warn(ar, "Uneven credit report len %d", len); ath10k_htc_process_credit_report() 573 ath10k_err(ar, "Invalid credit size received\n"); ath10k_htc_wait_target() 649 /* Only enable credit flow control for WMI ctrl service */ ath10k_htc_connect_service() 796 ath10k_dbg(ar, ATH10K_DBG_HTC, "HTC is using TX credit flow control\n"); ath10k_htc_start()
|
H A D | mac.c | 3288 * tx credit replenishment and reliability). Assuming it's at least 3.4 ath10k_mac_need_offchan_tx_work() 4385 * (freed) beacon data in some cases, e.g. tx credit starvation ath10k_add_interface()
|
H A D | wmi.c | 2132 * trailer with credit update. Trim the excess garbage. ath10k_wmi_op_pull_mgmt_rx_ev()
|
/linux-4.4.14/drivers/net/ethernet/qlogic/qed/ |
H A D | qed_init_fw_funcs.c | 138 /* set credit threshold for QM bypass flow */ qed_enable_pf_rl() 151 /* set credit threshold for QM bypass flow */ qed_enable_pf_wfq() 172 /* set credit threshold for QM bypass flow */ qed_enable_vport_rl() 186 /* set credit threshold for QM bypass flow */ qed_enable_vport_wfq()
|
H A D | qed_hsi.h | 883 /* QM hardware structure of enable bypass credit mask */ 904 /* QM hardware structure of opportunistic credit mask */
|
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb3/ |
H A D | firmware_exports.h | 102 * Ingress Traffic (e.g. DMA completion credit) for TUNNEL Queue[i] is sent
|
H A D | sge.c | 2295 /* consume one credit since we tried */ process_responses() 2814 CH_ALERT(adapter, "SGE response queue credit overflow\n"); t3_sge_err_intr_handler()
|
H A D | t3_hw.c | 2323 * @credit_thres: the credit threshold
|
/linux-4.4.14/arch/tile/gxio/ |
H A D | dma_queue.c | 94 * maximum credit value is 65535. __gxio_dma_queue_update_credits()
|
/linux-4.4.14/arch/tile/include/gxio/ |
H A D | dma_queue.h | 24 /* The credit counter lives in the high 32 bits. */
|
/linux-4.4.14/include/linux/amba/ |
H A D | pl08x.h | 13 * Please credit ARM.com
|
/linux-4.4.14/include/uapi/scsi/fc/ |
H A D | fc_fs.h | 111 FC_RCTL_LCR = 0xc7, /* link credit reset */ 146 [FC_RCTL_LCR] = "LC link credit reset", \
|
H A D | fc_els.h | 45 ELS_ESTC = 0x0c, /* estimate credit */ 46 ELS_ADVC = 0x0d, /* advise credit */ 284 __be16 cp_ee_cred; /* N-port end-to-end credit */
|
/linux-4.4.14/drivers/infiniband/hw/cxgb4/ |
H A D | cq.c | 459 * credit: cq credit to return to sge. 469 u8 *cqe_flushed, u64 *cookie, u32 *credit) poll_cq() 475 *credit = 0; poll_cq() 687 u32 credit = 0; c4iw_poll_cq_one() local 704 ret = poll_cq(wq, &(chp->cq), &cqe, &cqe_flushed, &cookie, &credit); c4iw_poll_cq_one() 468 poll_cq(struct t4_wq *wq, struct t4_cq *cq, struct t4_cqe *cqe, u8 *cqe_flushed, u64 *cookie, u32 *credit) poll_cq() argument
|
H A D | cm.c | 2870 PDBG("%s 0 credit ack ep %p tid %u state %u\n", fw4_ack()
|
/linux-4.4.14/drivers/scsi/isci/ |
H A D | phy.h | 308 * @note Depending on remote device implementation, credit blocks 322 * credit has been exhausted.
|
/linux-4.4.14/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_prototype.h | 209 u16 seid, u16 credit, u8 max_credit, 218 u16 seid, u16 credit, u8 max_bw,
|
H A D | i40e_adminq_cmd.h | 1366 __le16 credit; member in struct:i40e_aqc_configure_vsi_bw_limit 1434 __le16 credit; member in struct:i40e_aqc_configure_switching_comp_bw_limit
|
H A D | i40e_common.c | 3432 * @credit: BW limit credits (0 = disabled) 3437 u16 seid, u16 credit, u8 max_credit, i40e_aq_config_vsi_bw_limit() 3449 cmd->credit = cpu_to_le16(credit); i40e_aq_config_vsi_bw_limit() 3436 i40e_aq_config_vsi_bw_limit(struct i40e_hw *hw, u16 seid, u16 credit, u8 max_credit, struct i40e_asq_cmd_details *cmd_details) i40e_aq_config_vsi_bw_limit() argument
|
H A D | i40e_virtchnl_pf.c | 2237 #define I40E_BW_CREDIT_DIVISOR 50 /* 50Mbps per BW credit */
|
/linux-4.4.14/arch/mips/include/asm/sn/sn0/ |
H A D | hubpi.h | 122 #define PI_GFX_CREDIT_CNTR_A 0x000308 /* Graphics credit counter A */ 127 #define PI_GFX_CREDIT_CNTR_B 0x000330 /* Graphics credit counter B */
|
H A D | hubio.h | 37 #define IIO_XTALKCC_TOUT IIO_IXCC /* Xtalk credit count timeout*/ 193 wcr_xbar_crd: 3, /* LLP crossbar credit */ 196 wcr_widget_id: 4; /* LLP crossbar credit */ 316 #define IIO_IXCC 0x4001e0 /* Crosstalk credit count timeout */
|
H A D | hubni.h | 241 nipe_credit_to: 4, /* credit timeout */
|
/linux-4.4.14/drivers/net/ethernet/broadcom/ |
H A D | cnic_if.h | 160 struct drv_ctl_spq_credit credit; member in union:drv_ctl_info::__anon6591
|
H A D | cnic.c | 298 info.data.credit.credit_count = count; cnic_spq_completion()
|
/linux-4.4.14/arch/x86/include/asm/ |
H A D | xor.h | 22 * Copyright (C) 1999 Zach Brown (with obvious credit due Ingo)
|
/linux-4.4.14/arch/mips/pci/ |
H A D | pci-bcm63xx.c | 177 /* enable credit checking and error checking */ bcm63xx_register_pcie()
|
/linux-4.4.14/arch/cris/kernel/ |
H A D | setup.c | 170 /* give credit for the CRIS port */ setup_arch()
|
/linux-4.4.14/drivers/net/wireless/brcm80211/brcmfmac/ |
H A D | fwsignal.c | 215 * b[8] - packet used requested credit 1173 brcmf_err("requested credit set while mac not closed!\n"); brcmf_fws_macdesc_use_req_credit() 1490 /* pick up the implicit credit from this packet */ brcmf_fws_txs_process() 1529 brcmf_dbg(DATA, "map: credit %x delay %x\n", fws->fifo_credit_map, brcmf_fws_fifocreditback_indicate() 1814 brcmf_dbg(DATA, "borrow credit from: %d\n", lender_ac); brcmf_fws_borrow_credit() 2163 brcmf_err("register credit map handler failed\n"); brcmf_fws_init() 2169 brcmf_err("register bcmc credit handler failed\n"); brcmf_fws_init()
|
/linux-4.4.14/arch/ia64/include/asm/sn/ |
H A D | shubio.h | 834 * into the credit counter. The SPUR_WR bit sets whenever the C field * 878 * into the credit counter. The SPUR_WR bit sets whenever the C field * 922 * into the credit counter. The SPUR_WR bit sets whenever the C field * 966 * into the credit counter. The SPUR_WR bit sets whenever the C field * 1010 * into the credit counter. The SPUR_WR bit sets whenever the C field * 1054 * into the credit counter. The SPUR_WR bit sets whenever the C field * 1098 * into the credit counter. The SPUR_WR bit sets whenever the C field * 1142 * into the credit counter. The SPUR_WR bit sets whenever the C field * 1186 * into the credit counter. The SPUR_WR bit sets whenever the C field * 1223 * anytime the credit count drops below a threshold, and resets to * 1224 * zero (stops counting) anytime the credit count is at or above the * 1225 * threshold. The threshold is 1 credit in direct connect mode and 2 * 2831 #define IIO_XTALKCC_TOUT IIO_IXCC /* Xtalk credit count timeout */ 3307 u64 wcr_widget_id:4, /* LLP crossbar credit */ 3310 wcr_xbar_crd:3, /* LLP crossbar credit */
|
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb/ |
H A D | vsc7326_reg.h | 126 #define REG_SPI4_DBG_GRANT CRA(0x5,0x0,0x33) /* Ingress cranted credit value */ 128 #define REG_SPI4_DESKEW CRA(0x5,0x0,0x43) /* Ingress cranted credit value */
|
H A D | cpl5_cmd.h | 416 u32 credit; member in struct:cpl_rx_data_ack
|
/linux-4.4.14/include/uapi/linux/ |
H A D | dcbnl.h | 37 * @cbs: credit based shaper ets algorithm supported 52 * 1 credit-based shaper
|
H A D | coda.h | 36 that credit is given to Carnegie Mellon University in all documents
|
H A D | pkt_sched.h | 780 TCA_FQ_FLOW_REFILL_DELAY, /* flow credit refill delay in usec */
|
/linux-4.4.14/drivers/hwmon/ |
H A D | max1668.c | 5 * some credit to Christoph Scheurer, but largely a rewrite
|
/linux-4.4.14/drivers/net/wireless/ath/ath9k/ |
H A D | htc_hst.c | 174 dev_err(target->dev, "HTC credit config timeout\n"); htc_config_pipe_credits()
|
/linux-4.4.14/drivers/net/usb/ |
H A D | r8152.c | 2534 /* rx share fifo credit full threshold */ r8152b_exit_oob() 2539 /* rx share fifo credit near full threshold */ r8152b_exit_oob() 2545 /* rx share fifo credit near full threshold */ r8152b_exit_oob() 2552 /* TX share fifo free credit full threshold */ r8152b_exit_oob() 2721 /* rx share fifo credit full threshold */ r8153_first_init() 2725 /* TX share fifo free credit full threshold */ r8153_first_init()
|
H A D | kaweth.c | 11 * Inspired by, and much credit goes to Michael Rothwell
|
/linux-4.4.14/drivers/scsi/cxgbi/cxgb3i/ |
H A D | cxgb3i.c | 303 "csk 0x%p,%u,0x%lx,%u, credit %u, dack %u.\n", send_rx_credits() 308 pr_info("csk 0x%p, credit %u, OOM.\n", csk, credits); send_rx_credits() 326 * Each TX_DATA consumes work request credit (wrs), so we need to keep track of
|
/linux-4.4.14/drivers/scsi/mvsas/ |
H A D | mv_defs.h | 464 CREDIT_TO = (1U << 2), /* credit timeout */
|
/linux-4.4.14/drivers/infiniband/ulp/srpt/ |
H A D | ib_srpt.h | 76 SRP_CRSOLNT = 0x20, /* credit request solicited notification */
|
/linux-4.4.14/drivers/net/ethernet/cavium/liquidio/ |
H A D | octeon_droq.h | 290 /** Pointer to the mapped packet credit register.
|
/linux-4.4.14/drivers/edac/ |
H A D | ghes_edac.c | 479 * there's no reliable way to properly credit each DIMM to ghes_edac_register()
|
/linux-4.4.14/arch/tile/include/hv/ |
H A D | drv_xgbe_impl.h | 239 /** Number of packets left to be received before we send a credit update. */
|
/linux-4.4.14/drivers/staging/netlogic/ |
H A D | xlr_net.c | 48 * fmn.h - For FMN credit configuration and registering fmn_handler. 545 * Distributing Gmac's credit to CPU's xlr_config_common()
|
/linux-4.4.14/drivers/scsi/bfa/ |
H A D | bfa_defs.h | 214 BFA_STATUS_ERR_BBCR_SPEED_UNSUPPORT = 258, /*!< BB credit recovery is 216 BFA_STATUS_ERROR_BBCR_ENABLED = 259, /*!< BB credit recovery
|
H A D | bfa_fc.h | 354 u32 e2e_credit:16; /* end to end credit */
|
H A D | bfa_fcs.h | 192 u16 bb_credit; /* BB credit from fabric */
|
H A D | bfa_defs_svc.h | 1001 bfa_boolean_t bbsc_op_status; /* fc credit recovery oper
|
H A D | bfa_fcs_rport.c | 2569 * sent by the HBA. It uses the correct value (its own BB credit) bfa_fcs_rport_update()
|
/linux-4.4.14/drivers/net/wireless/iwlwifi/mvm/ |
H A D | utils.c | 373 u32 flow_handler; /* FH read/write pointers, RX credit */ 421 u32 flow_handler; /* FH read/write pointers, RX credit */
|
/linux-4.4.14/net/caif/ |
H A D | caif_socket.c | 268 * Copied from unix_dgram_recvmsg, but removed credit checks, 344 * Copied from unix_stream_recvmsg, but removed credit checks,
|
/linux-4.4.14/drivers/net/xen-netback/ |
H A D | netback.c | 680 * Otherwise the interface can seize up due to insufficient credit. tx_add_credit() 684 /* Take care that adding a new chunk of credit doesn't wrap to zero. */ tx_add_credit() 1190 /* Passed the point where we can replenish credit? */ tx_credit_exceeded()
|
H A D | xenbus.c | 108 "Credit timer_pending: %d, credit: %lu, usec: %lu\n" xenvif_read_io_ring()
|
/linux-4.4.14/drivers/char/ |
H A D | random.c | 904 int credit = 0; add_interrupt_randomness() local 939 credit = 1; add_interrupt_randomness() 946 credit_entropy_bits(r, credit + 1); add_interrupt_randomness()
|
/linux-4.4.14/drivers/staging/comedi/drivers/ |
H A D | ni_atmio16d.c | 24 * I must give credit here to Michal Dobes <dobes@tesnet.cz> who
|
H A D | usbduxfast.c | 25 * I must give credit here to Chris Baugher who
|
H A D | usbdux.c | 34 * I must give credit here to Chris Baugher who
|
H A D | usbduxsigma.c | 26 * I must give credit here to Chris Baugher who
|
/linux-4.4.14/drivers/scsi/aic94xx/ |
H A D | aic94xx_sas.h | 652 * - credit blocked or not available, or in the case of SMP request,
|
/linux-4.4.14/drivers/lguest/x86/ |
H A D | switcher_32.S | 296 // These instructions, which I gladly credit:
|
/linux-4.4.14/drivers/net/wireless/iwlwifi/ |
H A D | iwl-fh.h | 413 * not equal to zero. This mean that the credit mechanism was not
|
/linux-4.4.14/drivers/net/ppp/ |
H A D | ppp_mppe.c | 642 /* good packet credit */ mppe_decompress()
|
/linux-4.4.14/drivers/net/ethernet/freescale/ |
H A D | fec.h | 409 * implementation class credit based shapers externally
|
/linux-4.4.14/fs/ocfs2/ |
H A D | journal.h | 551 * credit for the dinode there. */ ocfs2_calc_extend_credits()
|
H A D | xattr.c | 3181 * create a tree, the credit calculation is borrowed from ocfs2_calc_xattr_set_need() 3620 /* we need to update inode's ctime field, so add credit for it. */ ocfs2_xattr_set()
|
/linux-4.4.14/drivers/scsi/csiostor/ |
H A D | csio_wr.c | 298 * Make sure in a FLQ, atleast 1 credit (8 FL buffers) csio_wr_alloc_q() 1234 /* Make sure in FLQ, atleast 1 credit (8 FL buffers) csio_wr_process_iq()
|
/linux-4.4.14/drivers/net/ethernet/intel/i40evf/ |
H A D | i40e_adminq_cmd.h | 1363 __le16 credit; member in struct:i40e_aqc_configure_vsi_bw_limit 1431 __le16 credit; member in struct:i40e_aqc_configure_switching_comp_bw_limit
|
/linux-4.4.14/block/ |
H A D | blk-throttle.c | 560 * credit. throtl_start_new_slice_with_credit() 567 "[%c] new slice with credit start=%lu end=%lu jiffies=%lu", throtl_start_new_slice_with_credit()
|
/linux-4.4.14/drivers/usb/serial/ |
H A D | io_edgeport.c | 640 /* Since we have more credit, check edge_interrupt_callback() 946 /* did we get all of our credit back? */ block_until_chase_response() 1226 dev_dbg(dev, "%s Not enough credit - fifo %d TxCredit %d\n", send_more_port_data()
|
/linux-4.4.14/fs/jbd2/ |
H A D | transaction.c | 546 * a credit for a number of buffer modications in advance, but can 547 * extend its credit if it needs more. 2239 * b_modified and credit accounting gets confused. So clear b_modified journal_unmap_buffer()
|
H A D | commit.c | 998 * credit accounting and refile the buffer to jbd2_journal_commit_transaction()
|
/linux-4.4.14/drivers/staging/lustre/lnet/lnet/ |
H A D | lib-move.c | 779 * \retval EAGAIN If \a msg blocked for credit. 1251 /* No send credit hassles with LOLND */ lnet_send()
|
/linux-4.4.14/drivers/scsi/cxgbi/cxgb4i/ |
H A D | cxgb4i.c | 454 "csk 0x%p,%u,0x%lx,%u, credit %u.\n", send_rx_credits() 459 pr_info("csk 0x%p, credit %u, OOM.\n", csk, credits); send_rx_credits()
|
/linux-4.4.14/drivers/net/ethernet/cavium/thunder/ |
H A D | nic_main.c | 293 lmac_credit = (1ull << 1); /* channel credit enable */ nic_set_lmac_vf_mapping()
|
/linux-4.4.14/arch/alpha/kernel/ |
H A D | err_marvel.c | 453 printk("%s Down hose credit overflow\n", err_print_prefix); marvel_print_po7_err_sum()
|
/linux-4.4.14/arch/sparc/kernel/ |
H A D | smp_64.c | 147 * the ia64 port, see arch/ia64/kernel/smpboot.c for details and credit.
|
/linux-4.4.14/drivers/staging/lustre/lustre/include/ |
H A D | obd.h | 258 long cl_avail_grant; /* bytes of credit for ost */
|
/linux-4.4.14/drivers/net/wireless/iwlegacy/ |
H A D | 4965.h | 1261 * not equal to zero. This mean that the credit mechanism was not
|
/linux-4.4.14/drivers/net/wireless/iwlwifi/pcie/ |
H A D | rx.c | 630 * the credit mechanism in 5000 HW RX FIFO iwl_pcie_rx_hw_init()
|
/linux-4.4.14/drivers/atm/ |
H A D | zatm.c | 43 * - proper use of CDV, credit = max(1,CDVT*PCR)
|
/linux-4.4.14/net/bluetooth/rfcomm/ |
H A D | core.c | 2262 MODULE_PARM_DESC(disable_cfc, "Disable credit based flow control");
|
/linux-4.4.14/drivers/scsi/cxgbi/ |
H A D | libcxgbi.c | 1104 pr_err("csk 0x%p, tid %u, credit %u + %u != %u.\n", cxgbi_sock_check_wr_invariants()
|
/linux-4.4.14/drivers/infiniband/ulp/srp/ |
H A D | ib_srp.c | 1688 * Return an IU and possible credit to the free pool
|
/linux-4.4.14/drivers/net/vmxnet3/ |
H A D | vmxnet3_drv.c | 1761 * Returns the # of the NAPI credit consumed (# of rx descriptors processed)
|
/linux-4.4.14/sound/pci/cs46xx/ |
H A D | cs46xx_lib.c | 25 * FINALLY: A credit to the developers Tom and Jordan
|
/linux-4.4.14/drivers/scsi/ibmvscsi/ |
H A D | ibmvfc.c | 315 { 0x0B, "service parameter error - credit" },
|
/linux-4.4.14/drivers/net/wireless/iwlwifi/dvm/ |
H A D | commands.h | 469 u32 flow_handler; /* FH read/write pointers, RX credit */
|
/linux-4.4.14/drivers/net/ethernet/sun/ |
H A D | cassini.h | 54 * if rx weight == 1 and tx weight == 0, rx == 2x tx transfer credit
|
/linux-4.4.14/drivers/net/ethernet/dec/tulip/ |
H A D | de4x5.c | 347 0.52 26-Apr-97 Some changes may not credit the right people -
|
/linux-4.4.14/kernel/rcu/ |
H A D | tree.c | 1064 * credit them with an implicit quiescent state. Return 1 if this CPU
|
/linux-4.4.14/drivers/scsi/ |
H A D | ncr53c8xx.c | 7265 ** decrement active commands and increment credit, ncr_free_ccb()
|
/linux-4.4.14/drivers/scsi/lpfc/ |
H A D | lpfc_sli.c | 14624 case FC_RCTL_LCR: /* link credit reset */ lpfc_fc_frame_check()
|