Lines Matching refs:queue_addr
112 return (adapter->rx_queue.queue_addr[adapter->rx_queue.index].toggle == adapter->rx_queue.toggle); in ibmveth_rxq_pending_buffer()
117 return (adapter->rx_queue.queue_addr[adapter->rx_queue.index].valid); in ibmveth_rxq_buffer_valid()
122 return (adapter->rx_queue.queue_addr[adapter->rx_queue.index].offset); in ibmveth_rxq_frame_offset()
127 return (adapter->rx_queue.queue_addr[adapter->rx_queue.index].length); in ibmveth_rxq_frame_length()
343 u64 correlator = adapter->rx_queue.queue_addr[adapter->rx_queue.index].correlator; in ibmveth_rxq_get_buffer()
357 u64 correlator = adapter->rx_queue.queue_addr[q_index].correlator; in ibmveth_rxq_recycle_buffer()
375 …ibmveth_remove_buffer_from_pool(adapter, adapter->rx_queue.queue_addr[adapter->rx_queue.index].cor… in ibmveth_rxq_recycle_buffer()
386 …ibmveth_remove_buffer_from_pool(adapter, adapter->rx_queue.queue_addr[adapter->rx_queue.index].cor… in ibmveth_rxq_harvest_buffer()
414 if(adapter->rx_queue.queue_addr != NULL) { in ibmveth_cleanup()
419 kfree(adapter->rx_queue.queue_addr); in ibmveth_cleanup()
420 adapter->rx_queue.queue_addr = NULL; in ibmveth_cleanup()
454 adapter->rx_queue.queue_addr = kmalloc(adapter->rx_queue.queue_len, GFP_KERNEL); in ibmveth_open()
456 if(!adapter->rx_queue.queue_addr) { in ibmveth_open()
464 …adapter->rx_queue.queue_dma = vio_map_single(adapter->vdev, adapter->rx_queue.queue_addr, adapter-… in ibmveth_open()
497 ibmveth_debug_printk("receive q @ 0x%p\n", adapter->rx_queue.queue_addr); in ibmveth_open()