Home
last modified time | relevance | path

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

/linux-6.15/net/ethtool/
H A Drings.c44 data->kernel_ringparam.hds_thresh = dev->cfg->hds_thresh; in rings_prepare_data()
122 kr->hds_thresh) || in rings_fill_reply()
247 ethnl_update_u32(&kernel_ringparam.hds_thresh, in ethnl_set_rings()
266 } else if (kernel_ringparam.hds_thresh) { in ethnl_set_rings()
282 else if (kernel_ringparam.hds_thresh > kernel_ringparam.hds_thresh_max) in ethnl_set_rings()
301 dev->cfg_pending->hds_thresh = kernel_ringparam.hds_thresh; in ethnl_set_rings()
H A Dcommon.c833 kparam->hds_thresh = dev->cfg->hds_thresh; in ethtool_ringparam_get_cfg()
/linux-6.15/tools/testing/selftests/drivers/net/
H A Dhds.py125 hds_thresh = 1
128 hds_thresh = random.randint(1, rings['hds-thresh-max'] - 1)
129 if hds_thresh != rings['hds-thresh']:
133 netnl.rings_set({'header': {'dev-index': cfg.ifindex}, 'hds-thresh': hds_thresh})
140 ksft_eq(hds_thresh, rings['hds-thresh'])
/linux-6.15/include/net/
H A Dnetdev_queues.h13 u32 hds_thresh; member
/linux-6.15/net/core/
H A Dnetdev_rx_queue.c112 if (dev->cfg->hds_thresh) { in __net_mp_open_rxq()
/linux-6.15/include/linux/
H A Dethtool.h93 u32 hds_thresh; member
/linux-6.15/drivers/net/netdevsim/
H A Dnetdev.c84 cfg->hds_thresh > len))) in nsim_start_xmit()
/linux-6.15/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt.c4654 bp->dev->cfg->hds_thresh = max(BNXT_DEFAULT_RX_COPYBREAK, rx_size); in bnxt_init_ring_params()
4717 bp->dev->cfg_pending->hds_thresh); in bnxt_set_ring_params()
6634 u16 hds_thresh = (u16)bp->dev->cfg_pending->hds_thresh; in bnxt_hwrm_vnic_set_hds() local
6651 req->hds_threshold = cpu_to_le16(hds_thresh); in bnxt_hwrm_vnic_set_hds()