Home
last modified time | relevance | path

Searched refs:sw_buf (Results 1 – 3 of 3) sorted by relevance

/drivers/net/ethernet/intel/ice/
A Dice_switch.c1890 u16 buf_len = __struct_size(sw_buf); in ice_aq_alloc_free_vsi_list()
1894 sw_buf->num_elems = cpu_to_le16(1); in ice_aq_alloc_free_vsi_list()
1907 sw_buf->res_type = in ice_aq_alloc_free_vsi_list()
1911 sw_buf->res_type = in ice_aq_alloc_free_vsi_list()
1925 vsi_ele = &sw_buf->elem[0]; in ice_aq_alloc_free_vsi_list()
2182 u16 buf_len = __struct_size(sw_buf); in ice_alloc_recipe()
2186 sw_buf->num_elems = cpu_to_le16(1); in ice_alloc_recipe()
2192 sw_buf->res_type = cpu_to_le16(res_type); in ice_alloc_recipe()
5268 u16 buf_len = __struct_size(sw_buf); in ice_subscribe_recipe()
5273 sw_buf->num_elems = cpu_to_le16(1); in ice_subscribe_recipe()
[all …]
/drivers/net/ethernet/broadcom/bnx2x/
A Dbnx2x_cmn.h802 struct sw_rx_page *sw_buf = &fp->rx_page_ring[index]; in bnx2x_free_rx_sge() local
803 struct page *page = sw_buf->page; in bnx2x_free_rx_sge()
813 dma_unmap_page(&bp->pdev->dev, dma_unmap_addr(sw_buf, mapping), in bnx2x_free_rx_sge()
818 sw_buf->page = NULL; in bnx2x_free_rx_sge()
A Dbnx2x_cmn.c550 struct sw_rx_page *sw_buf = &fp->rx_page_ring[index]; in bnx2x_alloc_rx_sge() local
570 sw_buf->page = pool->page; in bnx2x_alloc_rx_sge()
571 sw_buf->offset = pool->offset; in bnx2x_alloc_rx_sge()
573 dma_unmap_addr_set(sw_buf, mapping, mapping); in bnx2x_alloc_rx_sge()

Completed in 24 milliseconds