Lines 417-426
qla_pci_attach(device_t dev)
Link Here
|
417 |
__func__); |
417 |
__func__); |
418 |
goto qla_pci_attach_err; |
418 |
goto qla_pci_attach_err; |
419 |
} |
419 |
} |
420 |
device_printf(dev, "%s: ha %p pci_func 0x%x rsrc_count 0x%08x" |
420 |
QL_DPRINT2(2, (dev, "%s: ha %p pci_func 0x%x rsrc_count 0x%08x" |
421 |
" msix_count 0x%x pci_reg %p pci_reg1 %p num_rcvq = %d\n", |
421 |
" msix_count 0x%x pci_reg %p pci_reg1 %p num_rcvq = %d\n", |
422 |
__func__, ha, ha->pci_func, rsrc_len, ha->msix_count, |
422 |
__func__, ha, ha->pci_func, rsrc_len, ha->msix_count, |
423 |
ha->pci_reg, ha->pci_reg1, num_rcvq); |
423 |
ha->pci_reg, ha->pci_reg1, num_rcvq)); |
424 |
|
424 |
|
425 |
if ((ha->msix_count < 64) || (num_rcvq != 32)) { |
425 |
if ((ha->msix_count < 64) || (num_rcvq != 32)) { |
426 |
if (ha->hw.num_sds_rings > 15) { |
426 |
if (ha->hw.num_sds_rings > 15) { |
Lines 1295-1303
qla_send(qla_host_t *ha, struct mbuf **m_headp, uint32_t txr_idx,
Link Here
|
1295 |
"mbuf = %p\n", __func__, __LINE__, txr_idx, tx_idx,\ |
1295 |
"mbuf = %p\n", __func__, __LINE__, txr_idx, tx_idx,\ |
1296 |
ha->tx_ring[txr_idx].tx_buf[tx_idx].m_head)); |
1296 |
ha->tx_ring[txr_idx].tx_buf[tx_idx].m_head)); |
1297 |
|
1297 |
|
1298 |
device_printf(ha->pci_dev, "%s [%d]: txr_idx = %d tx_idx = %d " |
1298 |
QL_DPRINT2(ha, (ha->pci_dev, "%s [%d]: txr_idx = %d tx_idx = %d " |
1299 |
"mbuf = %p\n", __func__, __LINE__, txr_idx, tx_idx, |
1299 |
"mbuf = %p\n", __func__, __LINE__, txr_idx, tx_idx, |
1300 |
ha->tx_ring[txr_idx].tx_buf[tx_idx].m_head); |
1300 |
ha->tx_ring[txr_idx].tx_buf[tx_idx].m_head)); |
1301 |
|
1301 |
|
1302 |
if (m_head) |
1302 |
if (m_head) |
1303 |
m_freem(m_head); |
1303 |
m_freem(m_head); |
1304 |
- |
|
|