Home
last modified time | relevance | path

Searched refs:skb_frag_size (Results 1 – 25 of 179) sorted by relevance

12345678

/Linux-v6.6/net/tls/
Dtls_strp.c57 skb_frag_size(frag))); in tls_strp_skb_copy()
58 offset += skb_frag_size(frag); in tls_strp_skb_copy()
223 chunk = min_t(size_t, len, PAGE_SIZE - skb_frag_size(frag)); in tls_strp_copyin_frag()
226 skb_frag_size(frag), in tls_strp_copyin_frag()
261 chunk = min_t(size_t, chunk, PAGE_SIZE - skb_frag_size(frag)); in tls_strp_copyin_frag()
264 skb_frag_size(frag), in tls_strp_copyin_frag()
Dtls_device_fallback.c288 skb_frag_size(frag), skb_frag_off(frag)); in fill_sg_in()
290 remaining -= skb_frag_size(frag); in fill_sg_in()
/Linux-v6.6/net/core/
Dtso.c57 tso->size = skb_frag_size(frag); in tso_build_data()
83 tso->size = skb_frag_size(frag); in tso_start()
Dskbuff.c1230 skb_frag_size(frag), p, p_off, p_len, in skb_dump()
1840 skb_frag_foreach_page(f, skb_frag_off(f), skb_frag_size(f), in skb_copy_ubufs()
2528 int end = offset + skb_frag_size(&skb_shinfo(skb)->frags[i]); in ___pskb_trim()
2667 int size = skb_frag_size(&skb_shinfo(skb)->frags[i]); in __pskb_pull_tail()
2735 int size = skb_frag_size(&skb_shinfo(skb)->frags[i]); in __pskb_pull_tail()
2808 end = start + skb_frag_size(f); in skb_copy_bits()
2994 skb_frag_off(f), skb_frag_size(f), in __skb_splice_bits()
3109 if (offset < skb_frag_size(frag)) in __skb_send_sock()
3112 offset -= skb_frag_size(frag); in __skb_send_sock()
3118 slen = min_t(size_t, len, skb_frag_size(frag) - offset); in __skb_send_sock()
[all …]
Ddatagram.c435 end = start + skb_frag_size(frag); in __skb_datagram_iter()
567 end = start + skb_frag_size(frag); in skb_copy_datagram_from_iter()
672 start == skb_frag_off(last) + skb_frag_size(last)) { in __zerocopy_sg_from_iter()
Dgro.c384 skb_frag_size(frag0), in skb_gro_reset_offset()
403 if (unlikely(!skb_frag_size(&pinfo->frags[0]))) { in gro_pull_from_frag0()
/Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/en/
Dxdp.c139 len = skb_frag_size(frag); in mlx5e_xmit_xdp_buff()
429 tmp.len = skb_frag_size(frag); in mlx5e_xmit_xdp_frame_mpwqe()
583 dseg->byte_count = cpu_to_be32(skb_frag_size(frag)); in mlx5e_xmit_xdp_frame()
644 skb_frag_size(frag), DMA_TO_DEVICE); in mlx5e_free_xdpsq_desc()
829 skb_frag_size(frag), DMA_TO_DEVICE); in mlx5e_xdp_xmit()
836 skb_frag_size(&xdptxdf.sinfo->frags[j]), in mlx5e_xdp_xmit()
853 skb_frag_size(&xdptxdf.sinfo->frags[j]), in mlx5e_xdp_xmit()
/Linux-v6.6/drivers/net/ethernet/sfc/
Dtx_tso.c212 skb_frag_size(frag), DMA_TO_DEVICE); in tso_get_fragment()
214 st->unmap_len = skb_frag_size(frag); in tso_get_fragment()
215 st->in_len = skb_frag_size(frag); in tso_get_fragment()
/Linux-v6.6/drivers/net/ethernet/netronome/nfp/nfdk/
Drings.c44 size = skb_frag_size(frag); in nfp_nfdk_tx_ring_reset()
46 skb_frag_size(frag), DMA_TO_DEVICE); in nfp_nfdk_tx_ring_reset()
Ddp.c132 n_descs += DIV_ROUND_UP(skb_frag_size(frag), in nfp_nfdk_tx_maybe_close_block()
370 dma_len = skb_frag_size(frag); in nfp_nfdk_tx()
447 skb_frag_size(frag), DMA_TO_DEVICE); in nfp_nfdk_tx()
518 size = skb_frag_size(frag); in nfp_nfdk_tx_complete()
522 skb_frag_size(frag), DMA_TO_DEVICE); in nfp_nfdk_tx_complete()
/Linux-v6.6/drivers/net/ethernet/intel/iavf/
Diavf_txrx.c2199 sum += skb_frag_size(frag++); in __iavf_chk_linearize()
2200 sum += skb_frag_size(frag++); in __iavf_chk_linearize()
2201 sum += skb_frag_size(frag++); in __iavf_chk_linearize()
2202 sum += skb_frag_size(frag++); in __iavf_chk_linearize()
2203 sum += skb_frag_size(frag++); in __iavf_chk_linearize()
2209 int stale_size = skb_frag_size(stale); in __iavf_chk_linearize()
2211 sum += skb_frag_size(frag++); in __iavf_chk_linearize()
2352 size = skb_frag_size(frag); in iavf_tx_map()
Diavf_txrx.h474 size = skb_frag_size(frag++); in iavf_xmit_descriptor_count()
/Linux-v6.6/drivers/net/ethernet/intel/ice/
Dice_txrx.c1725 size = skb_frag_size(frag); in ice_tx_map()
2180 size = skb_frag_size(frag++); in ice_xmit_desc_count()
2224 sum += skb_frag_size(frag++); in __ice_chk_linearize()
2225 sum += skb_frag_size(frag++); in __ice_chk_linearize()
2226 sum += skb_frag_size(frag++); in __ice_chk_linearize()
2227 sum += skb_frag_size(frag++); in __ice_chk_linearize()
2228 sum += skb_frag_size(frag++); in __ice_chk_linearize()
2234 int stale_size = skb_frag_size(stale); in __ice_chk_linearize()
2236 sum += skb_frag_size(frag++); in __ice_chk_linearize()
Dice_xsk.c601 memcpy(addr, skb_frag_page(frag), skb_frag_size(frag)); in ice_construct_skb_zc()
604 addr, 0, skb_frag_size(frag)); in ice_construct_skb_zc()
738 size = skb_frag_size(&sinfo->frags[frag]); in ice_xmit_xdp_tx_zc()
/Linux-v6.6/drivers/net/ethernet/aeroflex/
Dgreth.c113 skb_frag_size(&skb_shinfo(skb)->frags[i]), true); in greth_print_tx_packet()
203 skb_frag_size(frag), in greth_clean_rings()
526 status |= skb_frag_size(frag) & GRETH_BD_LEN; in greth_start_xmit_gbit()
540 dma_addr = skb_frag_dma_map(greth->dev, frag, 0, skb_frag_size(frag), in greth_start_xmit_gbit()
720 skb_frag_size(frag), in greth_clean_tx_gbit()
/Linux-v6.6/drivers/net/ethernet/chelsio/cxgb4vf/
Dsge.c290 *++addr = skb_frag_dma_map(dev, fp, 0, skb_frag_size(fp), in map_skb()
299 dma_unmap_page(dev, *--addr, skb_frag_size(fp), DMA_TO_DEVICE); in map_skb()
917 sgl->len0 = htonl(skb_frag_size(&si->frags[0])); in write_sgl()
933 to->len[0] = cpu_to_be32(skb_frag_size(&si->frags[i])); in write_sgl()
934 to->len[1] = cpu_to_be32(skb_frag_size(&si->frags[++i])); in write_sgl()
939 to->len[0] = cpu_to_be32(skb_frag_size(&si->frags[i])); in write_sgl()
/Linux-v6.6/drivers/net/ethernet/intel/i40e/
Di40e_txrx.c3531 sum += skb_frag_size(frag++); in __i40e_chk_linearize()
3532 sum += skb_frag_size(frag++); in __i40e_chk_linearize()
3533 sum += skb_frag_size(frag++); in __i40e_chk_linearize()
3534 sum += skb_frag_size(frag++); in __i40e_chk_linearize()
3535 sum += skb_frag_size(frag++); in __i40e_chk_linearize()
3541 int stale_size = skb_frag_size(stale); in __i40e_chk_linearize()
3543 sum += skb_frag_size(frag++); in __i40e_chk_linearize()
3666 size = skb_frag_size(frag); in i40e_tx_map()
3842 size = skb_frag_size(&sinfo->frags[i]); in i40e_xmit_xdp_ring()
Di40e_xsk.c337 memcpy(addr, skb_frag_page(frag), skb_frag_size(frag)); in i40e_construct_skb_zc()
340 addr, 0, skb_frag_size(frag)); in i40e_construct_skb_zc()
Di40e_txrx.h513 size = skb_frag_size(frag++); in i40e_xmit_descriptor_count()
/Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
Dktls_tx.c664 remaining -= skb_frag_size(frag); in tx_sync_info_get()
738 fsz = skb_frag_size(frag); in tx_post_resync_dump()
795 orig_fsz = skb_frag_size(f); in mlx5e_ktls_tx_handle_ooo()
/Linux-v6.6/drivers/net/ethernet/netronome/nfp/nfd3/
Drings.c66 skb_frag_size(frag), DMA_TO_DEVICE); in nfp_nfd3_tx_ring_reset()
/Linux-v6.6/drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/
Dchcr_ktls.c40 frag_size = skb_frag_size(frag); in chcr_get_nfrags_to_send()
45 frag_size = skb_frag_size(frag); in chcr_get_nfrags_to_send()
47 frag_size = min(len, skb_frag_size(frag) - start); in chcr_get_nfrags_to_send()
53 frag_size = min(len, skb_frag_size(&si->frags[frag_idx])); in chcr_get_nfrags_to_send()
1846 frag_size = skb_frag_size(&record->frags[i]); in chcr_short_record_handler()
1854 frag_delta = skb_frag_size(f) - remaining; in chcr_short_record_handler()
/Linux-v6.6/drivers/infiniband/hw/hfi1/
Dvnic_sdma.c70 skb_frag_size(frag), in build_vnic_ulp_payload()
/Linux-v6.6/drivers/net/wireless/intel/iwlwifi/pcie/
Dtx.c1257 if (!skb_frag_size(frag)) in iwl_fill_data_tbs()
1261 skb_frag_size(frag), DMA_TO_DEVICE); in iwl_fill_data_tbs()
1266 tb_phys, skb_frag_size(frag)); in iwl_fill_data_tbs()
1268 skb_frag_size(frag), false); in iwl_fill_data_tbs()
/Linux-v6.6/drivers/net/ethernet/mellanox/mlx4/
Den_tx.c710 skb_frag_size(&shinfo->frags[0])); in build_inline_wqe()
731 skb_frag_size(&shinfo->frags[0])); in build_inline_wqe()
827 byte_count = skb_frag_size(frag); in mlx4_en_build_dma_wqe()

12345678