/linux-6.1.9/drivers/net/wireless/intel/iwlwifi/ |
D | iwl-dbg-tlv.c | 393 for (i = 0; i < fw_mon->num_frags; i++) { in iwl_dbg_tlv_fragments_free() 406 fw_mon->num_frags = 0; in iwl_dbg_tlv_fragments_free() 573 u32 num_frags, remain_pages, frag_pages; in iwl_dbg_tlv_alloc_fragments() local 583 if (fw_mon->num_frags || in iwl_dbg_tlv_alloc_fragments() 588 num_frags = le32_to_cpu(fw_mon_cfg->max_frags_num); in iwl_dbg_tlv_alloc_fragments() 592 num_frags = 1; in iwl_dbg_tlv_alloc_fragments() 597 num_frags = min_t(u32, num_frags, BUF_ALLOC_MAX_NUM_FRAGS); in iwl_dbg_tlv_alloc_fragments() 598 num_frags = min_t(u32, num_frags, remain_pages); in iwl_dbg_tlv_alloc_fragments() 599 frag_pages = DIV_ROUND_UP(remain_pages, num_frags); in iwl_dbg_tlv_alloc_fragments() 601 fw_mon->frags = kcalloc(num_frags, sizeof(*fw_mon->frags), GFP_KERNEL); in iwl_dbg_tlv_alloc_fragments() [all …]
|
D | iwl-trans.h | 713 u32 num_frags; member
|
/linux-6.1.9/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt_xdp.c | 33 int num_frags = 0; in bnxt_xmit_bd() local 40 num_frags = sinfo->nr_frags; in bnxt_xmit_bd() 46 tx_buf->nr_frags = num_frags; in bnxt_xmit_bd() 52 ((num_frags + 1) << TX_BD_FLAGS_BD_CNT_SHIFT) | in bnxt_xmit_bd() 59 for (i = 0; i < num_frags ; i++) { in bnxt_xmit_bd() 464 bnxt_xdp_build_skb(struct bnxt *bp, struct sk_buff *skb, u8 num_frags, in bnxt_xdp_build_skb() argument 479 xdp_update_skb_shared_info(skb, num_frags, in bnxt_xdp_build_skb()
|
D | bnxt_xdp.h | 35 u8 num_frags, struct page_pool *pool,
|
/linux-6.1.9/drivers/net/wireguard/ |
D | send.c | 168 int num_frags; in encrypt_packet() local 181 num_frags = skb_cow_data(skb, trailer_len, &trailer); in encrypt_packet() 182 if (unlikely(num_frags < 0 || num_frags > ARRAY_SIZE(sg))) in encrypt_packet() 212 sg_init_table(sg, num_frags); in encrypt_packet()
|
D | receive.c | 247 int num_frags; in decrypt_packet() local 268 num_frags = skb_cow_data(skb, 0, &trailer); in decrypt_packet() 271 if (unlikely(num_frags < 0 || num_frags > ARRAY_SIZE(sg))) in decrypt_packet() 274 sg_init_table(sg, num_frags); in decrypt_packet()
|
/linux-6.1.9/drivers/net/ethernet/qlogic/qlcnic/ |
D | qlcnic_sriov_common.c | 759 u8 cmd_op, num_frags, t_num_frags; in qlcnic_sriov_prepare_bc_hdr() local 771 num_frags = (trans->req_pay_size) / (bc_pay_sz); in qlcnic_sriov_prepare_bc_hdr() 773 num_frags++; in qlcnic_sriov_prepare_bc_hdr() 774 t_num_frags = num_frags; in qlcnic_sriov_prepare_bc_hdr() 775 if (qlcnic_sriov_alloc_bc_msg(&trans->req_hdr, num_frags)) in qlcnic_sriov_prepare_bc_hdr() 778 num_frags = (trans->rsp_pay_size) / (bc_pay_sz); in qlcnic_sriov_prepare_bc_hdr() 780 num_frags++; in qlcnic_sriov_prepare_bc_hdr() 781 if (qlcnic_sriov_alloc_bc_msg(&trans->rsp_hdr, num_frags)) in qlcnic_sriov_prepare_bc_hdr() 783 num_frags = t_num_frags; in qlcnic_sriov_prepare_bc_hdr() 791 num_frags = (trans->rsp_pay_size) / (bc_pay_sz); in qlcnic_sriov_prepare_bc_hdr() [all …]
|
D | qlcnic_sriov.h | 29 u8 num_frags; member 35 u8 num_frags;
|
/linux-6.1.9/drivers/infiniband/ulp/ipoib/ |
D | ipoib_cm.c | 101 for (i = 0; i < priv->cm.num_frags; ++i) in ipoib_cm_post_receive_srq() 107 ipoib_cm_dma_unmap_rx(priv, priv->cm.num_frags - 1, in ipoib_cm_post_receive_srq() 335 for (i = 0; i < priv->cm.num_frags; ++i) in ipoib_cm_init_rx_wr() 339 for (i = 1; i < priv->cm.num_frags; ++i) in ipoib_cm_init_rx_wr() 344 wr->num_sge = priv->cm.num_frags; in ipoib_cm_init_rx_wr() 530 int i, num_frags; in skb_put_frags() local 539 num_frags = skb_shinfo(skb)->nr_frags; in skb_put_frags() 540 for (i = 0; i < num_frags; i++) { in skb_put_frags() 1609 priv->cm.num_frags = max_srq_sge; in ipoib_cm_dev_init() 1611 priv->cm.max_cm_mtu, priv->cm.num_frags); in ipoib_cm_dev_init() [all …]
|
D | ipoib.h | 286 int num_frags; member
|
/linux-6.1.9/drivers/mailbox/ |
D | bcm-pdc-mailbox.c | 586 u32 num_frags; in pdc_receive_one() local 608 num_frags = pdcs->txin_numd[pdcs->txin]; in pdc_receive_one() 609 WARN_ON(num_frags == 0); in pdc_receive_one() 614 pdcs->txin = (pdcs->txin + num_frags) & pdcs->ntxpost; in pdc_receive_one() 617 pdcs->pdc_idx, num_frags); in pdc_receive_one() 621 num_frags = rx_ctx->rxin_numd; in pdc_receive_one() 630 pdcs->rxin = (pdcs->rxin + num_frags) & pdcs->nrxpost; in pdc_receive_one() 633 pdcs->pdc_idx, num_frags); in pdc_receive_one()
|
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en/ |
D | xdp.c | 374 int num_frags = 0; in mlx5e_xmit_xdp_frame() local 394 num_frags = sinfo->nr_frags; in mlx5e_xmit_xdp_frame() 435 u8 num_pkts = 1 + num_frags; in mlx5e_xmit_xdp_frame() 444 for (i = 0; i < num_frags; i++) { in mlx5e_xmit_xdp_frame()
|
D | params.c | 691 info->num_frags = 1; in mlx5e_build_rq_frags_info() 747 info->num_frags = i; in mlx5e_build_rq_frags_info() 772 info->wqe_index_mask = info->num_frags % 2; in mlx5e_build_rq_frags_info() 782 info->log_num_frags = order_base_2(info->num_frags); in mlx5e_build_rq_frags_info() 928 ndsegs = param->frags_info.num_frags; in mlx5e_build_rq_param()
|
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx4/ |
D | en_rx.c | 82 for (i = 0; i < priv->num_frags; i++, frags++) { in mlx4_en_alloc_frags() 116 for (i = 0; i < priv->num_frags; i++) { in mlx4_en_init_rx_desc() 126 for (i = priv->num_frags; i < possible_frags; i++) { in mlx4_en_init_rx_desc() 176 for (nr = 0; nr < priv->num_frags; nr++) { in mlx4_en_free_rx_desc() 333 DS_SIZE * priv->num_frags); in mlx4_en_activate_rx_rings() 1043 priv->num_frags = i; in mlx4_en_calc_rx_buf() 1048 eff_mtu, priv->num_frags); in mlx4_en_calc_rx_buf() 1049 for (i = 0; i < priv->num_frags; i++) { in mlx4_en_calc_rx_buf()
|
D | mlx4_en.h | 579 u8 num_frags; member
|
/linux-6.1.9/net/tls/ |
D | tls_device.c | 143 for (i = 0; i < record->num_frags; i++) in destroy_record() 265 frag = &record->frags[record->num_frags - 1]; in tls_append_frag() 274 ++record->num_frags; in tls_append_frag() 302 for (i = 0; i < record->num_frags; i++) { in tls_push_record() 310 sg_mark_end(&offload_ctx->sg_tx_data[record->num_frags - 1]); in tls_push_record() 367 record->num_frags = 1; in tls_create_new_record() 535 (record->num_frags >= MAX_SKB_FRAGS - 1)) { in tls_push_data() 1176 start_marker_record->num_frags = 0; in tls_set_device_offload()
|
/linux-6.1.9/drivers/net/wireless/intel/iwlwifi/pcie/ |
D | ctxt-info-gen3.c | 54 if (trans->dbg.fw_mon_ini[alloc_id].num_frags) { in iwl_pcie_ctxt_info_dbg_enable() 67 trans->dbg.fw_mon_ini[alloc_id].num_frags); in iwl_pcie_ctxt_info_dbg_enable()
|
/linux-6.1.9/drivers/net/ethernet/google/gve/ |
D | gve_rx_dqo.c | 486 int num_frags = skb_shinfo(rx->ctx.skb_tail)->nr_frags; in gve_rx_append_frags() local 488 if (unlikely(num_frags == MAX_SKB_FRAGS)) { in gve_rx_append_frags() 497 num_frags = 0; in gve_rx_append_frags() 505 skb_add_rx_frag(rx->ctx.skb_tail, num_frags, in gve_rx_append_frags()
|
/linux-6.1.9/drivers/net/wireless/intel/iwlwifi/fw/api/ |
D | debug.h | 366 __le32 num_frags; member
|
/linux-6.1.9/drivers/infiniband/sw/siw/ |
D | siw_qp.c | 397 int num_frags, len_terminate, rv; in siw_send_terminate() local 564 num_frags = 3; in siw_send_terminate() 569 num_frags = 2; in siw_send_terminate() 590 if (num_frags == 3) { in siw_send_terminate() 599 rv = kernel_sendmsg(s, &msg, iov, num_frags, len_terminate); in siw_send_terminate()
|
/linux-6.1.9/drivers/net/ethernet/qlogic/qede/ |
D | qede_fp.c | 1178 u8 num_frags; in qede_rx_build_jumbo() local 1183 for (num_frags = cqe->bd_num - 1; num_frags > 0; num_frags--) { in qede_rx_build_jumbo() 1190 num_frags); in qede_rx_build_jumbo() 1220 return num_frags; in qede_rx_build_jumbo()
|
/linux-6.1.9/include/net/ |
D | tls.h | 159 int num_frags; member
|
/linux-6.1.9/drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/ |
D | chcr_ktls.c | 1663 for (i = 0; i < record->num_frags; i++) { in chcr_ktls_copy_record_in_skb() 1669 skb_shinfo(nskb)->nr_frags = record->num_frags; in chcr_ktls_copy_record_in_skb() 1737 record->num_frags, in chcr_end_part_handler()
|
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_rx.c | 356 for (i = 0; i < rq->wqe.info.num_frags; i++, frag++) { in mlx5e_alloc_rx_wqe() 393 for (i = 0; i < rq->wqe.info.num_frags; i++, wi++) in mlx5e_free_rx_wqe() 1646 for (i = wi - head_wi; i < rq->wqe.info.num_frags; i++) in mlx5e_skb_from_cqe_nonlinear()
|
/linux-6.1.9/drivers/net/ethernet/amazon/ena/ |
D | ena_netdev.c | 2939 int num_frags, header_len, rc; in ena_check_and_linearize_skb() local 2941 num_frags = skb_shinfo(skb)->nr_frags; in ena_check_and_linearize_skb() 2944 if (num_frags < tx_ring->sgl_size) in ena_check_and_linearize_skb() 2947 if ((num_frags == tx_ring->sgl_size) && in ena_check_and_linearize_skb()
|