Lines 167-186
qls_sysctl_get_drvr_stats(SYSCTL_HANDLER_ARGS)
Link Here
|
167 |
|
167 |
|
168 |
for (i = 0; i < ha->num_tx_rings; i++) { |
168 |
for (i = 0; i < ha->num_tx_rings; i++) { |
169 |
|
169 |
|
170 |
device_printf(ha->pci_dev, |
170 |
QL_DPRINT2((ha->pci_dev, |
171 |
"%s: tx_ring[%d].tx_frames= %p\n", |
171 |
"%s: tx_ring[%d].tx_frames= %p\n", |
172 |
__func__, i, |
172 |
__func__, i, |
173 |
(void *)ha->tx_ring[i].tx_frames); |
173 |
(void *)ha->tx_ring[i].tx_frames)); |
174 |
|
174 |
|
175 |
device_printf(ha->pci_dev, |
175 |
QL_DPRINT2((ha->pci_dev, |
176 |
"%s: tx_ring[%d].tx_tso_frames= %p\n", |
176 |
"%s: tx_ring[%d].tx_tso_frames= %p\n", |
177 |
__func__, i, |
177 |
__func__, i, |
178 |
(void *)ha->tx_ring[i].tx_tso_frames); |
178 |
(void *)ha->tx_ring[i].tx_tso_frames)); |
179 |
|
179 |
|
180 |
device_printf(ha->pci_dev, |
180 |
QL_DPRINT2((ha->pci_dev, |
181 |
"%s: tx_ring[%d].tx_vlan_frames= %p\n", |
181 |
"%s: tx_ring[%d].tx_vlan_frames= %p\n", |
182 |
__func__, i, |
182 |
__func__, i, |
183 |
(void *)ha->tx_ring[i].tx_vlan_frames); |
183 |
(void *)ha->tx_ring[i].tx_vlan_frames)); |
184 |
|
184 |
|
185 |
device_printf(ha->pci_dev, |
185 |
device_printf(ha->pci_dev, |
186 |
"%s: tx_ring[%d].txr_free= 0x%08x\n", |
186 |
"%s: tx_ring[%d].txr_free= 0x%08x\n", |
Lines 205-219
qls_sysctl_get_drvr_stats(SYSCTL_HANDLER_ARGS)
Link Here
|
205 |
|
205 |
|
206 |
for (i = 0; i < ha->num_rx_rings; i++) { |
206 |
for (i = 0; i < ha->num_rx_rings; i++) { |
207 |
|
207 |
|
208 |
device_printf(ha->pci_dev, |
208 |
QL_DPRINT2((ha->pci_dev, |
209 |
"%s: rx_ring[%d].rx_int= %p\n", |
209 |
"%s: rx_ring[%d].rx_int= %p\n", |
210 |
__func__, i, |
210 |
__func__, i, |
211 |
(void *)ha->rx_ring[i].rx_int); |
211 |
(void *)ha->rx_ring[i].rx_int)); |
212 |
|
212 |
|
213 |
device_printf(ha->pci_dev, |
213 |
QL_DPRINT2((ha->pci_dev, |
214 |
"%s: rx_ring[%d].rss_int= %p\n", |
214 |
"%s: rx_ring[%d].rss_int= %p\n", |
215 |
__func__, i, |
215 |
__func__, i, |
216 |
(void *)ha->rx_ring[i].rss_int); |
216 |
(void *)ha->rx_ring[i].rss_int)); |
217 |
|
217 |
|
218 |
device_printf(ha->pci_dev, |
218 |
device_printf(ha->pci_dev, |
219 |
"%s: rx_ring[%d].lbq_next= 0x%08x\n", |
219 |
"%s: rx_ring[%d].lbq_next= 0x%08x\n", |
Lines 394-402
qls_pci_attach(device_t dev)
Link Here
|
394 |
|
394 |
|
395 |
ha->msix_count = qls_get_msix_count(ha); |
395 |
ha->msix_count = qls_get_msix_count(ha); |
396 |
|
396 |
|
397 |
device_printf(dev, "\n%s: ha %p pci_func 0x%x msix_count 0x%x" |
397 |
QL_DPRINT2((dev, "\n%s: ha %p pci_func 0x%x msix_count 0x%x" |
398 |
" pci_reg %p pci_reg1 %p\n", __func__, ha, |
398 |
" pci_reg %p pci_reg1 %p\n", __func__, ha, |
399 |
ha->pci_func, ha->msix_count, ha->pci_reg, ha->pci_reg1); |
399 |
ha->pci_func, ha->msix_count, ha->pci_reg, ha->pci_reg1)); |
400 |
|
400 |
|
401 |
if (pci_alloc_msix(dev, &ha->msix_count)) { |
401 |
if (pci_alloc_msix(dev, &ha->msix_count)) { |
402 |
device_printf(dev, "%s: pci_alloc_msi[%d] failed\n", __func__, |
402 |
device_printf(dev, "%s: pci_alloc_msi[%d] failed\n", __func__, |
403 |
- |
|
|