/linux/drivers/net/ethernet/amd/ |
H A D | sun3lance.c | 154 int new_rx, new_tx; /* The next free ring entry */ member 457 lp->new_rx = lp->new_tx = 0; in lance_init_ring() 539 printk("Ring data: old_tx %d new_tx %d%s new_rx %d\n", in lance_start_xmit() 540 lp->old_tx, lp->new_tx, in lance_start_xmit() 598 dev->name, lp->new_tx, ((u_short *)skb->data)[6], in lance_start_xmit() 608 entry = lp->new_tx; in lance_start_xmit() 628 lp->new_tx = (lp->new_tx + 1) & TX_RING_MOD_MASK; in lance_start_xmit() 686 while( old_tx != lp->new_tx) { in lance_interrupt() 813 dev->name, lp->new_tx, ((u_shor in lance_rx() [all...] |
/linux/drivers/net/ethernet/microsoft/mana/ |
H A D | mana_ethtool.c | 442 u32 new_tx, new_rx; in mana_set_ringparam() local 462 new_tx = roundup_pow_of_two(ring->tx_pending); in mana_set_ringparam() 464 new_tx, new_rx); in mana_set_ringparam() 481 apc->tx_queue_size = new_tx; in mana_set_ringparam()
|
/linux/drivers/net/ethernet/google/gve/ |
H A D | gve_ethtool.c | 484 int new_tx = cmd->tx_count; in gve_set_channels() local 494 if (!new_rx || !new_tx) in gve_set_channels() 498 if (new_tx != new_rx || in gve_set_channels() 499 (2 * new_tx > priv->tx_cfg.max_queues)) { in gve_set_channels() 514 new_tx_cfg.num_queues = new_tx; in gve_set_channels()
|
/linux/drivers/net/usb/ |
H A D | cdc_ncm.c | 134 static void cdc_ncm_update_rxtx_max(struct usbnet *dev, u32 new_rx, u32 new_tx); 173 static u32 cdc_ncm_check_tx_max(struct usbnet *dev, u32 new_tx) in cdc_ncm_check_tx_max() argument 178 /* clamp new_tx to sane values */ in cdc_ncm_check_tx_max() 194 val = clamp_t(u32, new_tx, min, max); in cdc_ncm_check_tx_max() 195 if (val != new_tx) in cdc_ncm_check_tx_max() 405 static void cdc_ncm_update_rxtx_max(struct usbnet *dev, u32 new_rx, u32 new_tx) in cdc_ncm_update_rxtx_max() argument 436 val = cdc_ncm_check_tx_max(dev, new_tx); in cdc_ncm_update_rxtx_max()
|
/linux/drivers/atm/ |
H A D | eni.c | 1295 int rate,ubr,unlimited,new_tx; in reserve_or_set_tx() local 1317 new_tx = !eni_vcc->tx; in reserve_or_set_tx() 1319 if (!new_tx) tx = eni_vcc->tx; in reserve_or_set_tx() 1351 if (new_tx) { in reserve_or_set_tx() 1363 if (set_shp || (unlimited && new_tx)) { in reserve_or_set_tx() 1364 if (unlimited && new_tx) eni_dev->ubr = tx; in reserve_or_set_tx()
|
/linux/drivers/net/hyperv/ |
H A D | netvsc_drv.c | 1824 u32 new_tx, new_rx; in netvsc_set_ringparam() local 1833 new_tx = clamp_t(u32, ring->tx_pending, in netvsc_set_ringparam() 1838 if (new_tx == orig.tx_pending && in netvsc_set_ringparam() 1847 device_info->send_sections = new_tx; in netvsc_set_ringparam()
|
/linux/drivers/net/ethernet/intel/ice/ |
H A D | ice_ethtool.c | 3880 int new_rx = 0, new_tx = 0; in ice_set_channels() local 3909 new_tx = ch->combined_count + ch->tx_count; in ice_set_channels() 3916 if (new_tx < vsi->tc_cfg.numtc) { in ice_set_channels() 3926 if (new_tx > ice_get_max_txq(pf)) { in ice_set_channels() 3943 ice_vsi_recfg_qs(vsi, new_rx, new_tx, locked); in ice_set_channels()
|
H A D | ice.h | 926 int ice_vsi_recfg_qs(struct ice_vsi *vsi, int new_rx, int new_tx, bool locked);
|
H A D | ice_main.c | 4125 * @new_tx: new number of Tx queues 4128 * Only change the number of queues if new_tx, or new_rx is non-0. 4132 int ice_vsi_recfg_qs(struct ice_vsi *vsi, int new_rx, int new_tx, bool locked) in ice_vsi_recfg_qs() argument 4137 if (!new_rx && !new_tx) in ice_vsi_recfg_qs() 4147 if (new_tx) in ice_vsi_recfg_qs() 4148 vsi->req_txq = (u16)new_tx; in ice_vsi_recfg_qs()
|