Searched refs:pg_info (Results 1 – 14 of 14) sorted by relevance
| /drivers/net/ethernet/cavium/liquidio/ |
| A D | octeon_network.h | 274 pg_info->page = NULL; in recv_buffer_alloc() 297 pg_info->page = page; in recv_buffer_alloc() 335 if (!pg_info->page) { in recv_buffer_recycle() 346 pg_info->dma = 0; in recv_buffer_recycle() 396 pg_info->dma = 0; in recv_buffer_destroy() 397 pg_info->page = NULL; in recv_buffer_destroy() 411 if (pg_info->page) { in recv_buffer_free() 413 pg_info->dma = 0; in recv_buffer_free() 444 va = page_address(pg_info->page) + pg_info->page_offset; in get_rbd() 458 if (!pg_info->page) { in lio_map_ring() [all …]
|
| A D | octeon_droq.c | 143 pg_info = &droq->recv_buf_list[i].pg_info; in octeon_droq_destroy_ring_buffers() 144 if (!pg_info) in octeon_droq_destroy_ring_buffers() 147 if (pg_info->dma) in octeon_droq_destroy_ring_buffers() 150 pg_info->dma = 0; in octeon_droq_destroy_ring_buffers() 152 if (pg_info->page) in octeon_droq_destroy_ring_buffers() 154 pg_info); in octeon_droq_destroy_ring_buffers() 358 pg_info = &droq->recv_buf_list[idx].pg_info; in octeon_create_recv_info() 362 pg_info->page = NULL; in octeon_create_recv_info() 363 pg_info->dma = 0; in octeon_create_recv_info() 443 pg_info = in octeon_droq_refill() [all …]
|
| A D | lio_vf_rep.c | 266 struct octeon_skb_page_info *pg_info; in lio_vf_rep_copy_packet() local 269 pg_info = ((struct octeon_skb_page_info *)(skb->cb)); in lio_vf_rep_copy_packet() 270 if (pg_info->page) { in lio_vf_rep_copy_packet() 271 va = page_address(pg_info->page) + in lio_vf_rep_copy_packet() 272 pg_info->page_offset; in lio_vf_rep_copy_packet() 276 pg_info->page, in lio_vf_rep_copy_packet() 277 pg_info->page_offset + MIN_SKB_SIZE, in lio_vf_rep_copy_packet() 282 struct octeon_skb_page_info *pg_info = in lio_vf_rep_copy_packet() local 285 skb_copy_to_linear_data(skb, page_address(pg_info->page) + in lio_vf_rep_copy_packet() 286 pg_info->page_offset, len); in lio_vf_rep_copy_packet() [all …]
|
| A D | lio_core.c | 611 struct octeon_skb_page_info *pg_info; in liquidio_push_packet() local 614 pg_info = ((struct octeon_skb_page_info *)(skb->cb)); in liquidio_push_packet() 615 if (pg_info->page) { in liquidio_push_packet() 617 va = page_address(pg_info->page) + in liquidio_push_packet() 618 pg_info->page_offset; in liquidio_push_packet() 622 pg_info->page, in liquidio_push_packet() 623 pg_info->page_offset + in liquidio_push_packet() 629 struct octeon_skb_page_info *pg_info = in liquidio_push_packet() local 631 skb_copy_to_linear_data(skb, page_address(pg_info->page) in liquidio_push_packet() 632 + pg_info->page_offset, len); in liquidio_push_packet() [all …]
|
| A D | octeon_droq.h | 88 struct octeon_skb_page_info pg_info; member
|
| /drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
| A D | hclge_tm.c | 768 bw_limit = hdev->tm_info.pg_info[0].bw_limit; in hclge_tm_tc_info_init() 797 hdev->tm_info.pg_info[i].pg_id = i; in hclge_tm_pg_info_init() 800 hdev->tm_info.pg_info[i].bw_limit = in hclge_tm_pg_info_init() 875 hdev, i, hdev->tm_info.pg_info[i].tc_bit_map); in hclge_tm_pg_to_pri_map() 897 u32 rate = hdev->tm_info.pg_info[i].bw_limit; in hclge_tm_pg_shaper_cfg() 1186 struct hclge_pg_info *pg_info; in hclge_tm_pri_tc_base_dwrr_cfg() local 1192 pg_info = in hclge_tm_pri_tc_base_dwrr_cfg() 1194 dwrr = pg_info->tc_dwrr[i]; in hclge_tm_pri_tc_base_dwrr_cfg() 1230 struct hclge_pg_info *pg_info; in hclge_tm_ets_tc_dwrr_cfg() local 1232 pg_info = &hdev->tm_info.pg_info[hdev->tm_info.tc_info[i].pgid]; in hclge_tm_ets_tc_dwrr_cfg() [all …]
|
| A D | hclge_dcb.c | 21 hdev->tm_info.pg_info[0].tc_dwrr[i] = 0; in hclge_ieee_ets_to_tm_info() 26 hdev->tm_info.pg_info[0].tc_dwrr[i] = in hclge_ieee_ets_to_tm_info() 56 ets->tc_tx_bw[i] = hdev->tm_info.pg_info[0].tc_dwrr[i]; in hclge_tm_info_to_ieee_ets()
|
| A D | hclge_main.h | 388 struct hclge_pg_info pg_info[HCLGE_PG_NUM]; member
|
| /drivers/net/ethernet/broadcom/bnge/ |
| A D | bnge_hwrm_lib.c | 243 ctxm->pg_info = kcalloc(n, sizeof(*ctxm->pg_info), GFP_KERNEL); in bnge_alloc_all_ctx_pg_info() 244 if (!ctxm->pg_info) in bnge_alloc_all_ctx_pg_info() 344 if (!(ctxm->flags & BNGE_CTX_MEM_TYPE_VALID) || !ctxm->pg_info) in bnge_hwrm_func_backing_store() 367 ctx_pg = &ctxm->pg_info[j++]; in bnge_hwrm_func_backing_store()
|
| A D | bnge_rmem.c | 234 struct bnge_ctx_pg_info *ctx_pg = ctxm->pg_info; in bnge_setup_ctxm_pg_tbls() 292 struct bnge_ctx_pg_info *ctx_pg = ctxm->pg_info; in bnge_free_ctx_mem() 303 ctxm->pg_info = NULL; in bnge_free_ctx_mem()
|
| A D | bnge_rmem.h | 173 struct bnge_ctx_pg_info *pg_info; member
|
| /drivers/net/ethernet/broadcom/bnxt/ |
| A D | bnxt.c | 8563 ctxm->pg_info = kcalloc(n, sizeof(*ctxm->pg_info), GFP_KERNEL); in bnxt_alloc_all_ctx_pg_info() 8564 if (!ctxm->pg_info) in bnxt_alloc_all_ctx_pg_info() 8821 ctx_pg = ctxm->pg_info; in bnxt_hwrm_func_backing_store_cfg() 8835 ctx_pg = ctxm->pg_info; in bnxt_hwrm_func_backing_store_cfg() 8845 ctx_pg = ctxm->pg_info; in bnxt_hwrm_func_backing_store_cfg() 8855 ctx_pg = ctxm->pg_info; in bnxt_hwrm_func_backing_store_cfg() 8866 ctx_pg = ctxm->pg_info; in bnxt_hwrm_func_backing_store_cfg() 8877 ctx_pg = ctxm->pg_info; in bnxt_hwrm_func_backing_store_cfg() 8896 ctx_pg = ctxm->pg_info; in bnxt_hwrm_func_backing_store_cfg() 9243 ctx_pg = ctxm->pg_info; in bnxt_free_one_ctx_mem() [all …]
|
| A D | bnxt.h | 1937 struct bnxt_ctx_pg_info *pg_info; member
|
| /drivers/net/wireless/ath/ath12k/ |
| A D | debugfs_htt_stats.c | 3617 static void ath12k_htt_print_dlpager_entry(const struct ath12k_htt_pgs_info *pg_info, in ath12k_htt_print_dlpager_entry() argument 3623 page_timestamp = ath12k_le32hilo_to_u64(pg_info->ts_msb, pg_info->ts_lsb); in ath12k_htt_print_dlpager_entry() 3627 idx, le32_to_cpu(pg_info->page_num)); in ath12k_htt_print_dlpager_entry() 3630 le32_to_cpu(pg_info->num_pgs), page_timestamp); in ath12k_htt_print_dlpager_entry()
|
Completed in 81 milliseconds