Searched refs:new_rx (Results 1 – 7 of 7) sorted by relevance
/drivers/net/ethernet/amd/ |
D | sun3lance.c | 153 int new_rx, new_tx; /* The next free ring entry */ member 458 lp->new_rx = lp->new_tx = 0; in lance_init_ring() 543 lp->new_rx ); in lance_start_xmit() 770 int entry = lp->new_rx; in lance_rx() 805 lp->new_rx = (lp->new_rx+1) & in lance_rx() 847 entry = lp->new_rx = (lp->new_rx +1) & RX_RING_MOD_MASK; in lance_rx()
|
/drivers/net/ethernet/google/gve/ |
D | gve_ethtool.c | 395 int new_rx = cmd->rx_count; in gve_set_channels() local 403 if (!new_rx || !new_tx) in gve_set_channels() 408 priv->rx_cfg.num_queues = new_rx; in gve_set_channels() 413 new_rx_cfg.num_queues = new_rx; in gve_set_channels()
|
/drivers/net/usb/ |
D | cdc_ncm.c | 133 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() 404 static void cdc_ncm_update_rxtx_max(struct usbnet *dev, u32 new_rx, u32 new_tx) in cdc_ncm_update_rxtx_max() argument 410 val = cdc_ncm_check_rx_max(dev, new_rx); in cdc_ncm_update_rxtx_max()
|
/drivers/net/ethernet/intel/ice/ |
D | ice_ethtool.c | 3395 int new_rx = 0, new_tx = 0; in ice_set_channels() local 3433 new_rx = ch->combined_count + ch->rx_count; in ice_set_channels() 3436 if (new_rx > ice_get_max_rxq(pf)) { in ice_set_channels() 3458 ice_vsi_recfg_qs(vsi, new_rx, new_tx, locked); in ice_set_channels() 3461 ret = ice_vsi_set_dflt_rss_lut(vsi, new_rx); in ice_set_channels() 3466 vsi->rss_size = ice_get_valid_rss_size(&pf->hw, new_rx); in ice_set_channels()
|
D | ice.h | 645 int ice_vsi_recfg_qs(struct ice_vsi *vsi, int new_rx, int new_tx, bool locked);
|
D | ice_main.c | 3784 int ice_vsi_recfg_qs(struct ice_vsi *vsi, int new_rx, int new_tx, bool locked) in ice_vsi_recfg_qs() argument 3789 if (!new_rx && !new_tx) in ice_vsi_recfg_qs() 3801 if (new_rx) in ice_vsi_recfg_qs() 3802 vsi->req_rxq = (u16)new_rx; in ice_vsi_recfg_qs()
|
/drivers/net/hyperv/ |
D | netvsc_drv.c | 1881 u32 new_tx, new_rx; in netvsc_set_ringparam() local 1892 new_rx = clamp_t(u32, ring->rx_pending, in netvsc_set_ringparam() 1896 new_rx == orig.rx_pending) in netvsc_set_ringparam() 1905 device_info->recv_sections = new_rx; in netvsc_set_ringparam()
|