Searched refs:hds_thresh (Results 1 – 10 of 10) sorted by relevance
| /linux/tools/testing/selftests/drivers/net/ |
| H A D | hds.py | 162 hds_thresh = 1 165 hds_thresh = random.randint(1, rings['hds-thresh-max'] - 1) 166 if hds_thresh != rings['hds-thresh']: 170 netnl.rings_set({'header': {'dev-index': cfg.ifindex}, 'hds-thresh': hds_thresh}) 177 ksft_eq(hds_thresh, rings['hds-thresh'])
|
| H A D | xdp.py | 498 hds_thresh = 1500 503 ksft_pr(f'hds-thresh not supported. Using default: {hds_thresh}') 504 return hds_thresh 505 hds_thresh = rings['hds-thresh'] 507 ksft_pr(f"Failed to get rings: {e}. Using default: {hds_thresh}") 509 return hds_thresh 531 hds_thresh = get_hds_thresh(cfg) 539 if pkt_sz > hds_thresh and offset > l2_cut_off: 541 f"Failed run: pkt_sz ({pkt_sz}) > HDS threshold ({hds_thresh}) and "
|
| /linux/tools/testing/selftests/drivers/net/hw/ |
| H A D | iou-zcrx.py | 70 hds_thresh = rings.get('hds-thresh', 0) 78 'hds-thresh': hds_thresh, 98 hds_thresh = rings.get('hds-thresh', 0) 106 'hds-thresh': hds_thresh,
|
| H A D | ncdevmem.c | 470 if (config->_present.hds_thresh) in restore_ring_config() 471 ethtool_rings_set_req_set_hds_thresh(req, config->hds_thresh); in restore_ring_config() 519 if (old->_present.hds_thresh) in configure_headersplit()
|
| /linux/drivers/net/ethernet/meta/fbnic/ |
| H A D | fbnic_netdev.c | 280 if (fbnic_check_split_frames(fbn->xdp_prog, new_mtu, fbn->hds_thresh)) { in fbnic_change_mtu() 283 new_mtu, fbn->hds_thresh); in fbnic_change_mtu() 526 u32 hds_thresh) in fbnic_check_split_frames() 534 return mtu + ETH_HLEN > hds_thresh; in fbnic_bpf() 546 fbn->hds_thresh)) { in fbnic_bpf() 780 /* Initialize the hds_thresh */ in fbnic_netdev_alloc() 781 netdev->cfg->hds_thresh = FBNIC_HDS_THRESH_DEFAULT; in fbnic_netdev_alloc() 782 fbn->hds_thresh = FBNIC_HDS_THRESH_DEFAULT; in fbnic_netdev_alloc() 519 fbnic_check_split_frames(struct bpf_prog * prog,unsigned int mtu,u32 hds_thresh) fbnic_check_split_frames() argument
|
| H A D | fbnic_txrx.c | 2619 hds = fbn->hds_thresh < FBNIC_HDR_BYTES_MIN; in fbnic_config_drop_mode() 2680 u32 hds_thresh; in fbnic_enable_rcq() local 2686 hdr_split = fbn->hds_thresh < FBNIC_HDR_BYTES_MIN; in fbnic_enable_rcq() 2689 hds_thresh = max(fbn->hds_thresh, FBNIC_HDR_BYTES_MIN); in fbnic_enable_rcq() 2691 FIELD_PREP(FBNIC_QUEUE_RDE_CTL1_MAX_HDR_MASK, hds_thresh) | in fbnic_enable_rcq()
|
| /linux/net/core/ |
| H A D | netdev_rx_queue.c | 203 if (dev->cfg->hds_thresh) { in __netif_mp_open_rxq()
|
| /linux/drivers/net/netdevsim/ |
| H A D | netdev.c | 163 cfg->hds_thresh > len))) in nsim_start_xmit()
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/ |
| H A D | en_ethtool.c | 379 kernel_param->hds_thresh = 0; in mlx5e_get_ringparam()
|
| /linux/drivers/net/ethernet/broadcom/bnxt/ |
| H A D | bnxt.c | 4859 bp->dev->cfg->hds_thresh = max(BNXT_MIN_RX_HDR_BUF, rx_size); in bnxt_set_ring_params() 4922 bp->dev->cfg_pending->hds_thresh); in bnxt_set_ring_params() 6847 u16 hds_thresh = (u16)bp->dev->cfg_pending->hds_thresh; in bnxt_hwrm_vnic_set_hds() 6864 req->hds_threshold = cpu_to_le16(hds_thresh); in bnxt_hwrm_vnic_ctx_free_one() 6841 u16 hds_thresh = (u16)bp->dev->cfg_pending->hds_thresh; bnxt_hwrm_vnic_set_hds() local
|