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

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

jme: convert to SKB paged frag API.



Signed-off-by: default avatarIan Campbell <ian.campbell@citrix.com>
Cc: Guo-Fu Tseng <cooldavid@cooldavid.org>
Cc: netdev@vger.kernel.org
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 8838a538
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -1928,7 +1928,8 @@ jme_map_tx_skb(struct jme_adapter *jme, struct sk_buff *skb, int idx)
		ctxdesc = txdesc + ((idx + i + 2) & (mask));
		ctxbi = txbi + ((idx + i + 2) & (mask));

		jme_fill_tx_map(jme->pdev, ctxdesc, ctxbi, frag->page,
		jme_fill_tx_map(jme->pdev, ctxdesc, ctxbi,
				skb_frag_page(frag),
				frag->page_offset, frag->size, hidma);
	}