On 8 November 2012 06:34, Andre Oppermann <an...@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 _______________________________________________ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"