Commit e859ce4c authored by Ian Campbell's avatar Ian Campbell Committed by David S. Miller

netxen: convert to SKB paged frag API.

Signed-off-by: default avatarIan Campbell <ian.campbell@citrix.com>
Cc: Sony Chacko <sony.chacko@qlogic.com>
Cc: Rajesh Borundia <rajesh.borundia@qlogic.com>
Cc: netdev@vger.kernel.org
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent f106358b
...@@ -1844,8 +1844,8 @@ netxen_map_tx_skb(struct pci_dev *pdev, ...@@ -1844,8 +1844,8 @@ netxen_map_tx_skb(struct pci_dev *pdev,
frag = &skb_shinfo(skb)->frags[i]; frag = &skb_shinfo(skb)->frags[i];
nf = &pbuf->frag_array[i+1]; nf = &pbuf->frag_array[i+1];
map = pci_map_page(pdev, frag->page, frag->page_offset, map = skb_frag_dma_map(&pdev->dev, frag, 0, frag->size,
frag->size, PCI_DMA_TODEVICE); PCI_DMA_TODEVICE);
if (pci_dma_mapping_error(pdev, map)) if (pci_dma_mapping_error(pdev, map))
goto unwind; goto unwind;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment