Up for almost 19 hours under load without a single error. I would say the TSO patch does work, now I'm going to run lagg tests.
The more I think of it, the more I wonder if setting tsomax in if.c at line 660 isn't the better idea, like below. 660: if (ifp->if_hw_tsomax == 0) 661: ifp->if_hw_tsomax = IP_MAXPACKET - (ETHER_HDR_LEN + ETHER_VLAN_ENCAP_LEN); I know there are concerns about the impact on various cards, but right now if.c will set if_hw_tssomax to IP_MAXPACKET, which we know is bad for ixgbe, and I believe bad for lagg (tests will show) - If the driver isn't specifically setting it to a different setting, is there harm in limiting all if's to a default of IP_MAXPACKET - (ETHER_HDR_LEN + ETHER_VLAN_ENCAP_LEN) if not specified otherwise? When is a TSO of 65535 going to be useful? I can confirm that with just the TSO patch in ixgbe, and lagg enabled, the problem still exists. Last night's tests never went above a packet of 65530. Now with lagg enabled, I'm seeing packets of 65543 within 5 minutes, so we're already breaking. On Tue, Mar 25, 2014 at 11:33 PM, Christopher Forgeron <csforge...@gmail.com > wrote: > > > On Tue, Mar 25, 2014 at 8:21 PM, Markus Gebert <markus.geb...@hostpoint.ch > > wrote: > >> >> >> Is 65517 correct? With Ricks patch, I get this: >> >> dev.ix.0.hw_tsomax: 65518 >> > > Perhaps a difference between 9.2 and 10 for one of the macros? My code is: > > > ifp->if_hw_tsomax = IP_MAXPACKET - (ETHER_HDR_LEN + ETHER_VLAN_ENCAP_LEN); > printf("CSF - 3 Init, ifp->if_hw_tsomax = %d\n", > ifp->if_hw_tsomax); > > (BTW, you should submit the hw_tsomax sysctl patch, that's useful to > others) > > >> Also the dtrace command you used excludes 65518... >> > > Oh, I thought it was giving every packet that is greater than or equal to > 65518 - Could you show me the proper command? That's the third time I've > used dtrace, so I'm making this up as I go. :-) > _______________________________________________ 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"