mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-29 20:56:41 +07:00
qlge: Reduce debug print output.
Get rid of some noise that is for debug only. Signed-off-by: Ron Mercer <ron.mercer@qlogic.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
b0c2aadfa4
commit
4974097a97
@ -58,8 +58,8 @@ static const u32 default_msg =
|
|||||||
NETIF_MSG_IFUP |
|
NETIF_MSG_IFUP |
|
||||||
NETIF_MSG_RX_ERR |
|
NETIF_MSG_RX_ERR |
|
||||||
NETIF_MSG_TX_ERR |
|
NETIF_MSG_TX_ERR |
|
||||||
NETIF_MSG_TX_QUEUED |
|
/* NETIF_MSG_TX_QUEUED | */
|
||||||
NETIF_MSG_INTR | NETIF_MSG_TX_DONE | NETIF_MSG_RX_STATUS |
|
/* NETIF_MSG_INTR | NETIF_MSG_TX_DONE | NETIF_MSG_RX_STATUS | */
|
||||||
/* NETIF_MSG_PKTDATA | */
|
/* NETIF_MSG_PKTDATA | */
|
||||||
NETIF_MSG_HW | NETIF_MSG_WOL | 0;
|
NETIF_MSG_HW | NETIF_MSG_WOL | 0;
|
||||||
|
|
||||||
@ -327,7 +327,7 @@ static int ql_set_mac_addr_reg(struct ql_adapter *qdev, u8 *addr, u32 type,
|
|||||||
(addr[2] << 24) | (addr[3] << 16) | (addr[4] << 8) |
|
(addr[2] << 24) | (addr[3] << 16) | (addr[4] << 8) |
|
||||||
(addr[5]);
|
(addr[5]);
|
||||||
|
|
||||||
QPRINTK(qdev, IFUP, INFO,
|
QPRINTK(qdev, IFUP, DEBUG,
|
||||||
"Adding %s address %pM"
|
"Adding %s address %pM"
|
||||||
" at index %d in the CAM.\n",
|
" at index %d in the CAM.\n",
|
||||||
((type ==
|
((type ==
|
||||||
@ -2552,7 +2552,7 @@ static int ql_start_rx_ring(struct ql_adapter *qdev, struct rx_ring *rx_ring)
|
|||||||
QPRINTK(qdev, IFUP, DEBUG, "Invalid rx_ring->type = %d.\n",
|
QPRINTK(qdev, IFUP, DEBUG, "Invalid rx_ring->type = %d.\n",
|
||||||
rx_ring->type);
|
rx_ring->type);
|
||||||
}
|
}
|
||||||
QPRINTK(qdev, IFUP, INFO, "Initializing rx work queue.\n");
|
QPRINTK(qdev, IFUP, DEBUG, "Initializing rx work queue.\n");
|
||||||
err = ql_write_cfg(qdev, cqicb, sizeof(struct cqicb),
|
err = ql_write_cfg(qdev, cqicb, sizeof(struct cqicb),
|
||||||
CFG_LCQ, rx_ring->cq_id);
|
CFG_LCQ, rx_ring->cq_id);
|
||||||
if (err) {
|
if (err) {
|
||||||
@ -2605,7 +2605,7 @@ static int ql_start_tx_ring(struct ql_adapter *qdev, struct tx_ring *tx_ring)
|
|||||||
QPRINTK(qdev, IFUP, ERR, "Failed to load tx_ring.\n");
|
QPRINTK(qdev, IFUP, ERR, "Failed to load tx_ring.\n");
|
||||||
return err;
|
return err;
|
||||||
}
|
}
|
||||||
QPRINTK(qdev, IFUP, INFO, "Successfully loaded WQICB.\n");
|
QPRINTK(qdev, IFUP, DEBUG, "Successfully loaded WQICB.\n");
|
||||||
return err;
|
return err;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -2647,7 +2647,7 @@ static void ql_enable_msix(struct ql_adapter *qdev)
|
|||||||
(qdev->pdev, qdev->msi_x_entry, qdev->rx_ring_count)) {
|
(qdev->pdev, qdev->msi_x_entry, qdev->rx_ring_count)) {
|
||||||
set_bit(QL_MSIX_ENABLED, &qdev->flags);
|
set_bit(QL_MSIX_ENABLED, &qdev->flags);
|
||||||
qdev->intr_count = qdev->rx_ring_count;
|
qdev->intr_count = qdev->rx_ring_count;
|
||||||
QPRINTK(qdev, IFUP, INFO,
|
QPRINTK(qdev, IFUP, DEBUG,
|
||||||
"MSI-X Enabled, got %d vectors.\n",
|
"MSI-X Enabled, got %d vectors.\n",
|
||||||
qdev->intr_count);
|
qdev->intr_count);
|
||||||
return;
|
return;
|
||||||
@ -2774,11 +2774,11 @@ static void ql_free_irq(struct ql_adapter *qdev)
|
|||||||
if (test_bit(QL_MSIX_ENABLED, &qdev->flags)) {
|
if (test_bit(QL_MSIX_ENABLED, &qdev->flags)) {
|
||||||
free_irq(qdev->msi_x_entry[i].vector,
|
free_irq(qdev->msi_x_entry[i].vector,
|
||||||
&qdev->rx_ring[i]);
|
&qdev->rx_ring[i]);
|
||||||
QPRINTK(qdev, IFDOWN, ERR,
|
QPRINTK(qdev, IFDOWN, DEBUG,
|
||||||
"freeing msix interrupt %d.\n", i);
|
"freeing msix interrupt %d.\n", i);
|
||||||
} else {
|
} else {
|
||||||
free_irq(qdev->pdev->irq, &qdev->rx_ring[0]);
|
free_irq(qdev->pdev->irq, &qdev->rx_ring[0]);
|
||||||
QPRINTK(qdev, IFDOWN, ERR,
|
QPRINTK(qdev, IFDOWN, DEBUG,
|
||||||
"freeing msi interrupt %d.\n", i);
|
"freeing msi interrupt %d.\n", i);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -2809,7 +2809,7 @@ static int ql_request_irq(struct ql_adapter *qdev)
|
|||||||
i);
|
i);
|
||||||
goto err_irq;
|
goto err_irq;
|
||||||
} else {
|
} else {
|
||||||
QPRINTK(qdev, IFUP, INFO,
|
QPRINTK(qdev, IFUP, DEBUG,
|
||||||
"Hooked intr %d, queue type %s%s%s, with name %s.\n",
|
"Hooked intr %d, queue type %s%s%s, with name %s.\n",
|
||||||
i,
|
i,
|
||||||
qdev->rx_ring[i].type ==
|
qdev->rx_ring[i].type ==
|
||||||
@ -2884,14 +2884,14 @@ static int ql_start_rss(struct ql_adapter *qdev)
|
|||||||
get_random_bytes((void *)&ricb->ipv6_hash_key[0], 40);
|
get_random_bytes((void *)&ricb->ipv6_hash_key[0], 40);
|
||||||
get_random_bytes((void *)&ricb->ipv4_hash_key[0], 16);
|
get_random_bytes((void *)&ricb->ipv4_hash_key[0], 16);
|
||||||
|
|
||||||
QPRINTK(qdev, IFUP, INFO, "Initializing RSS.\n");
|
QPRINTK(qdev, IFUP, DEBUG, "Initializing RSS.\n");
|
||||||
|
|
||||||
status = ql_write_cfg(qdev, ricb, sizeof(ricb), CFG_LR, 0);
|
status = ql_write_cfg(qdev, ricb, sizeof(ricb), CFG_LR, 0);
|
||||||
if (status) {
|
if (status) {
|
||||||
QPRINTK(qdev, IFUP, ERR, "Failed to load RICB.\n");
|
QPRINTK(qdev, IFUP, ERR, "Failed to load RICB.\n");
|
||||||
return status;
|
return status;
|
||||||
}
|
}
|
||||||
QPRINTK(qdev, IFUP, INFO, "Successfully loaded RICB.\n");
|
QPRINTK(qdev, IFUP, DEBUG, "Successfully loaded RICB.\n");
|
||||||
return status;
|
return status;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -3053,7 +3053,7 @@ static int ql_adapter_initialize(struct ql_adapter *qdev)
|
|||||||
|
|
||||||
/* Start NAPI for the RSS queues. */
|
/* Start NAPI for the RSS queues. */
|
||||||
for (i = qdev->rss_ring_first_cq_id; i < qdev->rx_ring_count; i++) {
|
for (i = qdev->rss_ring_first_cq_id; i < qdev->rx_ring_count; i++) {
|
||||||
QPRINTK(qdev, IFUP, INFO, "Enabling NAPI for rx_ring[%d].\n",
|
QPRINTK(qdev, IFUP, DEBUG, "Enabling NAPI for rx_ring[%d].\n",
|
||||||
i);
|
i);
|
||||||
napi_enable(&qdev->rx_ring[i].napi);
|
napi_enable(&qdev->rx_ring[i].napi);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user