/linux/drivers/net/wireless/ralink/rt2x00/ |
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/ |
A D | channels.c | 64 if ((channels->max_rx && in channels_fill_reply() 66 channels->max_rx) || in channels_fill_reply() 158 if (channels.rx_count > channels.max_rx) in ethnl_set_channels()
|
/linux/tools/include/uapi/linux/ |
A D | ethtool.h | 41 __u32 max_rx; member
|
/linux/drivers/net/wireless/intersil/p54/ |
A D | lmac.h | 299 __le16 max_rx; member 306 __le16 max_rx; member
|
A D | fwio.c | 367 setup->v1.max_rx = cpu_to_le16(priv->rx_mtu); in p54_setup_mac() 373 setup->v2.max_rx = cpu_to_le16(priv->rx_mtu); in p54_setup_mac()
|
/linux/drivers/net/ethernet/synopsys/ |
A D | dwc-xlgmac-ethtool.c | 143 channel->max_rx = XLGMAC_MAX_DMA_CHANNELS; in xlgmac_ethtool_get_channels()
|
/linux/drivers/spi/ |
A D | spi.c | 1212 unsigned int max_tx, max_rx; in spi_map_msg() local 1217 max_rx = 0; in spi_map_msg() 1225 max_rx = max(xfer->len, max_rx); in spi_map_msg() 1237 if (max_rx) { in spi_map_msg() 1238 tmp = krealloc(ctlr->dummy_rx, max_rx, in spi_map_msg() 1245 if (max_tx || max_rx) { in spi_map_msg()
|
/linux/drivers/net/ethernet/samsung/sxgbe/ |
A D | sxgbe_ethtool.c | 250 channel->max_rx = SXGBE_MAX_RX_CHANNELS; in sxgbe_get_channels()
|
/linux/drivers/s390/net/ |
A D | qeth_ethtool.c | 202 channels->max_rx = dev->num_rx_queues; in qeth_get_channels()
|
/linux/drivers/net/ethernet/google/gve/ |
A D | gve_ethtool.c | 380 cmd->max_rx = priv->rx_cfg.max_queues; in gve_get_channels()
|
/linux/drivers/net/ethernet/netronome/nfp/ |
A D | nfp_net_ethtool.c | 1404 channel->max_rx = min(nn->max_rx_rings, nn->max_r_vecs); in nfp_net_get_channels() 1406 channel->max_combined = min(channel->max_rx, channel->max_tx); in nfp_net_get_channels()
|
/linux/drivers/net/ethernet/broadcom/bnxt/ |
A D | bnxt.c | 11815 int max_rx, max_tx, tx_sets = 1; in bnxt_check_rings() local 11823 rc = bnxt_get_max_rings(bp, &max_rx, &max_tx, sh); in bnxt_check_rings() 11827 if (max_rx < rx) in bnxt_check_rings() 12953 *max_rx = hw_resc->max_rx_rings; in _bnxt_get_max_rings() 12963 *max_rx -= 2; in _bnxt_get_max_rings() 12966 *max_rx >>= 1; in _bnxt_get_max_rings() 12968 bnxt_trim_rings(bp, max_rx, max_tx, *max_cp, false); in _bnxt_get_max_rings() 12972 *max_rx = min_t(int, *max_rx, max_ring_grps); in _bnxt_get_max_rings() 12980 *max_rx = rx; in bnxt_get_max_rings() 12993 rc = bnxt_get_max_rings(bp, max_rx, max_tx, shared); in bnxt_get_dflt_rings() [all …]
|
/linux/include/uapi/linux/ |
A D | ethtool.h | 555 __u32 max_rx; member
|
/linux/drivers/net/ethernet/cavium/liquidio/ |
A D | lio_ethtool.c | 501 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()
|
/linux/drivers/net/ethernet/amd/xgbe/ |
A D | xgbe-ethtool.c | 706 channels->max_rx = rx ? rx - 1 : 0; in xgbe_get_channels()
|
/linux/drivers/net/ethernet/ti/ |
A D | cpsw_ethtool.c | 390 ch->max_rx = cpsw->quirk_irq ? 1 : CPSW_MAX_QUEUES; in cpsw_get_channels()
|
A D | am65-cpsw-ethtool.c | 431 ch->max_rx = AM65_CPSW_MAX_RX_QUEUES; in am65_cpsw_get_channels()
|
/linux/drivers/net/ethernet/cavium/thunder/ |
A D | nicvf_ethtool.c | 711 channel->max_rx = nic->max_queues; in nicvf_get_channels()
|
/linux/drivers/net/ethernet/pensando/ionic/ |
A D | ionic_ethtool.c | 587 ch->max_rx = lif->ionic->ntxqs_per_lif / 2; in ionic_get_channels()
|
/linux/drivers/net/ethernet/hisilicon/hns/ |
A D | hns_ethtool.c | 830 ch->max_rx = priv->ae_handle->q_num; in hns_get_channels()
|
/linux/tools/lib/bpf/ |
A D | xsk.c | 574 ret = max(channels.max_rx, channels.max_tx); in xsk_get_max_queues()
|
/linux/drivers/net/ethernet/stmicro/stmmac/ |
A D | stmmac_ethtool.c | 1053 chan->max_rx = priv->dma_cap.number_rx_queues; in stmmac_get_channels()
|
/linux/drivers/net/ethernet/marvell/octeontx2/nic/ |
A D | otx2_ethtool.c | 272 channel->max_rx = pfvf->hw.max_queues; in otx2_get_channels()
|
/linux/drivers/net/ethernet/emulex/benet/ |
A D | be_ethtool.c | 1231 ch->max_rx = be_max_rx_irqs(adapter) - 1; in be_get_channels()
|
/linux/drivers/net/ethernet/intel/ice/ |
A D | ice_ethtool.c | 3323 ch->max_rx = ice_get_max_rxq(pf); in ice_get_channels() 3325 ch->max_combined = min_t(int, ch->max_rx, ch->max_tx); in ice_get_channels()
|