Searched refs:rds_ring (Results 1 - 10 of 10) sorted by relevance
/drivers/net/ethernet/qlogic/netxen/ |
H A D | netxen_nic_init.c | 49 struct nx_host_rds_ring *rds_ring); 110 struct nx_host_rds_ring *rds_ring; local 116 rds_ring = &recv_ctx->rds_rings[ring]; 117 for (i = 0; i < rds_ring->num_desc; ++i) { 118 rx_buf = &(rds_ring->rx_buf_arr[i]); 123 rds_ring->dma_size, 168 struct nx_host_rds_ring *rds_ring; local 178 rds_ring = &recv_ctx->rds_rings[ring]; 179 vfree(rds_ring->rx_buf_arr); 180 rds_ring 197 struct nx_host_rds_ring *rds_ring; local 1473 netxen_alloc_rx_skb(struct netxen_adapter *adapter, struct nx_host_rds_ring *rds_ring, struct netxen_rx_buffer *buffer) argument 1506 netxen_process_rxbuf(struct netxen_adapter *adapter, struct nx_host_rds_ring *rds_ring, u16 index, u16 cksum) argument 1543 struct nx_host_rds_ring *rds_ring; local 1597 struct nx_host_rds_ring *rds_ring; local 1729 struct nx_host_rds_ring *rds_ring = local 1828 netxen_post_rx_buffers(struct netxen_adapter *adapter, u32 ringid, struct nx_host_rds_ring *rds_ring) argument 1886 netxen_post_rx_buffers_nodb(struct netxen_adapter *adapter, struct nx_host_rds_ring *rds_ring) argument [all...] |
H A D | netxen_nic_ctx.c | 282 struct nx_host_rds_ring *rds_ring; local 346 rds_ring = &recv_ctx->rds_rings[i]; 348 prq_rds[i].host_phys_addr = cpu_to_le64(rds_ring->phys_addr); 349 prq_rds[i].ring_size = cpu_to_le32(rds_ring->num_desc); 351 prq_rds[i].buff_size = cpu_to_le64(rds_ring->dma_size); 384 rds_ring = &recv_ctx->rds_rings[i]; 387 rds_ring->crb_rcv_producer = netxen_get_ioaddr(adapter, 704 struct nx_host_rds_ring *rds_ring; local 721 rds_ring = &recv_ctx->rds_rings[ring]; 724 cpu_to_le64(rds_ring 760 struct nx_host_rds_ring *rds_ring; local 874 struct nx_host_rds_ring *rds_ring; local [all...] |
H A D | netxen_nic.h | 75 #define RCV_DESC_RINGSIZE(rds_ring) \ 76 (sizeof(struct rcv_desc) * (rds_ring)->num_desc) 77 #define RCV_BUFF_RINGSIZE(rds_ring) \ 78 (sizeof(struct netxen_rx_buffer) * rds_ring->num_desc) 1783 struct nx_host_rds_ring *rds_ring);
|
H A D | netxen_nic_main.c | 1226 struct nx_host_rds_ring *rds_ring; local 1277 rds_ring = &adapter->recv_ctx.rds_rings[ring]; 1278 netxen_post_rx_buffers(adapter, ring, rds_ring);
|
/drivers/net/ethernet/qlogic/qlcnic/ |
H A D | qlcnic_io.c | 811 struct qlcnic_host_rds_ring *rds_ring, 818 skb = netdev_alloc_skb(adapter->netdev, rds_ring->skb_size); 826 rds_ring->dma_size, PCI_DMA_FROMDEVICE); 841 struct qlcnic_host_rds_ring *rds_ring, 850 if (!spin_trylock(&rds_ring->lock)) 853 producer = rds_ring->producer; 854 head = &rds_ring->free_list; 859 if (qlcnic_alloc_rx_skb(adapter, rds_ring, buffer)) 866 pdesc = &rds_ring->desc_head[producer]; 870 pdesc->buffer_length = cpu_to_le32(rds_ring 810 qlcnic_alloc_rx_skb(struct qlcnic_adapter *adapter, struct qlcnic_host_rds_ring *rds_ring, struct qlcnic_rx_buffer *buffer) argument 840 qlcnic_post_rx_buffers_nodb(struct qlcnic_adapter *adapter, struct qlcnic_host_rds_ring *rds_ring, u8 ring_id) argument 1190 struct qlcnic_host_rds_ring *rds_ring; local 1257 struct qlcnic_host_rds_ring *rds_ring; local 1347 struct qlcnic_host_rds_ring *rds_ring; local 1425 qlcnic_post_rx_buffers(struct qlcnic_adapter *adapter, struct qlcnic_host_rds_ring *rds_ring, u8 ring_id) argument 1484 struct qlcnic_host_rds_ring *rds_ring; local 1713 struct qlcnic_host_rds_ring *rds_ring; local 1779 struct qlcnic_host_rds_ring *rds_ring; local 1871 struct qlcnic_host_rds_ring *rds_ring; local 2155 struct qlcnic_host_rds_ring *rds_ring; local [all...] |
H A D | qlcnic_init.c | 86 struct qlcnic_host_rds_ring *rds_ring; local 92 rds_ring = &recv_ctx->rds_rings[ring]; 93 for (i = 0; i < rds_ring->num_desc; ++i) { 94 rx_buf = &(rds_ring->rx_buf_arr[i]); 100 rds_ring->dma_size, 111 struct qlcnic_host_rds_ring *rds_ring; local 117 rds_ring = &recv_ctx->rds_rings[ring]; 119 INIT_LIST_HEAD(&rds_ring->free_list); 121 rx_buf = rds_ring->rx_buf_arr; 122 for (i = 0; i < rds_ring 169 struct qlcnic_host_rds_ring *rds_ring; local 188 struct qlcnic_host_rds_ring *rds_ring; local [all...] |
H A D | qlcnic_ctx.c | 247 struct qlcnic_host_rds_ring *rds_ring; local 315 rds_ring = &recv_ctx->rds_rings[i]; 316 rds_ring->producer = 0; 317 prq_rds[i].host_phys_addr = cpu_to_le64(rds_ring->phys_addr); 318 prq_rds[i].ring_size = cpu_to_le32(rds_ring->num_desc); 320 prq_rds[i].buff_size = cpu_to_le64(rds_ring->dma_size); 358 rds_ring = &recv_ctx->rds_rings[i]; 360 rds_ring->crb_rcv_producer = ahw->pci_base0 + reg; 564 struct qlcnic_host_rds_ring *rds_ring; local 595 rds_ring 717 struct qlcnic_host_rds_ring *rds_ring; local [all...] |
H A D | qlcnic_main.c | 1871 struct qlcnic_host_rds_ring *rds_ring; local 1888 rds_ring = &adapter->recv_ctx->rds_rings[ring]; 1889 qlcnic_post_rx_buffers(adapter, rds_ring, ring); 2128 struct qlcnic_host_rds_ring *rds_ring; local 2157 rds_ring = &adapter->recv_ctx->rds_rings[ring]; 2158 qlcnic_post_rx_buffers(adapter, rds_ring, ring); 3002 struct qlcnic_host_rds_ring *rds_ring; local 3011 rds_ring = &recv_ctx->rds_rings[ring]; 3012 if (!rds_ring) 3015 "rds_ring [all...] |
H A D | qlcnic.h | 67 #define RCV_DESC_RINGSIZE(rds_ring) \ 68 (sizeof(struct rcv_desc) * (rds_ring)->num_desc) 69 #define RCV_BUFF_RINGSIZE(rds_ring) \ 70 (sizeof(struct qlcnic_rx_buffer) * rds_ring->num_desc) 1616 struct qlcnic_host_rds_ring *rds_ring, u8 ring_id);
|
H A D | qlcnic_83xx_hw.c | 1395 struct qlcnic_host_rds_ring *rds_ring; local 1429 rds_ring = &adapter->recv_ctx->rds_rings[ring]; 1430 qlcnic_post_rx_buffers(adapter, rds_ring, ring);
|
Completed in 135 milliseconds