Searched refs:pg_info (Results 1 – 9 of 9) sorted by relevance
/kernel/linux/linux-5.10/drivers/net/ethernet/cavium/liquidio/ |
D | octeon_network.h | 261 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 …]
|
D | octeon_droq.c | 144 struct octeon_skb_page_info *pg_info; in octeon_droq_destroy_ring_buffers() local 147 pg_info = &droq->recv_buf_list[i].pg_info; in octeon_droq_destroy_ring_buffers() 148 if (!pg_info) in octeon_droq_destroy_ring_buffers() 151 if (pg_info->dma) in octeon_droq_destroy_ring_buffers() 153 (u64)pg_info->dma); in octeon_droq_destroy_ring_buffers() 154 pg_info->dma = 0; in octeon_droq_destroy_ring_buffers() 156 if (pg_info->page) in octeon_droq_destroy_ring_buffers() 158 pg_info); in octeon_droq_destroy_ring_buffers() 175 buf = recv_buffer_alloc(oct, &droq->recv_buf_list[i].pg_info); in octeon_droq_setup_ring_buffers() 342 struct octeon_skb_page_info *pg_info; in octeon_create_recv_info() local [all …]
|
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() 278 pg_info->page, in lio_vf_rep_copy_packet() 279 pg_info->page_offset + MIN_SKB_SIZE, in lio_vf_rep_copy_packet() 283 struct octeon_skb_page_info *pg_info = in lio_vf_rep_copy_packet() local 286 skb_copy_to_linear_data(skb, page_address(pg_info->page) + in lio_vf_rep_copy_packet() 287 pg_info->page_offset, len); in lio_vf_rep_copy_packet() [all …]
|
D | lio_core.c | 602 struct octeon_skb_page_info *pg_info; in liquidio_push_packet() local 605 pg_info = ((struct octeon_skb_page_info *)(skb->cb)); in liquidio_push_packet() 606 if (pg_info->page) { in liquidio_push_packet() 608 va = page_address(pg_info->page) + in liquidio_push_packet() 609 pg_info->page_offset; in liquidio_push_packet() 613 pg_info->page, in liquidio_push_packet() 614 pg_info->page_offset + in liquidio_push_packet() 620 struct octeon_skb_page_info *pg_info = in liquidio_push_packet() local 622 skb_copy_to_linear_data(skb, page_address(pg_info->page) in liquidio_push_packet() 623 + pg_info->page_offset, len); in liquidio_push_packet() [all …]
|
D | octeon_droq.h | 88 struct octeon_skb_page_info pg_info; member
|
/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
D | hclge_tm.c | 454 if (hdev->tm_info.pg_info[pg_id].pg_sch_mode == HCLGE_SCH_MODE_DWRR) in hclge_tm_pg_schd_mode_cfg() 601 vport->bw_limit = hdev->tm_info.pg_info[0].bw_limit; in hclge_tm_vport_tc_info_update() 643 hdev->tm_info.pg_info[0].bw_limit; in hclge_tm_tc_info_init() 662 hdev->tm_info.pg_info[i].pg_id = i; in hclge_tm_pg_info_init() 663 hdev->tm_info.pg_info[i].pg_sch_mode = HCLGE_SCH_MODE_DWRR; in hclge_tm_pg_info_init() 665 hdev->tm_info.pg_info[i].bw_limit = in hclge_tm_pg_info_init() 671 hdev->tm_info.pg_info[i].tc_bit_map = hdev->hw_tc_map; in hclge_tm_pg_info_init() 673 hdev->tm_info.pg_info[i].tc_dwrr[k] = BW_PERCENT; in hclge_tm_pg_info_init() 675 hdev->tm_info.pg_info[i].tc_dwrr[k] = 0; in hclge_tm_pg_info_init() 740 hdev, i, hdev->tm_info.pg_info[i].tc_bit_map); in hclge_tm_pg_to_pri_map() [all …]
|
D | hclge_dcb.c | 22 hdev->tm_info.pg_info[0].tc_dwrr[i] = 0; in hclge_ieee_ets_to_tm_info() 27 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()
|
D | hclge_main.h | 365 struct hclge_pg_info pg_info[HCLGE_PG_NUM]; member
|
D | hclge_debugfs.c | 435 index, hdev->tm_info.pg_info[0].tc_dwrr[index]); in hclge_print_tc_info()
|