Home
last modified time | relevance | path

Searched refs:frag_buf (Results 1 – 7 of 7) sorted by relevance

/drivers/infiniband/hw/mlx5/
Dcq.c353 mlx5_frag_buf_free(dev->mdev, &buf->frag_buf); in free_cq_buf()
663 struct mlx5_frag_buf *frag_buf = &buf->frag_buf; in alloc_cq_frag_buf() local
670 frag_buf, in alloc_cq_frag_buf()
675 mlx5_init_fbc(frag_buf->frags, log_wq_stride, log_wq_sz, &buf->fbc); in alloc_cq_frag_buf()
893 cq->buf.frag_buf.npages; in create_cq_kernel()
901 mlx5_fill_page_frag_array(&cq->buf.frag_buf, pas); in create_cq_kernel()
905 cq->buf.frag_buf.page_shift - in create_cq_kernel()
1306 struct mlx5_frag_buf *frag_buf; in mlx5_ib_resize_cq() local
1312 frag_buf = &cq->resize_buf->frag_buf; in mlx5_ib_resize_cq()
1313 npas = frag_buf->npages; in mlx5_ib_resize_cq()
[all …]
Dmlx5_ib.h526 struct mlx5_frag_buf frag_buf; member
/drivers/vdpa/mlx5/net/
Dmlx5_vnet.c60 struct mlx5_frag_buf frag_buf; member
74 struct mlx5_frag_buf frag_buf; member
81 struct mlx5_frag_buf frag_buf; member
323 struct mlx5_frag_buf *frag_buf = &buf->frag_buf; in cq_frag_buf_alloc() local
328 err = mlx5_frag_buf_alloc_node(ndev->mvdev.mdev, nent * MLX5_VDPA_CQE_SIZE, frag_buf, in cq_frag_buf_alloc()
333 mlx5_init_fbc(frag_buf->frags, log_wq_stride, log_wq_sz, &buf->fbc); in cq_frag_buf_alloc()
343 struct mlx5_frag_buf *frag_buf = &umem->frag_buf; in umem_frag_buf_alloc() local
345 return mlx5_frag_buf_alloc_node(ndev->mvdev.mdev, size, frag_buf, in umem_frag_buf_alloc()
351 mlx5_frag_buf_free(ndev->mvdev.mdev, &buf->frag_buf); in cq_frag_buf_free()
414 MLX5_SET(qpc, qpc, log_page_size, vqp->frag_buf.page_shift - MLX5_ADAPTER_PAGE_SHIFT); in qp_prepare()
[all …]
/drivers/net/ethernet/mellanox/mlx5/core/
Deq.c284 &eq->frag_buf, dev->priv.numa_node); in create_map_eq()
288 mlx5_init_fbc(eq->frag_buf.frags, log_eq_stride, log_eq_size, &eq->fbc); in create_map_eq()
299 MLX5_FLD_SZ_BYTES(create_eq_in, pas[0]) * eq->frag_buf.npages; in create_map_eq()
308 mlx5_fill_page_frag_array(&eq->frag_buf, pas); in create_map_eq()
323 eq->frag_buf.page_shift - MLX5_ADAPTER_PAGE_SHIFT); in create_map_eq()
351 mlx5_frag_buf_free(dev, &eq->frag_buf); in create_map_eq()
405 mlx5_frag_buf_free(dev, &eq->frag_buf); in destroy_unmap_eq()
/drivers/net/wireless/ath/ath10k/
Dhtt_rx.c484 struct sk_buff *frag_buf; in ath10k_htt_rx_handle_amsdu_mon_32() local
511 frag_buf = ath10k_htt_rx_pop_paddr(htt, paddr); in ath10k_htt_rx_handle_amsdu_mon_32()
512 if (!frag_buf) { in ath10k_htt_rx_handle_amsdu_mon_32()
517 skb_put(frag_buf, min(amsdu_len, HTT_RX_BUF_SIZE)); in ath10k_htt_rx_handle_amsdu_mon_32()
518 ath10k_htt_append_frag_list(msdu, frag_buf, amsdu_len); in ath10k_htt_rx_handle_amsdu_mon_32()
520 amsdu_len -= frag_buf->len; in ath10k_htt_rx_handle_amsdu_mon_32()
521 prev_frag_buf = frag_buf; in ath10k_htt_rx_handle_amsdu_mon_32()
526 frag_buf = ath10k_htt_rx_pop_paddr(htt, paddr); in ath10k_htt_rx_handle_amsdu_mon_32()
527 if (!frag_buf) { in ath10k_htt_rx_handle_amsdu_mon_32()
534 skb_put(frag_buf, min(amsdu_len, HTT_RX_BUF_SIZE)); in ath10k_htt_rx_handle_amsdu_mon_32()
[all …]
/drivers/net/ethernet/mellanox/mlx5/core/lib/
Deq.h26 struct mlx5_frag_buf frag_buf; member
/drivers/firewire/
Dnet.c363 void *frag_buf, unsigned frag_off, unsigned frag_len) in fwnet_pd_new() argument
385 memcpy(new->pbuf + frag_off, frag_buf, frag_len); in fwnet_pd_new()
424 struct fwnet_partial_datagram *pd, void *frag_buf, in fwnet_pd_update() argument
430 memcpy(pd->pbuf + frag_off, frag_buf, frag_len); in fwnet_pd_update()