Searched refs:new_tx (Results 1 – 8 of 8) sorted by relevance
/Linux-v6.6/drivers/net/ethernet/amd/ |
D | sun3lance.c | 153 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-v6.6/drivers/net/ethernet/google/gve/ |
D | gve_ethtool.c | 442 int new_tx = cmd->tx_count; in gve_set_channels() local 451 if (!new_rx || !new_tx) in gve_set_channels() 455 (new_tx != new_rx || (2 * new_tx > priv->tx_cfg.max_queues))) { in gve_set_channels() 461 priv->tx_cfg.num_queues = new_tx; in gve_set_channels() 466 new_tx_cfg.num_queues = new_tx; in gve_set_channels()
|
/Linux-v6.6/drivers/net/usb/ |
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 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-v6.6/drivers/atm/ |
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-v6.6/drivers/net/hyperv/ |
D | netvsc_drv.c | 1859 u32 new_tx, new_rx; in netvsc_set_ringparam() local 1868 new_tx = clamp_t(u32, ring->tx_pending, in netvsc_set_ringparam() 1873 if (new_tx == orig.tx_pending && in netvsc_set_ringparam() 1882 device_info->send_sections = new_tx; in netvsc_set_ringparam()
|
/Linux-v6.6/drivers/net/ethernet/intel/ice/ |
D | ice_ethtool.c | 3430 int new_rx = 0, new_tx = 0; in ice_set_channels() local 3474 new_tx = ch->combined_count + ch->tx_count; in ice_set_channels() 3481 if (new_tx < vsi->tc_cfg.numtc) { in ice_set_channels() 3491 if (new_tx > ice_get_max_txq(pf)) { in ice_set_channels() 3508 ice_vsi_recfg_qs(vsi, new_rx, new_tx, locked); in ice_set_channels()
|
D | ice.h | 874 int ice_vsi_recfg_qs(struct ice_vsi *vsi, int new_rx, int new_tx, bool locked);
|
D | ice_main.c | 3956 int ice_vsi_recfg_qs(struct ice_vsi *vsi, int new_rx, int new_tx, bool locked) in ice_vsi_recfg_qs() argument 3961 if (!new_rx && !new_tx) in ice_vsi_recfg_qs() 3971 if (new_tx) in ice_vsi_recfg_qs() 3972 vsi->req_txq = (u16)new_tx; in ice_vsi_recfg_qs()
|