mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-27 20:07:09 +00:00
ksz884x: convert to SKB paged frag API.
Signed-off-by: Ian Campbell <ian.campbell@citrix.com> Cc: netdev@vger.kernel.org Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
f327358ab2
commit
787343ad3d
@ -4704,8 +4704,7 @@ static void send_packet(struct sk_buff *skb, struct net_device *dev)
|
|||||||
|
|
||||||
dma_buf->dma = pci_map_single(
|
dma_buf->dma = pci_map_single(
|
||||||
hw_priv->pdev,
|
hw_priv->pdev,
|
||||||
page_address(this_frag->page) +
|
skb_frag_address(this_frag),
|
||||||
this_frag->page_offset,
|
|
||||||
dma_buf->len,
|
dma_buf->len,
|
||||||
PCI_DMA_TODEVICE);
|
PCI_DMA_TODEVICE);
|
||||||
set_tx_buf(desc, dma_buf->dma);
|
set_tx_buf(desc, dma_buf->dma);
|
||||||
|
Loading…
Reference in New Issue
Block a user