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

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

typhoon: convert to SKB paged frag API.



Signed-off-by: default avatarIan Campbell <ian.campbell@citrix.com>
Cc: David Dillow <dave@thedillows.org>
Cc: netdev@vger.kernel.org
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent ea968771
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -819,8 +819,7 @@ typhoon_start_tx(struct sk_buff *skb, struct net_device *dev)
			typhoon_inc_tx_index(&txRing->lastWrite, 1);

			len = frag->size;
			frag_addr = (void *) page_address(frag->page) +
						frag->page_offset;
			frag_addr = skb_frag_address(frag);
			skb_dma = pci_map_single(tp->tx_pdev, frag_addr, len,
					 PCI_DMA_TODEVICE);
			txd->flags = TYPHOON_FRAG_DESC | TYPHOON_DESC_VALID;