/linux/drivers/net/ethernet/sfc/siena/ |
H A D | ethtool.c | 170 ring->rx_pending = efx->rxq_entries; in efx_ethtool_get_ringparam() 184 ring->rx_pending > EFX_MAX_DMAQ_SIZE || in efx_ethtool_set_ringparam() 188 if (ring->rx_pending < EFX_RXQ_MIN_ENT) { in efx_ethtool_set_ringparam() 201 return efx_siena_realloc_channels(efx, ring->rx_pending, txq_entries); in efx_ethtool_set_ringparam()
|
/linux/drivers/net/ethernet/sfc/ |
H A D | ethtool.c | 170 ring->rx_pending = efx->rxq_entries; in efx_ethtool_get_ringparam() 184 ring->rx_pending > EFX_MAX_DMAQ_SIZE || in efx_ethtool_set_ringparam() 188 if (ring->rx_pending < EFX_RXQ_MIN_ENT) { in efx_ethtool_set_ringparam() 201 return efx_realloc_channels(efx, ring->rx_pending, txq_entries); in efx_ethtool_set_ringparam()
|
H A D | ef100_ethtool.c | 33 ring->rx_pending = efx->rxq_entries; in ef100_ethtool_get_ringparam()
|
/linux/drivers/net/ethernet/cisco/enic/ |
H A D | enic_ethtool.c | 226 ring->rx_pending = c->rq_desc_count; in enic_get_ringparam() 239 unsigned int rx_pending; in enic_set_ringparam() local 253 rx_pending = c->rq_desc_count; in enic_set_ringparam() 255 if (ring->rx_pending > ENIC_MAX_RQ_DESCS || in enic_set_ringparam() 256 ring->rx_pending < ENIC_MIN_RQ_DESCS) { in enic_set_ringparam() 258 ring->rx_pending, ENIC_MIN_RQ_DESCS, in enic_set_ringparam() 272 ring->rx_pending & 0xffffffe0; /* must be aligned to groups of 32 */ in enic_set_ringparam() 291 c->rq_desc_count = rx_pending; in enic_set_ringparam()
|
/linux/drivers/net/can/flexcan/ |
H A D | flexcan-ethtool.c | 31 ring->rx_pending = priv->offload.mb_last - in flexcan_get_ringparam() 34 ring->rx_pending = 6; /* RX-FIFO depth is fixed */ in flexcan_get_ringparam()
|
/linux/drivers/bluetooth/ |
H A D | hci_h5.c | 74 size_t rx_pending; /* Expecting more bytes */ member 440 h5->rx_pending = 2; in h5_rx_payload() 481 h5->rx_pending = H5_HDR_LEN(hdr); in h5_rx_3wire_hdr() 494 h5->rx_pending = 4; in h5_rx_pkt_start() 544 h5->rx_pending--; in h5_unslip_one_byte() 546 BT_DBG("unslipped 0x%02hhx, rx_pending %zu", *byte, h5->rx_pending); in h5_unslip_one_byte() 557 h5->rx_pending = 0; in h5_reset_rx() 566 BT_DBG("%s pending %zu count %d", hu->hdev->name, h5->rx_pending, in h5_recv() 572 if (h5->rx_pending > 0) { in h5_recv()
|
/linux/net/ethtool/ |
H A D | rings.c | 82 ringparam->rx_pending))) || in rings_fill_reply() 207 ethnl_update_u32(&ringparam.rx_pending, tb[ETHTOOL_A_RINGS_RX], &mod); in ethnl_set_rings() 229 if (ringparam.rx_pending > ringparam.rx_max_pending) in ethnl_set_rings()
|
/linux/drivers/net/can/spi/mcp251xfd/ |
H A D | mcp251xfd-ethtool.c | 28 ring->rx_pending = priv->rx_obj_num; in mcp251xfd_ring_get_ringparam() 94 .rx_pending = priv->rx_obj_num, in mcp251xfd_ring_set_coalesce()
|
/linux/drivers/net/ethernet/microsoft/mana/ |
H A D | mana_ethtool.c | 362 ring->rx_pending = apc->rx_queue_size; in mana_get_ringparam() 387 if (ring->rx_pending < MIN_RX_BUFFERS_PER_QUEUE) { in mana_set_ringparam() 388 NL_SET_ERR_MSG_FMT(extack, "rx:%d less than the min:%d", ring->rx_pending, in mana_set_ringparam() 393 new_rx = roundup_pow_of_two(ring->rx_pending); in mana_set_ringparam()
|
/linux/drivers/net/ethernet/qualcomm/emac/ |
H A D | emac-ethtool.c | 144 ring->rx_pending = adpt->rx_desc_cnt; in emac_get_ringparam() 165 clamp_val(ring->rx_pending, EMAC_MIN_RX_DESCS, EMAC_MAX_RX_DESCS); in emac_set_ringparam()
|
/linux/drivers/net/ethernet/brocade/bna/ |
H A D | bnad_ethtool.c | 417 ringparam->rx_pending = bnad->rxq_depth; in bnad_get_ringparam() 432 if (ringparam->rx_pending == bnad->rxq_depth && in bnad_set_ringparam() 438 if (ringparam->rx_pending < BNAD_MIN_Q_DEPTH || in bnad_set_ringparam() 439 ringparam->rx_pending > BNAD_MAX_RXQ_DEPTH || in bnad_set_ringparam() 440 !is_power_of_2(ringparam->rx_pending)) { in bnad_set_ringparam() 451 if (ringparam->rx_pending != bnad->rxq_depth) { in bnad_set_ringparam() 452 bnad->rxq_depth = ringparam->rx_pending; in bnad_set_ringparam()
|
/linux/drivers/net/can/c_can/ |
H A D | c_can_ethtool.c | 23 ring->rx_pending = priv->msg_obj_rx_num; in c_can_get_ringparam()
|
/linux/drivers/net/ethernet/ti/ |
H A D | cpsw_ethtool.c | 670 ering->rx_pending = cpdma_get_num_rx_descs(cpsw->dma); in cpsw_get_ringparam() 684 ering->rx_pending < CPSW_MAX_QUEUES || in cpsw_set_ringparam() 685 ering->rx_pending > (cpsw->descs_pool_size - CPSW_MAX_QUEUES)) in cpsw_set_ringparam() 689 if (ering->rx_pending == descs_num) in cpsw_set_ringparam() 694 ret = cpdma_set_num_rx_descs(cpsw->dma, ering->rx_pending); in cpsw_set_ringparam()
|
/linux/drivers/net/ethernet/amd/xgbe/ |
H A D | xgbe-ethtool.c | 630 ringparam->rx_pending = pdata->rx_desc_count; in xgbe_get_ringparam() 647 if ((ringparam->rx_pending < XGBE_RX_DESC_CNT_MIN) || in xgbe_set_ringparam() 648 (ringparam->rx_pending > XGBE_RX_DESC_CNT_MAX)) { in xgbe_set_ringparam() 663 rx = __rounddown_pow_of_two(ringparam->rx_pending); in xgbe_set_ringparam() 664 if (rx != ringparam->rx_pending) in xgbe_set_ringparam()
|
/linux/drivers/net/ethernet/fungible/funeth/ |
H A D | funeth_ethtool.c | 566 ring->rx_pending = fp->rq_depth; in fun_get_ringparam() 585 if (!is_power_of_2(ring->rx_pending) || in fun_set_ringparam() 589 if (ring->rx_pending < FUNETH_MIN_QDEPTH || in fun_set_ringparam() 594 fp->rq_depth == ring->rx_pending) in fun_set_ringparam() 599 .cq_depth = 2 * ring->rx_pending, in fun_set_ringparam() 600 .rq_depth = ring->rx_pending, in fun_set_ringparam() 610 fp->rq_depth = ring->rx_pending; in fun_set_ringparam()
|
/linux/drivers/net/ethernet/pensando/ionic/ |
H A D | ionic_ethtool.c | 621 ring->rx_pending = lif->nrxq_descs; in ionic_get_ringparam() 646 !is_power_of_2(ring->rx_pending)) { in ionic_set_ringparam() 653 ring->rx_pending == lif->nrxq_descs && in ionic_set_ringparam() 659 qparam.nrxq_descs = ring->rx_pending; in ionic_set_ringparam() 679 if (ring->rx_pending != lif->nrxq_descs) in ionic_set_ringparam() 681 lif->nrxq_descs, ring->rx_pending); in ionic_set_ringparam() 686 lif->nrxq_descs = ring->rx_pending; in ionic_set_ringparam()
|
/linux/drivers/usb/isp1760/ |
H A D | isp1760-udc.h | 46 bool rx_pending; member
|
/linux/net/mac80211/ |
H A D | ethtool.c | 28 ret = drv_set_ringparam(local, rp->tx_pending, rp->rx_pending); in ieee80211_set_ringparam() 45 &rp->rx_pending, &rp->rx_max_pending); in ieee80211_get_ringparam()
|
/linux/drivers/net/ethernet/pasemi/ |
H A D | pasemi_mac_ethtool.c | 81 ering->rx_pending = RING_USED(mac->rx)/4; in pasemi_mac_ethtool_get_ringparam()
|
/linux/drivers/net/ethernet/intel/idpf/ |
H A D | idpf_ethtool.c | 309 ring->rx_pending = vport->rxq_desc_count; in idpf_get_ringparam() 351 if (ring->rx_pending < IDPF_MIN_RXQ_DESC) { in idpf_set_ringparam() 353 ring->rx_pending, in idpf_set_ringparam() 359 new_rx_count = ALIGN(ring->rx_pending, IDPF_REQ_RXQ_DESC_MULTIPLE); in idpf_set_ringparam() 360 if (new_rx_count != ring->rx_pending) in idpf_set_ringparam()
|
/linux/net/nfc/ |
H A D | llcp_core.c | 168 kfree_skb(local->rx_pending); in local_cleanup() 169 local->rx_pending = NULL; in local_cleanup() 1519 skb = local->rx_pending; in nfc_llcp_rx_work() 1532 kfree_skb(local->rx_pending); in nfc_llcp_rx_work() 1533 local->rx_pending = NULL; in nfc_llcp_rx_work() 1538 local->rx_pending = skb; in __nfc_llcp_recv() 1642 local->rx_pending = NULL; in nfc_llcp_register_device()
|
/linux/drivers/net/wireless/marvell/mwifiex/ |
H A D | main.c | 189 atomic_dec(&adapter->rx_pending); in mwifiex_process_rx() 192 (atomic_read(&adapter->rx_pending) < LOW_RX_PENDING)) { in mwifiex_process_rx() 275 if (atomic_read(&adapter->rx_pending) >= HIGH_RX_PENDING && in mwifiex_main_process() 1161 atomic_read(&adapter->rx_pending)); in mwifiex_drv_info_dump() 1485 if (atomic_read(&adapter->rx_pending) || in mwifiex_uninit_sw() 1491 atomic_read(&adapter->rx_pending), in mwifiex_uninit_sw()
|
/linux/drivers/net/ethernet/broadcom/ |
H A D | b44.c | 1120 for (i = 0; i < bp->rx_pending; i++) { in b44_init_rings() 1414 bw32(bp, B44_DMARX_PTR, bp->rx_pending); in b44_init_hw() 1415 bp->rx_prod = bp->rx_pending; in b44_init_hw() 1947 ering->rx_pending = bp->rx_pending; in b44_get_ringparam() 1959 if ((ering->rx_pending > B44_RX_RING_SIZE - 1) || in b44_set_ringparam() 1967 bp->rx_pending = ering->rx_pending; in b44_set_ringparam() 2352 bp->rx_pending = B44_DEF_RX_RING_PENDING; in b44_init_one()
|
/linux/drivers/net/ethernet/intel/igbvf/ |
H A D | ethtool.c | 188 ring->rx_pending = rx_ring->count; in igbvf_get_ringparam() 205 new_rx_count = max_t(u32, ring->rx_pending, IGBVF_MIN_RXD); in igbvf_set_ringparam()
|
/linux/drivers/net/ethernet/mellanox/mlxbf_gige/ |
H A D | mlxbf_gige_ethtool.c | 44 ering->rx_pending = priv->rx_q_entries; in mlxbf_gige_get_ringparam()
|