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

qla3xxx: convert to SKB paged frag API.

Signed-off-by: default avatarIan Campbell <ian.campbell@citrix.com>
Cc: Ron Mercer <ron.mercer@qlogic.com>
Cc: linux-driver@qlogic.com
Cc: netdev@vger.kernel.org
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 8d36bb0d
...@@ -2388,8 +2388,7 @@ static int ql_send_map(struct ql3_adapter *qdev, ...@@ -2388,8 +2388,7 @@ static int ql_send_map(struct ql3_adapter *qdev,
seg++; seg++;
} }
map = pci_map_page(qdev->pdev, frag->page, map = skb_frag_dma_map(&qdev->pdev->dev, frag, 0, frag->size,
frag->page_offset, frag->size,
PCI_DMA_TODEVICE); PCI_DMA_TODEVICE);
err = pci_dma_mapping_error(qdev->pdev, map); err = pci_dma_mapping_error(qdev->pdev, map);
......
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