RE: Network Stack SKB Reallocation

2009-10-27 Thread john . p . price
Haws [mailto:jonathan.h...@sdl.usu.edu] Sent: Tuesday, October 27, 2009 10:28 AM To: Price, John @ SDS; linuxppc-dev@lists.ozlabs.org Subject: RE: Network Stack SKB Reallocation Hi John, > I have a custom board with custom fpga's connected to the PPC405EX > EBC > bus on banks 2 an

RE: Network Stack SKB Reallocation

2009-10-27 Thread Jonathan Haws
Hi John, > I have a custom board with custom fpga's connected to the PPC405EX > EBC > bus on banks 2 and 3. Running linux 2.6.29.1. The board collects > data > and dma's it to a scatter-gather dma buffer and then uses TCP/writev > + > Ethernet 9KB Jumbo packets to transmit data off of the board.

RE: Network Stack SKB Reallocation

2009-10-27 Thread john . p . price
Hi Jonathan, I've read your post with great interest. I have a custom board with custom fpga's connected to the PPC405EX EBC bus on banks 2 and 3. Running linux 2.6.29.1. The board collects data and dma's it to a scatter-gather dma buffer and then uses TCP/writev + Ethernet 9KB Jumbo packets to

Re: Network Stack SKB Reallocation

2009-10-26 Thread Michael Buesch
On Monday 26 October 2009 19:43:00 Jonathan Haws wrote: > Quick question about the network stack in general: > > Does the stack itself release an SKB allocated by the device driver back to > the heap upstream, or does it require that the device driver handle that? There's the concept of passing

RE: Network Stack SKB Reallocation

2009-10-26 Thread Jonathan Haws
So, in my case, I allocate a bunch of skb's that I want to be able to reuse during network operation (256 in fact). When I pass it up the stack, the stack will free that skb back to the system making any further use of it invalid until I call alloc_skb() again? Thanks. > On Monday 26 October