Lines Matching refs:sds_ring
196 struct nx_host_sds_ring *sds_ring; in netxen_alloc_sw_resources() local
306 sds_ring = &recv_ctx->sds_rings[ring]; in netxen_alloc_sw_resources()
307 sds_ring->irq = adapter->msix_entries[ring].vector; in netxen_alloc_sw_resources()
308 sds_ring->adapter = adapter; in netxen_alloc_sw_resources()
309 sds_ring->num_desc = adapter->num_rxd; in netxen_alloc_sw_resources()
312 INIT_LIST_HEAD(&sds_ring->free_list[i]); in netxen_alloc_sw_resources()
1412 struct nx_host_sds_ring *sds_ring) in netxen_handle_fw_message() argument
1419 desc = &sds_ring->desc_head[index]; in netxen_handle_fw_message()
1423 index = get_next_index(index, sds_ring->num_desc); in netxen_handle_fw_message()
1430 netxen_handle_linkevent(sds_ring->adapter, &msg); in netxen_handle_fw_message()
1502 struct nx_host_sds_ring *sds_ring, in netxen_process_rcv() argument
1542 napi_gro_receive(&sds_ring->napi, skb); in netxen_process_rcv()
1556 struct nx_host_sds_ring *sds_ring, in netxen_process_lro() argument
1628 netxen_process_rcv_ring(struct nx_host_sds_ring *sds_ring, int max) in netxen_process_rcv_ring() argument
1630 struct netxen_adapter *adapter = sds_ring->adapter; in netxen_process_rcv_ring()
1637 u32 consumer = sds_ring->consumer; in netxen_process_rcv_ring()
1644 desc = &sds_ring->desc_head[consumer]; in netxen_process_rcv_ring()
1659 rxbuf = netxen_process_rcv(adapter, sds_ring, in netxen_process_rcv_ring()
1665 rxbuf = netxen_process_lro(adapter, sds_ring, in netxen_process_rcv_ring()
1669 netxen_handle_fw_message(desc_cnt, consumer, sds_ring); in netxen_process_rcv_ring()
1677 list_add_tail(&rxbuf->list, &sds_ring->free_list[ring]); in netxen_process_rcv_ring()
1681 desc = &sds_ring->desc_head[consumer]; in netxen_process_rcv_ring()
1684 consumer = get_next_index(consumer, sds_ring->num_desc); in netxen_process_rcv_ring()
1693 if (!list_empty(&sds_ring->free_list[ring])) { in netxen_process_rcv_ring()
1694 list_for_each(cur, &sds_ring->free_list[ring]) { in netxen_process_rcv_ring()
1700 netxen_merge_rx_buffers(&sds_ring->free_list[ring], in netxen_process_rcv_ring()
1709 sds_ring->consumer = consumer; in netxen_process_rcv_ring()
1710 NXWRIO(adapter, sds_ring->crb_sts_consumer, consumer); in netxen_process_rcv_ring()