aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/s390
diff options
context:
space:
mode:
authorIan Campbell <Ian.Campbell@citrix.com>2011-08-30 20:47:02 -0400
committerDavid S. Miller <davem@davemloft.net>2011-09-15 15:35:00 -0400
commit8d36bb0de70bfd57f15c48bc8fb6886f3dcc96ae (patch)
tree52a527455ca15a242ee47a6f1c15423f47209056 /drivers/s390
parent4bb97cae662ea6e2a5aa5982d0b289a8c48d64c6 (diff)
qeth: convert to SKB paged frag API.
Signed-off-by: Ian Campbell <ian.campbell@citrix.com> Cc: Ursula Braun <ursula.braun@de.ibm.com> Cc: Frank Blaschka <blaschka@linux.vnet.ibm.com> Cc: linux390@de.ibm.com Cc: Martin Schwidefsky <schwidefsky@de.ibm.com> Cc: Heiko Carstens <heiko.carstens@de.ibm.com> Cc: linux-s390@vger.kernel.org Cc: netdev@vger.kernel.org Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/s390')
-rw-r--r--drivers/s390/net/qeth_core_main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/s390/net/qeth_core_main.c b/drivers/s390/net/qeth_core_main.c
index 97172f8a15b7..81534437373a 100644
--- a/drivers/s390/net/qeth_core_main.c
+++ b/drivers/s390/net/qeth_core_main.c
@@ -3694,7 +3694,8 @@ static inline void __qeth_fill_buffer(struct sk_buff *skb,
3694 3694
3695 for (cnt = 0; cnt < skb_shinfo(skb)->nr_frags; cnt++) { 3695 for (cnt = 0; cnt < skb_shinfo(skb)->nr_frags; cnt++) {
3696 frag = &skb_shinfo(skb)->frags[cnt]; 3696 frag = &skb_shinfo(skb)->frags[cnt];
3697 buffer->element[element].addr = (char *)page_to_phys(frag->page) 3697 buffer->element[element].addr = (char *)
3698 page_to_phys(skb_frag_page(frag))
3698 + frag->page_offset; 3699 + frag->page_offset;
3699 buffer->element[element].length = frag->size; 3700 buffer->element[element].length = frag->size;
3700 buffer->element[element].eflags = SBAL_EFLAGS_MIDDLE_FRAG; 3701 buffer->element[element].eflags = SBAL_EFLAGS_MIDDLE_FRAG;