On Wed, Mar 26, 2014 at 9:31 PM, Rick Macklem <rmack...@uoguelph.ca> wrote:

>
> ie. I've suggested:
>     ifp->if_hw_tsomax = min(32 * MCLBYTES - (ETHER_HDR_LEN +
> ETHER_VLAN_ENCAP_LEN),
>          IP_MAXPACKET);
> - I put the min() in just so it wouldn't break if MCLBYTES is increased
> someday.
>

I like the added safety for future changes - Good forward thinking. I'll
adjust my testing code to reflect this.
_______________________________________________
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"

Reply via email to