aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/chelsio/sge.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/chelsio/sge.c')
-rw-r--r--drivers/net/chelsio/sge.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/net/chelsio/sge.c b/drivers/net/chelsio/sge.c
index 8e12505ac3aa..71384114a4ed 100644
--- a/drivers/net/chelsio/sge.c
+++ b/drivers/net/chelsio/sge.c
@@ -953,7 +953,7 @@ int t1_sge_intr_error_handler(struct sge *sge)
953 sge->stats.respQ_empty++; 953 sge->stats.respQ_empty++;
954 if (cause & F_RESPQ_OVERFLOW) { 954 if (cause & F_RESPQ_OVERFLOW) {
955 sge->stats.respQ_overflow++; 955 sge->stats.respQ_overflow++;
956 CH_ALERT("%s: SGE response queue overflow\n", 956 pr_alert("%s: SGE response queue overflow\n",
957 adapter->name); 957 adapter->name);
958 } 958 }
959 if (cause & F_FL_EXHAUSTED) { 959 if (cause & F_FL_EXHAUSTED) {
@@ -962,12 +962,12 @@ int t1_sge_intr_error_handler(struct sge *sge)
962 } 962 }
963 if (cause & F_PACKET_TOO_BIG) { 963 if (cause & F_PACKET_TOO_BIG) {
964 sge->stats.pkt_too_big++; 964 sge->stats.pkt_too_big++;
965 CH_ALERT("%s: SGE max packet size exceeded\n", 965 pr_alert("%s: SGE max packet size exceeded\n",
966 adapter->name); 966 adapter->name);
967 } 967 }
968 if (cause & F_PACKET_MISMATCH) { 968 if (cause & F_PACKET_MISMATCH) {
969 sge->stats.pkt_mismatch++; 969 sge->stats.pkt_mismatch++;
970 CH_ALERT("%s: SGE packet mismatch\n", adapter->name); 970 pr_alert("%s: SGE packet mismatch\n", adapter->name);
971 } 971 }
972 if (cause & SGE_INT_FATAL) 972 if (cause & SGE_INT_FATAL)
973 t1_fatal_err(adapter); 973 t1_fatal_err(adapter);
@@ -1101,7 +1101,7 @@ static void unexpected_offload(struct adapter *adapter, struct freelQ *fl)
1101 1101
1102 pci_dma_sync_single_for_cpu(adapter->pdev, pci_unmap_addr(ce, dma_addr), 1102 pci_dma_sync_single_for_cpu(adapter->pdev, pci_unmap_addr(ce, dma_addr),
1103 pci_unmap_len(ce, dma_len), PCI_DMA_FROMDEVICE); 1103 pci_unmap_len(ce, dma_len), PCI_DMA_FROMDEVICE);
1104 CH_ERR("%s: unexpected offload packet, cmd %u\n", 1104 pr_err("%s: unexpected offload packet, cmd %u\n",
1105 adapter->name, *skb->data); 1105 adapter->name, *skb->data);
1106 recycle_fl_buf(fl, fl->cidx); 1106 recycle_fl_buf(fl, fl->cidx);
1107} 1107}
@@ -1687,7 +1687,7 @@ static int t1_sge_tx(struct sk_buff *skb, struct adapter *adapter,
1687 netif_stop_queue(dev); 1687 netif_stop_queue(dev);
1688 set_bit(dev->if_port, &sge->stopped_tx_queues); 1688 set_bit(dev->if_port, &sge->stopped_tx_queues);
1689 sge->stats.cmdQ_full[2]++; 1689 sge->stats.cmdQ_full[2]++;
1690 CH_ERR("%s: Tx ring full while queue awake!\n", 1690 pr_err("%s: Tx ring full while queue awake!\n",
1691 adapter->name); 1691 adapter->name);
1692 } 1692 }
1693 spin_unlock(&q->lock); 1693 spin_unlock(&q->lock);