开发者

Can a single page can be used for multiple skbs which are not fragments

I have a networking hardware which does Rx coalescing , in which frames partaining to a nic device are combined and s开发者_运维技巧end as a big chunk ( Greater than mtu) to the driver.

In the driver i have to split them according to mtu size and need to sent up to the stack.

  1. I want to know is there a way to allocate a page so that i can split that after the device DMA's the frame ?
  2. Can a single Page can be shared across multiple skbs (not accross frags in a same skb)? If so what special care i need to take which unmapping the page?
  3. Is there a mechanism to allocate sgs and map them to a page and after the device does DMA , split this sgs and point to skb and send to the stack

Waiting for the reponses

Thanks pradeep G

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜