Home
last modified time | relevance | path

Searched refs:new_rx (Results 1 – 7 of 7) sorted by relevance

/Linux-v5.10/drivers/net/ethernet/amd/
Dsun3lance.c153 int new_rx, new_tx; /* The next free ring entry */ member
462 lp->new_rx = lp->new_tx = 0; in lance_init_ring()
547 lp->new_rx ); in lance_start_xmit()
774 int entry = lp->new_rx; in lance_rx()
809 lp->new_rx = (lp->new_rx+1) & in lance_rx()
851 entry = lp->new_rx = (lp->new_rx +1) & RX_RING_MOD_MASK; in lance_rx()
/Linux-v5.10/drivers/net/ethernet/google/gve/
Dgve_ethtool.c384 int new_rx = cmd->rx_count; in gve_set_channels() local
392 if (!new_rx || !new_tx) in gve_set_channels()
397 priv->rx_cfg.num_queues = new_rx; in gve_set_channels()
402 new_rx_cfg.num_queues = new_rx; in gve_set_channels()
/Linux-v5.10/drivers/net/usb/
Dcdc_ncm.c133 static void cdc_ncm_update_rxtx_max(struct usbnet *dev, u32 new_rx, u32 new_tx);
149 static u32 cdc_ncm_check_rx_max(struct usbnet *dev, u32 new_rx) in cdc_ncm_check_rx_max() argument
165 val = clamp_t(u32, new_rx, min, max); in cdc_ncm_check_rx_max()
166 if (val != new_rx) in cdc_ncm_check_rx_max()
387 static void cdc_ncm_update_rxtx_max(struct usbnet *dev, u32 new_rx, u32 new_tx) in cdc_ncm_update_rxtx_max() argument
393 val = cdc_ncm_check_rx_max(dev, new_rx); in cdc_ncm_update_rxtx_max()
/Linux-v5.10/drivers/net/ethernet/intel/ice/
Dice_ethtool.c3385 int new_rx = 0, new_tx = 0; in ice_set_channels() local
3421 new_rx = ch->combined_count + ch->rx_count; in ice_set_channels()
3424 if (new_rx > ice_get_max_rxq(pf)) { in ice_set_channels()
3435 ice_vsi_recfg_qs(vsi, new_rx, new_tx); in ice_set_channels()
3437 if (new_rx && !netif_is_rxfh_configured(dev)) in ice_set_channels()
3438 return ice_vsi_set_dflt_rss_lut(vsi, new_rx); in ice_set_channels()
Dice.h571 int ice_vsi_recfg_qs(struct ice_vsi *vsi, int new_rx, int new_tx);
Dice_main.c3552 int ice_vsi_recfg_qs(struct ice_vsi *vsi, int new_rx, int new_tx) in ice_vsi_recfg_qs() argument
3557 if (!new_rx && !new_tx) in ice_vsi_recfg_qs()
3569 if (new_rx) in ice_vsi_recfg_qs()
3570 vsi->req_rxq = (u16)new_rx; in ice_vsi_recfg_qs()
/Linux-v5.10/drivers/net/hyperv/
Dnetvsc_drv.c1865 u32 new_tx, new_rx; in netvsc_set_ringparam() local
1876 new_rx = clamp_t(u32, ring->rx_pending, in netvsc_set_ringparam()
1880 new_rx == orig.rx_pending) in netvsc_set_ringparam()
1889 device_info->recv_sections = new_rx; in netvsc_set_ringparam()