Hi All,<div><br></div><div>      Is it possible to map a address like skb-&gt;data in to struct page. My requirement is to convert multiple skb</div><div>to a single master skb, having all the data of other skb. i.e, i want add skb-&gt;data of multiple skb to a single skb</div>
<div>as the fragments. So instead of making a memcpy every time, i just call skb_add_rx_frag</div><div><br></div><div>my requirement is some thing like this</div><div><br></div><div><b>.</b></div><div><b>.</b></div><div><b>struct page *page = virt_to_page(skb-&gt;data);</b></div>
<div><b><br></b></div><div><b>skb_add_rx_frag(master_skb, skb_shinfo(master_skb)-&gt;nr_frags, page, off, skb-&gt;len)</b></div><div><b>.</b></div><div><b>.</b></div><div><br></div><div>And can some one please tell what is the use of the functions like <b>virt_to_page</b> and <b>kmap_atomic_to_page</b>,</div>
<div>i tried calling virt_to_page(skb-&gt;data), but when i print the data in the page address ( page_address(page) ) and</div><div>the data in pointed by skb-&gt;data, i came to know its mapping to a wrong page. so can some one please explain</div>
<div>me what is correct way to do this.</div><div><br></div><div><br></div><div>Thanks in advance.</div>