Home
last modified time | relevance | path

Searched refs:rx_pending (Results 1 – 25 of 131) sorted by relevance

123456

/linux/drivers/net/ethernet/sfc/siena/
H A Dethtool.c170 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 Dethtool.c170 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 Def100_ethtool.c33 ring->rx_pending = efx->rxq_entries; in ef100_ethtool_get_ringparam()
/linux/drivers/net/can/flexcan/
H A Dflexcan-ethtool.c31 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/net/ethernet/cisco/enic/
H A Denic_ethtool.c226 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/ethernet/freescale/
H A Ducc_geth_ethtool.c223 ring->rx_pending = ug_info->bdRingLenRx[queue]; in uec_get_ringparam()
239 if (ring->rx_pending < UCC_GETH_RX_BD_RING_SIZE_MIN) { in uec_set_ringparam()
244 if (ring->rx_pending % UCC_GETH_RX_BD_RING_SIZE_ALIGNMENT) { in uec_set_ringparam()
258 ug_info->bdRingLenRx[queue] = ring->rx_pending; in uec_set_ringparam()
/linux/drivers/bluetooth/
H A Dhci_h5.c74 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/drivers/net/can/spi/mcp251xfd/
H A Dmcp251xfd-ethtool.c28 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/net/ethtool/
H A Drings.c82 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/ethernet/microsoft/mana/
H A Dmana_ethtool.c381 ring->rx_pending = apc->rx_queue_size; in mana_get_ringparam()
406 if (ring->rx_pending < MIN_RX_BUFFERS_PER_QUEUE) { in mana_set_ringparam()
407 NL_SET_ERR_MSG_FMT(extack, "rx:%d less than the min:%d", ring->rx_pending, in mana_set_ringparam()
412 new_rx = roundup_pow_of_two(ring->rx_pending); in mana_set_ringparam()
/linux/drivers/net/can/c_can/
H A Dc_can_ethtool.c23 ring->rx_pending = priv->msg_obj_rx_num; in c_can_get_ringparam()
/linux/drivers/net/ethernet/qualcomm/emac/
H A Demac-ethtool.c144 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 Dbnad_ethtool.c417 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/firmware/
H A Darm_scpi.c240 struct list_head rx_pending; member
362 if (list_empty(&ch->rx_pending)) { in scpi_process_cmd()
372 match = list_first_entry(&ch->rx_pending, struct scpi_xfer, in scpi_process_cmd()
376 list_for_each_entry(t, &ch->rx_pending, node) in scpi_process_cmd()
443 list_add_tail(&t->node, &ch->rx_pending); in scpi_tx_prepare()
967 INIT_LIST_HEAD(&pchan->rx_pending); in scpi_probe()
/linux/drivers/usb/isp1760/
H A Disp1760-udc.h46 bool rx_pending; member
/linux/drivers/net/ethernet/qualcomm/
H A Dqca_debug.c244 ring->rx_pending = QCASPI_RX_MAX_FRAMES; in qcaspi_get_ringparam()
255 if (ring->rx_pending != QCASPI_RX_MAX_FRAMES || in qcaspi_set_ringparam()
/linux/drivers/net/ethernet/ti/
H A Dcpsw_ethtool.c670 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 Dxgbe-ethtool.c634 ringparam->rx_pending = pdata->rx_desc_count; in xgbe_get_ringparam()
651 if ((ringparam->rx_pending < XGBE_RX_DESC_CNT_MIN) || in xgbe_set_ringparam()
652 (ringparam->rx_pending > XGBE_RX_DESC_CNT_MAX)) { in xgbe_set_ringparam()
667 rx = __rounddown_pow_of_two(ringparam->rx_pending); in xgbe_set_ringparam()
668 if (rx != ringparam->rx_pending) in xgbe_set_ringparam()
/linux/drivers/net/ethernet/fungible/funeth/
H A Dfuneth_ethtool.c566 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 Dionic_ethtool.c621 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/net/mac80211/
H A Dethtool.c28 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/netdevsim/
H A Dethtool.c84 ns->ethtool.ring.rx_pending = ring->rx_pending; in nsim_set_ringparam()
/linux/drivers/net/ethernet/pasemi/
H A Dpasemi_mac_ethtool.c81 ering->rx_pending = RING_USED(mac->rx)/4; in pasemi_mac_ethtool_get_ringparam()
/linux/drivers/net/ethernet/intel/idpf/
H A Didpf_ethtool.c309 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 Dllcp_core.c168 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()

123456