Home
last modified time | relevance | path

Searched refs:pg_info (Results 1 – 9 of 9) sorted by relevance

/linux/drivers/net/ethernet/cavium/liquidio/
H A Docteon_network.h261 struct octeon_skb_page_info *pg_info) in recv_buffer_alloc() argument
274 pg_info->page = NULL; in recv_buffer_alloc()
286 pg_info->dma = dma_map_page(&oct->pci_dev->dev, page, 0, in recv_buffer_alloc()
290 if (dma_mapping_error(&oct->pci_dev->dev, pg_info->dma)) { in recv_buffer_alloc()
293 pg_info->page = NULL; in recv_buffer_alloc()
297 pg_info->page = page; in recv_buffer_alloc()
298 pg_info->page_offset = 0; in recv_buffer_alloc()
301 skb_pg_info->dma = pg_info->dma; in recv_buffer_alloc()
333 struct octeon_skb_page_info *pg_info = buf; in recv_buffer_recycle() local
335 if (!pg_info->page) { in recv_buffer_recycle()
[all …]
H A Docteon_droq.c140 struct octeon_skb_page_info *pg_info; in octeon_droq_destroy_ring_buffers() local
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()
149 (u64)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()
171 buf = recv_buffer_alloc(oct, &droq->recv_buf_list[i].pg_info); in octeon_droq_setup_ring_buffers()
339 struct octeon_skb_page_info *pg_info; in octeon_create_recv_info() local
[all …]
H A Docteon_droq.h88 struct octeon_skb_page_info pg_info; member
/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_tm.c527 if (hdev->tm_info.pg_info[pg_id].pg_sch_mode == HCLGE_SCH_MODE_DWRR) in hclge_tm_pg_schd_mode_cfg()
724 vport->bw_limit = hdev->tm_info.pg_info[0].bw_limit; in hclge_tm_vport_tc_info_update()
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()
798 hdev->tm_info.pg_info[i].pg_sch_mode = HCLGE_SCH_MODE_DWRR; in hclge_tm_pg_info_init()
800 hdev->tm_info.pg_info[i].bw_limit = in hclge_tm_pg_info_init()
806 hdev->tm_info.pg_info[i].tc_bit_map = hdev->hw_tc_map; in hclge_tm_pg_info_init()
808 hdev->tm_info.pg_info[i].tc_dwrr[k] = BW_PERCENT; in hclge_tm_pg_info_init()
810 hdev->tm_info.pg_info[i].tc_dwrr[k] = DEFAULT_BW_WEIGHT; 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()
[all …]
H A Dhclge_dcb.c21 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()
H A Dhclge_main.h388 struct hclge_pg_info pg_info[HCLGE_PG_NUM]; member
/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt.c2561 struct bnxt_ctx_pg_info *ctx_pg = ctxm->pg_info; in bnxt_bs_trace_init()
8588 if (!ctxm->max_entries || ctxm->pg_info) in bnxt_alloc_all_ctx_pg_info()
8593 ctxm->pg_info = kcalloc(n, sizeof(*ctxm->pg_info), GFP_KERNEL); in bnxt_alloc_all_ctx_pg_info()
8594 if (!ctxm->pg_info) in bnxt_alloc_all_ctx_pg_info()
8851 ctx_pg = ctxm->pg_info; in bnxt_hwrm_func_backing_store_cfg()
8865 ctx_pg = ctxm->pg_info; in bnxt_hwrm_func_backing_store_cfg()
8875 ctx_pg = ctxm->pg_info; in bnxt_hwrm_func_backing_store_cfg()
8885 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()
8907 ctx_pg = ctxm->pg_info; in bnxt_hwrm_func_backing_store_cfg()
[all …]
H A Dbnxt.h1938 struct bnxt_ctx_pg_info *pg_info; member
/linux/drivers/net/wireless/ath/ath12k/
H A Ddebugfs_htt_stats.c3617 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()