projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6a930b9
)
chelsio: convert to SKB paged frag API.
author
Ian Campbell
<
[email protected]
>
Wed, 5 Oct 2011 00:28:52 +0000
(
00:28
+0000)
committer
David S. Miller
<
[email protected]
>
Wed, 5 Oct 2011 21:36:01 +0000
(17:36 -0400)
Signed-off-by: Ian Campbell <
[email protected]
>
Cc: Divy Le Ray <
[email protected]
>
Cc: Dimitris Michailidis <
[email protected]
>
Cc: Casey Leedom <
[email protected]
>
Cc:
[email protected]
Signed-off-by: David S. Miller <
[email protected]
>
drivers/net/ethernet/chelsio/cxgb/sge.c
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/chelsio/cxgb/sge.c
b/drivers/net/ethernet/chelsio/cxgb/sge.c
index e9a03fffef15e977116efa674be5cfc2896e241a..7cde425f2b846febe7830f12152db74c946c47c7 100644
(file)
--- a/
drivers/net/ethernet/chelsio/cxgb/sge.c
+++ b/
drivers/net/ethernet/chelsio/cxgb/sge.c
@@
-1277,9
+1277,8
@@
static inline void write_tx_descs(struct adapter *adapter, struct sk_buff *skb,
ce = q->centries;
}
- mapping = pci_map_page(adapter->pdev, frag->page,
- frag->page_offset, frag->size,
- PCI_DMA_TODEVICE);
+ mapping = skb_frag_dma_map(&adapter->pdev->dev, frag, 0,
+ frag->size, PCI_DMA_TODEVICE);
desc_mapping = mapping;
desc_len = frag->size;