[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Maximum size for sk_buff?
Hi Kiran, Rogers and list,
On Saturday 07 February 2004 13:12, Kiran Kumar wrote:
> --- Shine Mohamed <shinemohamed_j@naturesoft.net>
>
> wrote:
> > The maximum size of the skbuff depends on the
> > underlying
> > protocol used.
Here the problem is not the maximum
size of skbuff.... but the max size for
"pre-allocate receiving sk_buff's". I think
its better to be the MTU of the underlying
protocol.
Eg:- 8139cp.c
Please correct me if I am wrong.
> >
> > For example if the network device is an ethernet
> > card
> > which using the protocol IEEE802.3 the maximum size
> > is 1536 KB (Pls check for the exact value) per
> > packet.
> >
> > And if another standards such as IEEE802.11 it
> > varies.
>
> skbuff is a generic data structure used in the
> networking code. It is not specific to
> ethernet/whatever link layer protocol being used. For
> eg., it can store all the fragments of an IP datagram.
> skbuffs can definitely be larger (than this 1536 bytes
> limit).
>
>
> =====
> Regards,
> Kiran Kumar Immidi
Regards,
Shine Mohamed
>
> __________________________________
> Do you Yahoo!?
> Yahoo! Finance: Get your refund fast by filing online.
> http://taxes.yahoo.com/filing.html
>
> --
> Kernelnewbies: Help each other learn about the Linux kernel.
> Archive: http://mail.nl.linux.org/kernelnewbies/
> FAQ: http://kernelnewbies.org/faq/
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive: http://mail.nl.linux.org/kernelnewbies/
FAQ: http://kernelnewbies.org/faq/