aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/net/cxgb3/sge.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/cxgb3/sge.c b/drivers/net/cxgb3/sge.c
index 90f6f82d3bf2..a482429846eb 100644
--- a/drivers/net/cxgb3/sge.c
+++ b/drivers/net/cxgb3/sge.c
@@ -2029,6 +2029,8 @@ static void lro_add_page(struct adapter *adap, struct sge_qset *qs,
2029 pci_unmap_single(adap->pdev, pci_unmap_addr(sd, dma_addr), 2029 pci_unmap_single(adap->pdev, pci_unmap_addr(sd, dma_addr),
2030 fl->buf_size, PCI_DMA_FROMDEVICE); 2030 fl->buf_size, PCI_DMA_FROMDEVICE);
2031 2031
2032 prefetch(&qs->lro_frag_tbl);
2033
2032 rx_frag += nr_frags; 2034 rx_frag += nr_frags;
2033 rx_frag->page = sd->pg_chunk.page; 2035 rx_frag->page = sd->pg_chunk.page;
2034 rx_frag->page_offset = sd->pg_chunk.offset + offset; 2036 rx_frag->page_offset = sd->pg_chunk.offset + offset;
@@ -2997,6 +2999,7 @@ int t3_sge_alloc_qset(struct adapter *adapter, unsigned int id, int nports,
2997 V_NEWTIMER(q->rspq.holdoff_tmr)); 2999 V_NEWTIMER(q->rspq.holdoff_tmr));
2998 3000
2999 mod_timer(&q->tx_reclaim_timer, jiffies + TX_RECLAIM_PERIOD); 3001 mod_timer(&q->tx_reclaim_timer, jiffies + TX_RECLAIM_PERIOD);
3002
3000 return 0; 3003 return 0;
3001 3004
3002err_unlock: 3005err_unlock: