Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f0d06d82 authored by Ian Campbell's avatar Ian Campbell Committed by David S. Miller
Browse files

s2io: convert to SKB paged frag API.



Signed-off-by: default avatarIan Campbell <ian.campbell@citrix.com>
Cc: Jon Mason <jdmason@kudzu.us>
Cc: netdev@vger.kernel.org
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 8decf868
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -4190,8 +4190,8 @@ static netdev_tx_t s2io_xmit(struct sk_buff *skb, struct net_device *dev)
		if (!frag->size)
			continue;
		txdp++;
		txdp->Buffer_Pointer = (u64)pci_map_page(sp->pdev, frag->page,
							 frag->page_offset,
		txdp->Buffer_Pointer = (u64)skb_frag_dma_map(&sp->pdev->dev,
							     frag, 0,
							     frag->size,
							     PCI_DMA_TODEVICE);
		txdp->Control_1 = TXD_BUFFER0_SIZE(frag->size);