Home
last modified time | relevance | path

Searched refs:new_tx (Results 1 – 8 of 8) sorted by relevance

/linux-6.1.9/drivers/net/ethernet/amd/
Dsun3lance.c153 int new_rx, new_tx; /* The next free ring entry */ member
456 lp->new_rx = lp->new_tx = 0; in lance_init_ring()
539 lp->old_tx, lp->new_tx, in lance_start_xmit()
597 dev->name, lp->new_tx, ((u_short *)skb->data)[6], in lance_start_xmit()
607 entry = lp->new_tx; in lance_start_xmit()
627 lp->new_tx = (lp->new_tx + 1) & TX_RING_MOD_MASK; in lance_start_xmit()
685 while( old_tx != lp->new_tx) { in lance_interrupt()
812 dev->name, lp->new_tx, ((u_short *)data)[6], in lance_rx()
/linux-6.1.9/drivers/net/ethernet/google/gve/
Dgve_ethtool.c401 int new_tx = cmd->tx_count; in gve_set_channels() local
410 if (!new_rx || !new_tx) in gve_set_channels()
414 priv->tx_cfg.num_queues = new_tx; in gve_set_channels()
419 new_tx_cfg.num_queues = new_tx; in gve_set_channels()
/linux-6.1.9/drivers/net/usb/
Dcdc_ncm.c133 static void cdc_ncm_update_rxtx_max(struct usbnet *dev, u32 new_rx, u32 new_tx);
172 static u32 cdc_ncm_check_tx_max(struct usbnet *dev, u32 new_tx) in cdc_ncm_check_tx_max() argument
190 val = clamp_t(u32, new_tx, min, max); in cdc_ncm_check_tx_max()
191 if (val != new_tx) in cdc_ncm_check_tx_max()
401 static void cdc_ncm_update_rxtx_max(struct usbnet *dev, u32 new_rx, u32 new_tx) in cdc_ncm_update_rxtx_max() argument
432 val = cdc_ncm_check_tx_max(dev, new_tx); in cdc_ncm_update_rxtx_max()
/linux-6.1.9/drivers/atm/
Deni.c1295 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-6.1.9/drivers/net/hyperv/
Dnetvsc_drv.c1857 u32 new_tx, new_rx; in netvsc_set_ringparam() local
1866 new_tx = clamp_t(u32, ring->tx_pending, in netvsc_set_ringparam()
1871 if (new_tx == orig.tx_pending && in netvsc_set_ringparam()
1880 device_info->send_sections = new_tx; in netvsc_set_ringparam()
/linux-6.1.9/drivers/net/ethernet/intel/ice/
Dice_ethtool.c3474 int new_rx = 0, new_tx = 0; in ice_set_channels() local
3516 new_tx = ch->combined_count + ch->tx_count; in ice_set_channels()
3523 if (new_tx < vsi->tc_cfg.numtc) { in ice_set_channels()
3533 if (new_tx > ice_get_max_txq(pf)) { in ice_set_channels()
3539 ice_vsi_recfg_qs(vsi, new_rx, new_tx); in ice_set_channels()
Dice.h859 int ice_vsi_recfg_qs(struct ice_vsi *vsi, int new_rx, int new_tx);
Dice_main.c4200 int ice_vsi_recfg_qs(struct ice_vsi *vsi, int new_rx, int new_tx) in ice_vsi_recfg_qs() argument
4205 if (!new_rx && !new_tx) in ice_vsi_recfg_qs()
4215 if (new_tx) in ice_vsi_recfg_qs()
4216 vsi->req_txq = (u16)new_tx; in ice_vsi_recfg_qs()