Re: About structure sk_buff

2016-06-06 Thread Grant Grundler
On Mon, Jun 6, 2016 at 3:10 AM, Corcodel Marian wrote: > > > On 06.06.2016 12:59, Corcodel Marian wrote: > >> Hi >> Why sk_buff have memory allocated on hardware drivers on majority nic >> drivers? >> > This seems like an appropriate question for netdev mailing list:

Re: About structure sk_buff

2016-06-06 Thread Corcodel Marian
On 06.06.2016 12:59, Corcodel Marian wrote: Hi Why sk_buff have memory allocated on hardware drivers on majority nic drivers? This is wrong on rx mode look like: struct sk_buff *skb; struct device *d = >pci_dev->dev; data = rtl8169_align(data); dma_sync_single_for_cpu(d,