Re: [RFC v2] mac80211: assign needed_headroom/tailroom for netdevs

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: David Miller <davem@...>
Cc: <tomasw@...>, <linville@...>, <netdev@...>, <linux-wireless@...>
Date: Monday, May 5, 2008 - 3:05 pm

On Mon, 2008-05-05 at 11:58 -0700, David Miller wrote:

What does "do IP fragmentation in hardware" mean?

ip_output.c says:

 *      This IP datagram is too large to be sent in one piece.  Break it up=
 into
 *      smaller pieces (each of size equal to IP header plus
 *      a block of the data of the original IP data part) that will yet fit=
 in a
 *      single device frame, and queue such a frame for sending.

and later

                        /* Prepare header of the next frame,
                         * before previous one went down. */

so that seems to indicate that if the hardware just sends it all out in
the right order it'll be fine.

So the point is that the hardware will have to split it up into ethernet
frames on the IP boundaries?

johannes
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [RFC v2] mac80211: assign needed_headroom/tailroom for n..., Johannes Berg, (Mon May 5, 3:05 pm)