Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/infiniband/hw/mlx5/
Dcq.c359 mlx5_frag_buf_free(dev->mdev, &buf->frag_buf); in free_cq_buf()
673 struct mlx5_frag_buf *frag_buf = &buf->frag_buf; in alloc_cq_frag_buf() local
680 frag_buf, in alloc_cq_frag_buf()
685 mlx5_init_fbc(frag_buf->frags, log_wq_stride, log_wq_sz, &buf->fbc); in alloc_cq_frag_buf()
903 cq->buf.frag_buf.npages; in create_cq_kernel()
911 mlx5_fill_page_frag_array(&cq->buf.frag_buf, pas); in create_cq_kernel()
915 cq->buf.frag_buf.page_shift - in create_cq_kernel()
1316 struct mlx5_frag_buf *frag_buf; in mlx5_ib_resize_cq() local
1322 frag_buf = &cq->resize_buf->frag_buf; in mlx5_ib_resize_cq()
1323 npas = frag_buf->npages; in mlx5_ib_resize_cq()
[all …]
Dmlx5_ib.h549 struct mlx5_frag_buf frag_buf; member
/linux-6.6.21/drivers/vdpa/mlx5/net/
Dmlx5_vnet.c52 struct mlx5_frag_buf frag_buf; member
66 struct mlx5_frag_buf frag_buf; member
73 struct mlx5_frag_buf frag_buf; member
289 struct mlx5_frag_buf *frag_buf = &buf->frag_buf; in cq_frag_buf_alloc() local
294 err = mlx5_frag_buf_alloc_node(ndev->mvdev.mdev, nent * MLX5_VDPA_CQE_SIZE, frag_buf, in cq_frag_buf_alloc()
299 mlx5_init_fbc(frag_buf->frags, log_wq_stride, log_wq_sz, &buf->fbc); in cq_frag_buf_alloc()
309 struct mlx5_frag_buf *frag_buf = &umem->frag_buf; in umem_frag_buf_alloc() local
311 return mlx5_frag_buf_alloc_node(ndev->mvdev.mdev, size, frag_buf, in umem_frag_buf_alloc()
317 mlx5_frag_buf_free(ndev->mvdev.mdev, &buf->frag_buf); in cq_frag_buf_free()
380 MLX5_SET(qpc, qpc, log_page_size, vqp->frag_buf.page_shift - MLX5_ADAPTER_PAGE_SHIFT); in qp_prepare()
[all …]
/linux-6.6.21/drivers/net/wireless/ath/ath10k/
Dhtt_rx.c504 struct sk_buff *frag_buf; in ath10k_htt_rx_handle_amsdu_mon_32() local
531 frag_buf = ath10k_htt_rx_pop_paddr(htt, paddr); in ath10k_htt_rx_handle_amsdu_mon_32()
532 if (!frag_buf) { in ath10k_htt_rx_handle_amsdu_mon_32()
537 skb_put(frag_buf, min(amsdu_len, HTT_RX_BUF_SIZE)); in ath10k_htt_rx_handle_amsdu_mon_32()
538 ath10k_htt_append_frag_list(msdu, frag_buf, amsdu_len); in ath10k_htt_rx_handle_amsdu_mon_32()
540 amsdu_len -= frag_buf->len; in ath10k_htt_rx_handle_amsdu_mon_32()
541 prev_frag_buf = frag_buf; in ath10k_htt_rx_handle_amsdu_mon_32()
546 frag_buf = ath10k_htt_rx_pop_paddr(htt, paddr); in ath10k_htt_rx_handle_amsdu_mon_32()
547 if (!frag_buf) { in ath10k_htt_rx_handle_amsdu_mon_32()
554 skb_put(frag_buf, min(amsdu_len, HTT_RX_BUF_SIZE)); in ath10k_htt_rx_handle_amsdu_mon_32()
[all …]
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/
Deq.c289 &eq->frag_buf, dev->priv.numa_node); in create_map_eq()
293 mlx5_init_fbc(eq->frag_buf.frags, log_eq_stride, log_eq_size, &eq->fbc); in create_map_eq()
300 MLX5_FLD_SZ_BYTES(create_eq_in, pas[0]) * eq->frag_buf.npages; in create_map_eq()
309 mlx5_fill_page_frag_array(&eq->frag_buf, pas); in create_map_eq()
324 eq->frag_buf.page_shift - MLX5_ADAPTER_PAGE_SHIFT); in create_map_eq()
350 mlx5_frag_buf_free(dev, &eq->frag_buf); in create_map_eq()
403 mlx5_frag_buf_free(dev, &eq->frag_buf); in destroy_unmap_eq()
/linux-6.6.21/drivers/vfio/pci/mlx5/
Dcmd.c858 struct mlx5_frag_buf *frag_buf = &buf->frag_buf; in alloc_cq_frag_buf() local
863 err = mlx5_frag_buf_alloc_node(mdev, nent * cqe_size, frag_buf, in alloc_cq_frag_buf()
868 mlx5_init_fbc(frag_buf->frags, log_wq_stride, log_wq_sz, &buf->fbc); in alloc_cq_frag_buf()
891 mlx5_frag_buf_free(mdev, &cq->buf.frag_buf); in mlx5vf_destroy_cq()
975 cq->buf.frag_buf.npages; in mlx5vf_create_cq()
991 MLX5_SET(cqc, cqc, log_page_size, cq->buf.frag_buf.page_shift - in mlx5vf_create_cq()
995 mlx5_fill_page_frag_array(&cq->buf.frag_buf, pas); in mlx5vf_create_cq()
1010 mlx5_frag_buf_free(mdev, &cq->buf.frag_buf); in mlx5vf_create_cq()
Dcmd.h111 struct mlx5_frag_buf frag_buf; member
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/lib/
Deq.h26 struct mlx5_frag_buf frag_buf; member
/linux-6.6.21/sound/usb/line6/
Ddriver.c108 const char *frag_buf = buffer + i; in line6_send_raw_message() local
115 (char *)frag_buf, frag_size, in line6_send_raw_message()
120 (char *)frag_buf, frag_size, in line6_send_raw_message()
/linux-6.6.21/drivers/firewire/
Dnet.c354 void *frag_buf, unsigned frag_off, unsigned frag_len) in fwnet_pd_new() argument
376 memcpy(new->pbuf + frag_off, frag_buf, frag_len); in fwnet_pd_new()
415 struct fwnet_partial_datagram *pd, void *frag_buf, in fwnet_pd_update() argument
421 memcpy(pd->pbuf + frag_off, frag_buf, frag_len); in fwnet_pd_update()
/linux-6.6.21/include/linux/mlx5/
Ddriver.h1067 void mlx5_fill_page_frag_array(struct mlx5_frag_buf *frag_buf, __be64 *pas);