Searched refs:rds_ring (Results 1 – 8 of 8) sorted by relevance
30 struct qlcnic_host_rds_ring *rds_ring);93 struct qlcnic_host_rds_ring *rds_ring; in qlcnic_release_rx_buffers() local99 rds_ring = &recv_ctx->rds_rings[ring]; in qlcnic_release_rx_buffers()100 for (i = 0; i < rds_ring->num_desc; ++i) { in qlcnic_release_rx_buffers()101 rx_buf = &(rds_ring->rx_buf_arr[i]); in qlcnic_release_rx_buffers()107 rds_ring->dma_size, in qlcnic_release_rx_buffers()118 struct qlcnic_host_rds_ring *rds_ring; in qlcnic_reset_rx_buffers_list() local124 rds_ring = &recv_ctx->rds_rings[ring]; in qlcnic_reset_rx_buffers_list()126 INIT_LIST_HEAD(&rds_ring->free_list); in qlcnic_reset_rx_buffers_list()128 rx_buf = rds_ring->rx_buf_arr; in qlcnic_reset_rx_buffers_list()[all …]
196 struct qlcnic_host_rds_ring *rds_ring; in qlcnic_fw_cmd_create_rx_ctx() local263 rds_ring = &recv_ctx->rds_rings[i]; in qlcnic_fw_cmd_create_rx_ctx()264 rds_ring->producer = 0; in qlcnic_fw_cmd_create_rx_ctx()266 prq_rds[i].host_phys_addr = cpu_to_le64(rds_ring->phys_addr); in qlcnic_fw_cmd_create_rx_ctx()267 prq_rds[i].ring_size = cpu_to_le32(rds_ring->num_desc); in qlcnic_fw_cmd_create_rx_ctx()269 prq_rds[i].buff_size = cpu_to_le64(rds_ring->dma_size); in qlcnic_fw_cmd_create_rx_ctx()305 rds_ring = &recv_ctx->rds_rings[i]; in qlcnic_fw_cmd_create_rx_ctx()308 rds_ring->crb_rcv_producer = adapter->ahw->pci_base0 + reg; in qlcnic_fw_cmd_create_rx_ctx()478 struct qlcnic_host_rds_ring *rds_ring; in qlcnic_alloc_hw_resources() local507 rds_ring = &recv_ctx->rds_rings[ring]; in qlcnic_alloc_hw_resources()[all …]
64 #define RCV_DESC_RINGSIZE(rds_ring) \ argument65 (sizeof(struct rcv_desc) * (rds_ring)->num_desc)66 #define RCV_BUFF_RINGSIZE(rds_ring) \ argument67 (sizeof(struct qlcnic_rx_buffer) * rds_ring->num_desc)1456 struct qlcnic_host_rds_ring *rds_ring);
1135 struct qlcnic_host_rds_ring *rds_ring; in __qlcnic_up() local1149 rds_ring = &adapter->recv_ctx->rds_rings[ring]; in __qlcnic_up()1150 qlcnic_post_rx_buffers(adapter, rds_ring); in __qlcnic_up()1371 struct qlcnic_host_rds_ring *rds_ring; in qlcnic_diag_alloc_res() local1399 rds_ring = &adapter->recv_ctx->rds_rings[ring]; in qlcnic_diag_alloc_res()1400 qlcnic_post_rx_buffers(adapter, rds_ring); in qlcnic_diag_alloc_res()
50 struct nx_host_rds_ring *rds_ring);111 struct nx_host_rds_ring *rds_ring; in netxen_release_rx_buffers() local117 rds_ring = &recv_ctx->rds_rings[ring]; in netxen_release_rx_buffers()118 for (i = 0; i < rds_ring->num_desc; ++i) { in netxen_release_rx_buffers()119 rx_buf = &(rds_ring->rx_buf_arr[i]); in netxen_release_rx_buffers()124 rds_ring->dma_size, in netxen_release_rx_buffers()167 struct nx_host_rds_ring *rds_ring; in netxen_free_sw_resources() local177 rds_ring = &recv_ctx->rds_rings[ring]; in netxen_free_sw_resources()178 vfree(rds_ring->rx_buf_arr); in netxen_free_sw_resources()179 rds_ring->rx_buf_arr = NULL; in netxen_free_sw_resources()[all …]
289 struct nx_host_rds_ring *rds_ring; in nx_fw_cmd_create_rx_ctx() local350 rds_ring = &recv_ctx->rds_rings[i]; in nx_fw_cmd_create_rx_ctx()352 prq_rds[i].host_phys_addr = cpu_to_le64(rds_ring->phys_addr); in nx_fw_cmd_create_rx_ctx()353 prq_rds[i].ring_size = cpu_to_le32(rds_ring->num_desc); in nx_fw_cmd_create_rx_ctx()355 prq_rds[i].buff_size = cpu_to_le64(rds_ring->dma_size); in nx_fw_cmd_create_rx_ctx()388 rds_ring = &recv_ctx->rds_rings[i]; in nx_fw_cmd_create_rx_ctx()391 rds_ring->crb_rcv_producer = netxen_get_ioaddr(adapter, in nx_fw_cmd_create_rx_ctx()708 struct nx_host_rds_ring *rds_ring; in netxen_init_old_ctx() local725 rds_ring = &recv_ctx->rds_rings[ring]; in netxen_init_old_ctx()728 cpu_to_le64(rds_ring->phys_addr); in netxen_init_old_ctx()[all …]
77 #define RCV_DESC_RINGSIZE(rds_ring) \ argument78 (sizeof(struct rcv_desc) * (rds_ring)->num_desc)79 #define RCV_BUFF_RINGSIZE(rds_ring) \ argument80 (sizeof(struct netxen_rx_buffer) * rds_ring->num_desc)1776 struct nx_host_rds_ring *rds_ring);
1185 struct nx_host_rds_ring *rds_ring; in netxen_nic_attach() local1228 rds_ring = &adapter->recv_ctx.rds_rings[ring]; in netxen_nic_attach()1229 netxen_post_rx_buffers(adapter, ring, rds_ring); in netxen_nic_attach()