Searched refs:rds_ring (Results 1 – 8 of 8) sorted by relevance
49 struct nx_host_rds_ring *rds_ring);110 struct nx_host_rds_ring *rds_ring; in netxen_release_rx_buffers() local116 rds_ring = &recv_ctx->rds_rings[ring]; in netxen_release_rx_buffers()117 for (i = 0; i < rds_ring->num_desc; ++i) { in netxen_release_rx_buffers()118 rx_buf = &(rds_ring->rx_buf_arr[i]); in netxen_release_rx_buffers()123 rds_ring->dma_size, in netxen_release_rx_buffers()166 struct nx_host_rds_ring *rds_ring; in netxen_free_sw_resources() local176 rds_ring = &recv_ctx->rds_rings[ring]; in netxen_free_sw_resources()177 vfree(rds_ring->rx_buf_arr); in netxen_free_sw_resources()178 rds_ring->rx_buf_arr = NULL; in netxen_free_sw_resources()[all …]
140 struct nx_host_rds_ring *rds_ring; in nx_fw_cmd_create_rx_ctx() local200 rds_ring = &recv_ctx->rds_rings[i]; in nx_fw_cmd_create_rx_ctx()202 prq_rds[i].host_phys_addr = cpu_to_le64(rds_ring->phys_addr); in nx_fw_cmd_create_rx_ctx()203 prq_rds[i].ring_size = cpu_to_le32(rds_ring->num_desc); in nx_fw_cmd_create_rx_ctx()205 prq_rds[i].buff_size = cpu_to_le64(rds_ring->dma_size); in nx_fw_cmd_create_rx_ctx()239 rds_ring = &recv_ctx->rds_rings[i]; in nx_fw_cmd_create_rx_ctx()242 rds_ring->crb_rcv_producer = netxen_get_ioaddr(adapter, in nx_fw_cmd_create_rx_ctx()556 struct nx_host_rds_ring *rds_ring; in netxen_init_old_ctx() local573 rds_ring = &recv_ctx->rds_rings[ring]; in netxen_init_old_ctx()576 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)1341 struct nx_host_rds_ring *rds_ring);
1070 struct nx_host_rds_ring *rds_ring; in netxen_nic_attach() local1113 rds_ring = &adapter->recv_ctx.rds_rings[ring]; in netxen_nic_attach()1114 netxen_post_rx_buffers(adapter, ring, rds_ring); in netxen_nic_attach()
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 …]
99 struct qlcnic_host_rds_ring *rds_ring; in qlcnic_fw_cmd_create_rx_ctx() local165 rds_ring = &recv_ctx->rds_rings[i]; in qlcnic_fw_cmd_create_rx_ctx()166 rds_ring->producer = 0; in qlcnic_fw_cmd_create_rx_ctx()168 prq_rds[i].host_phys_addr = cpu_to_le64(rds_ring->phys_addr); in qlcnic_fw_cmd_create_rx_ctx()169 prq_rds[i].ring_size = cpu_to_le32(rds_ring->num_desc); in qlcnic_fw_cmd_create_rx_ctx()171 prq_rds[i].buff_size = cpu_to_le64(rds_ring->dma_size); in qlcnic_fw_cmd_create_rx_ctx()207 rds_ring = &recv_ctx->rds_rings[i]; in qlcnic_fw_cmd_create_rx_ctx()210 rds_ring->crb_rcv_producer = adapter->ahw.pci_base0 + reg; in qlcnic_fw_cmd_create_rx_ctx()395 struct qlcnic_host_rds_ring *rds_ring; in qlcnic_alloc_hw_resources() local425 rds_ring = &recv_ctx->rds_rings[ring]; in qlcnic_alloc_hw_resources()[all …]
62 #define RCV_DESC_RINGSIZE(rds_ring) \ argument63 (sizeof(struct rcv_desc) * (rds_ring)->num_desc)64 #define RCV_BUFF_RINGSIZE(rds_ring) \ argument65 (sizeof(struct qlcnic_rx_buffer) * rds_ring->num_desc)1298 struct qlcnic_host_rds_ring *rds_ring);
1104 struct qlcnic_host_rds_ring *rds_ring; in __qlcnic_up() local1118 rds_ring = &adapter->recv_ctx.rds_rings[ring]; in __qlcnic_up()1119 qlcnic_post_rx_buffers(adapter, ring, rds_ring); in __qlcnic_up()1300 struct qlcnic_host_rds_ring *rds_ring; in qlcnic_diag_alloc_res() local1328 rds_ring = &adapter->recv_ctx.rds_rings[ring]; in qlcnic_diag_alloc_res()1329 qlcnic_post_rx_buffers(adapter, ring, rds_ring); in qlcnic_diag_alloc_res()