| /linux/drivers/net/wireless/ralink/rt2x00/ |
| H A D | rt2x00mmio.c | 55 int max_rx = 16; in rt2x00mmio_rxdone() local 57 while (--max_rx) { in rt2x00mmio_rxdone() 84 return !max_rx; in rt2x00mmio_rxdone()
|
| /linux/net/ethtool/ |
| H A D | channels.c | 64 if ((channels->max_rx && in channels_fill_reply() 66 channels->max_rx) || in channels_fill_reply() 137 if (channels.rx_count > channels.max_rx) in ethnl_set_channels()
|
| H A D | ioctl.c | 2270 if (channels.rx_count > curr.max_rx || in ethtool_set_pauseparam()
|
| /linux/drivers/net/can/spi/mcp251xfd/ |
| H A D | mcp251xfd-ram.c | 92 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 D | mcp251xfd-ram.h | 46 u8 max_rx; member
|
| H A D | mcp251xfd-ethtool.c | 25 ring->rx_max_pending = layout.max_rx; in mcp251xfd_ring_get_ringparam()
|
| /linux/drivers/net/wireless/intersil/p54/ |
| H A D | lmac.h | 299 __le16 max_rx; member 306 __le16 max_rx; member
|
| /linux/drivers/net/ethernet/synopsys/ |
| H A D | dwc-xlgmac-ethtool.c | 143 channel->max_rx = XLGMAC_MAX_DMA_CHANNELS; in xlgmac_ethtool_get_channels()
|
| /linux/drivers/net/ethernet/ti/icssg/ |
| H A D | icssg_ethtool.c | 162 ch->max_rx = 1; in emac_get_channels()
|
| /linux/drivers/net/ethernet/freescale/dpaa2/ |
| H A D | dpaa2-ethtool.c | 920 channels->max_rx = queue_count; in dpaa2_eth_get_channels() 927 channels->max_combined = channels->max_rx + in dpaa2_eth_get_channels()
|
| /linux/drivers/s390/net/ |
| H A D | qeth_ethtool.c | 204 channels->max_rx = dev->num_rx_queues; in qeth_get_channels()
|
| /linux/drivers/net/ethernet/samsung/sxgbe/ |
| H A D | sxgbe_ethtool.c | 248 channel->max_rx = SXGBE_MAX_RX_CHANNELS; in sxgbe_get_channels()
|
| /linux/drivers/net/ethernet/cisco/enic/ |
| H A D | enic_ethtool.c | 660 channels->max_rx = min(enic->rq_avail, ENIC_RQ_MAX); in enic_get_channels()
|
| /linux/drivers/net/ethernet/broadcom/bnxt/ |
| H A D | bnxt.c | 14611 static void _bnxt_get_max_rings(struct bnxt *bp, int *max_rx, int *max_tx, 14618 int max_rx, max_tx, max_cp, tx_sets = 1, tx_cp; in bnxt_check_rings() local 14626 _bnxt_get_max_rings(bp, &max_rx, &max_tx, &max_cp); in bnxt_check_rings() 14628 if (max_rx < rx_rings) in bnxt_check_rings() 16281 static void _bnxt_get_max_rings(struct bnxt *bp, int *max_rx, int *max_tx, in _bnxt_get_max_rings() argument 16288 *max_rx = hw_resc->max_rx_rings; in _bnxt_get_max_rings() 16299 *max_rx -= 2; in _bnxt_get_max_rings() 16302 *max_rx >>= 1; in _bnxt_get_max_rings() 16306 rc = __bnxt_trim_rings(bp, max_rx, max_tx, *max_cp, false); in _bnxt_get_max_rings() 16308 *max_rx = 0; in _bnxt_get_max_rings() [all …]
|
| /linux/drivers/net/ethernet/cavium/liquidio/ |
| H A D | lio_ethtool.c | 503 u32 max_rx = 0, max_tx = 0, tx_count = 0, rx_count = 0; in lio_ethtool_get_channels() local 509 max_rx = CFG_GET_OQ_MAX_Q(conf6x); in lio_ethtool_get_channels() 533 channel->max_rx = max_rx; in lio_ethtool_get_channels()
|
| /linux/include/uapi/linux/ |
| H A D | ethtool.h | 539 * @max_rx: Read only. Maximum number of receive channel the driver support. 544 * @rx_count: Valid values are in the range 1 to the max_rx. 554 __u32 max_rx; member
|
| /linux/drivers/net/ethernet/meta/fbnic/ |
| H A D | fbnic_ethtool.c | 1481 ch->max_rx = fbd->max_num_queues; in fbnic_get_channels() 1483 ch->max_combined = min(ch->max_rx, ch->max_tx); in fbnic_get_channels()
|
| /linux/drivers/net/ethernet/cavium/thunder/ |
| H A D | nicvf_ethtool.c | 706 channel->max_rx = nic->max_queues; in nicvf_get_channels()
|
| /linux/drivers/net/ethernet/google/gve/ |
| H A D | gve_ethtool.c | 467 cmd->max_rx = priv->rx_cfg.max_queues; in gve_get_channels()
|
| /linux/drivers/net/ethernet/hisilicon/hns/ |
| H A D | hns_ethtool.c | 831 ch->max_rx = priv->ae_handle->q_num; in hns_get_channels()
|
| /linux/drivers/net/ethernet/emulex/benet/ |
| H A D | be_ethtool.c | 1226 ch->max_rx = be_max_rx_irqs(adapter) - 1; in be_get_channels()
|
| /linux/drivers/net/vmxnet3/ |
| H A D | vmxnet3_ethtool.c | 1315 ec->max_rx = ec->rx_count; in vmxnet3_get_channels()
|
| /linux/drivers/net/ |
| H A D | veth.c | 254 channels->max_rx = dev->num_rx_queues; in veth_get_channels()
|
| /linux/drivers/net/ethernet/qlogic/qede/ |
| H A D | qede_ethtool.c | 1058 channels->max_rx = QEDE_MAX_RSS_CNT(edev); in qede_get_channels()
|
| /linux/drivers/net/ethernet/ibm/ |
| H A D | ibmveth.c | 1113 channels->max_rx = netdev->real_num_rx_queues; in ibmveth_get_channels()
|