Home
last modified time | relevance | path

Searched refs:max_rx (Results 1 – 25 of 43) sorted by relevance

12

/openbmc/linux/drivers/net/wireless/ralink/rt2x00/
H A Drt2x00mmio.c55 int max_rx = 16; in rt2x00mmio_rxdone() local
57 while (--max_rx) { in rt2x00mmio_rxdone()
84 return !max_rx; in rt2x00mmio_rxdone()
/openbmc/linux/net/ethtool/
H A Dchannels.c64 if ((channels->max_rx && in channels_fill_reply()
66 channels->max_rx) || in channels_fill_reply()
138 if (channels.rx_count > channels.max_rx) in ethnl_set_channels()
/openbmc/linux/tools/include/uapi/linux/
H A Dethtool.h41 __u32 max_rx; member
/openbmc/linux/drivers/net/can/spi/mcp251xfd/
H A Dmcp251xfd-ram.c92 layout->max_rx = can_ram_rounddown_pow_of_two(config, &config->rx, 0, num_rx); in can_ram_get_layout()
106 if (num_rx > layout->max_rx) in can_ram_get_layout()
H A Dmcp251xfd-ram.h46 u8 max_rx; member
H A Dmcp251xfd-ethtool.c25 ring->rx_max_pending = layout.max_rx; in mcp251xfd_ring_get_ringparam()
/openbmc/linux/drivers/net/wireless/intersil/p54/
H A Dlmac.h299 __le16 max_rx; member
306 __le16 max_rx; member
H A Dfwio.c365 setup->v1.max_rx = cpu_to_le16(priv->rx_mtu); in p54_setup_mac()
371 setup->v2.max_rx = cpu_to_le16(priv->rx_mtu); in p54_setup_mac()
/openbmc/linux/drivers/net/ethernet/ti/icssg/
H A Dicssg_ethtool.c153 ch->max_rx = 1; in emac_get_channels()
/openbmc/linux/drivers/net/ethernet/synopsys/
H A Ddwc-xlgmac-ethtool.c143 channel->max_rx = XLGMAC_MAX_DMA_CHANNELS; in xlgmac_ethtool_get_channels()
/openbmc/linux/drivers/spi/
H A Dspi.c1275 unsigned int max_tx, max_rx; in spi_map_msg() local
1280 max_rx = 0; in spi_map_msg()
1288 max_rx = max(xfer->len, max_rx); in spi_map_msg()
1299 if (max_rx) { in spi_map_msg()
1300 tmp = krealloc(ctlr->dummy_rx, max_rx, in spi_map_msg()
1307 if (max_tx || max_rx) { in spi_map_msg()
/openbmc/linux/drivers/net/ethernet/freescale/dpaa2/
H A Ddpaa2-ethtool.c915 channels->max_rx = queue_count; in dpaa2_eth_get_channels()
922 channels->max_combined = channels->max_rx + in dpaa2_eth_get_channels()
/openbmc/linux/drivers/net/ethernet/samsung/sxgbe/
H A Dsxgbe_ethtool.c250 channel->max_rx = SXGBE_MAX_RX_CHANNELS; in sxgbe_get_channels()
/openbmc/linux/drivers/s390/net/
H A Dqeth_ethtool.c204 channels->max_rx = dev->num_rx_queues; in qeth_get_channels()
/openbmc/linux/tools/testing/selftests/bpf/
H A Dxdp_hw_metadata.c293 __u32 max_rx; member
/openbmc/linux/drivers/net/ethernet/google/gve/
H A Dgve_ethtool.c425 cmd->max_rx = priv->rx_cfg.max_queues; in gve_get_channels()
/openbmc/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt.c12164 int max_rx, max_tx, tx_sets = 1; in bnxt_check_rings() local
12172 rc = bnxt_get_max_rings(bp, &max_rx, &max_tx, sh); in bnxt_check_rings()
12176 if (max_rx < rx) in bnxt_check_rings()
13303 *max_rx = hw_resc->max_rx_rings; in _bnxt_get_max_rings()
13313 *max_rx -= 2; in _bnxt_get_max_rings()
13316 *max_rx >>= 1; in _bnxt_get_max_rings()
13318 bnxt_trim_rings(bp, max_rx, max_tx, *max_cp, false); in _bnxt_get_max_rings()
13322 *max_rx = min_t(int, *max_rx, max_ring_grps); in _bnxt_get_max_rings()
13330 *max_rx = rx; in bnxt_get_max_rings()
13343 rc = bnxt_get_max_rings(bp, max_rx, max_tx, shared); in bnxt_get_dflt_rings()
[all …]
/openbmc/linux/drivers/net/ethernet/cavium/liquidio/
H A Dlio_ethtool.c501 u32 max_rx = 0, max_tx = 0, tx_count = 0, rx_count = 0; in lio_ethtool_get_channels() local
507 max_rx = CFG_GET_OQ_MAX_Q(conf6x); in lio_ethtool_get_channels()
531 channel->max_rx = max_rx; in lio_ethtool_get_channels()
/openbmc/linux/include/uapi/linux/
H A Dethtool.h554 __u32 max_rx; member
/openbmc/linux/drivers/net/ethernet/amd/xgbe/
H A Dxgbe-ethtool.c716 channels->max_rx = rx ? rx - 1 : 0; in xgbe_get_channels()
/openbmc/linux/drivers/net/ethernet/ti/
H A Dam65-cpsw-ethtool.c429 ch->max_rx = AM65_CPSW_MAX_RX_QUEUES; in am65_cpsw_get_channels()
H A Dcpsw_ethtool.c388 ch->max_rx = cpsw->quirk_irq ? 1 : CPSW_MAX_QUEUES; in cpsw_get_channels()
/openbmc/qemu/include/standard-headers/linux/
H A Dethtool.h554 uint32_t max_rx; member
/openbmc/linux/drivers/net/ethernet/netronome/nfp/
H A Dnfp_net_ethtool.c1820 channel->max_rx = min(nn->max_rx_rings, nn->max_r_vecs); in nfp_net_get_channels()
1822 channel->max_combined = min(channel->max_rx, channel->max_tx); in nfp_net_get_channels()
/openbmc/linux/drivers/net/ethernet/cavium/thunder/
H A Dnicvf_ethtool.c715 channel->max_rx = nic->max_queues; in nicvf_get_channels()

12