svn commit: r242739 - stable/9/sys/dev/ti
Adrian Chadd
adrian at freebsd.org
Thu Nov 8 23:33:00 UTC 2012
On 8 November 2012 06:34, Andre Oppermann <andre at freebsd.org> wrote:
> TCP/UDP doesn't (want to) generate any fragments at all and tries
> to avoid it at almost all cost. We want to send very large packets
> and have the NIC fragment/segment it (TSO/UDP frag offload).
What about if it's a router and the frames don't have DF set?
Not that it should happen often, however..
>
>> We could create a device or interface flag that indicates whether the
>> driver can handle multiple mbufs chained via m_nextpkt through
>> if_transmit(), and then teach one or two drivers that particular
>> logic.
>
>
> Agreed. I think that's the way to go. It must be very well specified
> in semantics though. Otherwise it's just too easy to leak mbuf all
> over the place.
I mentioned this to Robert Watson today at the FreeBSD vendor summit
and he said much the same thing about testing and assertions.
Adrian
More information about the freebsd-net
mailing list