Searched refs:max_frags (Results 1 – 12 of 12) sorted by relevance
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | xsk.c | 65 u32 max_frags, umem_tailroom, cache_line_size; in test_xsk() local 92 max_frags = read_procfs_val(MAX_SKB_FRAGS_PATH); in test_xsk() 93 if (!max_frags) in test_xsk() 94 max_frags = 17; in test_xsk() 96 ifobj_tx->max_skb_frags = max_frags; in test_xsk() 97 ifobj_rx->max_skb_frags = max_frags; in test_xsk() 102 umem_tailroom = ALIGN(48 + (max_frags * 16), cache_line_size); in test_xsk()
|
| H A D | test_xsk.c | 2265 u32 max_frags, i; in testapp_too_many_frags() local 2269 max_frags = test->ifobj_tx->xdp_zc_max_segs; in testapp_too_many_frags() 2271 max_frags = test->ifobj_tx->max_skb_frags; in testapp_too_many_frags() 2272 max_frags += 1; in testapp_too_many_frags() 2275 pkts = calloc(2 * max_frags + 3, sizeof(struct pkt)); in testapp_too_many_frags() 2286 for (i = 1; i < max_frags + 1; i++) { in testapp_too_many_frags() 2291 pkts[max_frags].options = 0; in testapp_too_many_frags() 2294 for (i = max_frags + 1; i < 2 * max_frags + 2; i++) { in testapp_too_many_frags() 2299 pkts[2 * max_frags + 1].options = 0; in testapp_too_many_frags() 2302 pkts[2 * max_frags + 2].len = MIN_PKT_SIZE; in testapp_too_many_frags() [all …]
|
| /linux/tools/testing/selftests/bpf/ |
| H A D | xskxceiver.c | 337 u32 cache_line_size, max_frags, umem_tailroom; in main() local 365 max_frags = read_procfs_val(MAX_SKB_FRAGS_PATH); in main() 366 if (!max_frags) { in main() 368 max_frags = 17; in main() 370 ifobj_tx->max_skb_frags = max_frags; in main() 371 ifobj_rx->max_skb_frags = max_frags; in main() 376 umem_tailroom = ALIGN(48 + (max_frags * 16), cache_line_size); in main()
|
| /linux/drivers/net/ethernet/freescale/enetc/ |
| H A D | enetc_vf.c | 260 priv->max_frags = si->drvdata->max_frags; in enetc_vf_netdev_setup()
|
| H A D | enetc_pf_common.c | 210 priv->max_frags = si->drvdata->max_frags; in enetc_pf_netdev_setup()
|
| /linux/drivers/net/wireless/intel/iwlwifi/fw/api/ |
| H A D | time-event.h | 226 u8 max_frags; member
|
| /linux/drivers/net/wireless/intel/iwlwifi/mvm/ |
| H A D | time-event.c | 688 time_cmd.max_frags = TE_V2_FRAG_NONE; in iwl_mvm_protect_session() 1206 time_cmd.max_frags = min(MSEC_TO_TU(duration)/50, TE_V2_FRAG_ENDLESS); in iwl_mvm_start_p2p_roc() 1378 time_cmd.max_frags = TE_V2_FRAG_NONE; in iwl_mvm_schedule_csa_period()
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/ |
| H A D | en.h | 602 u16 max_frags; member
|
| H A D | en_rx.c | 307 if (likely(li->frag_page.frags < li->max_frags)) in mlx5e_mpwqe_linear_page_refill() 747 li->frag_page.frags = li->max_frags; in mlx5e_mpwqe_dealloc_linear_page()
|
| H A D | en_main.c | 399 li->max_frags = linear_frag_count; in mlx5e_rq_alloc_mpwqe_linear_info() 403 li->frag_page.frags = li->max_frags; in mlx5e_rq_alloc_mpwqe_linear_info()
|
| /linux/net/mac80211/ |
| H A D | tx.c | 3486 int max_frags = local->hw.max_tx_fragments; in ieee80211_amsdu_aggregate() local 3556 if (max_frags && nfrags > max_frags) in ieee80211_amsdu_aggregate()
|
| /linux/net/core/ |
| H A D | skbuff.c | 4635 int offset, size_t size, size_t max_frags) in skb_append_pagefrags() 4641 } else if (i < max_frags) { 4622 skb_append_pagefrags(struct sk_buff * skb,struct page * page,int offset,size_t size,size_t max_frags) skb_append_pagefrags() argument
|