Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Feb 2015 21:18:45 -0500 (EST)
From:      Rick Macklem <rmacklem@uoguelph.ca>
To:        Andris <andris@grese.net>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: 10GbE with jumbo networking problems
Message-ID:  <518452225.5232520.1424225925671.JavaMail.root@uoguelph.ca>
In-Reply-To: <005501d04aa7$5d78dc20$186a9460$@grese.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Andris wrote:
> Hi,
> 
> Is there any progress regarding this bug?
> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=183390
> 
> hardware and setup is similar to discussed in PR, except instead of
> NFS iSCSI (ctl) is used.
> OS - FreeBSD 10.1-STABLE r278064.
> 
Well, the workaround fix mentioned by adrian as the last comment on
that bug report should be in 10.1. As such, all that should be happening
is that the ix driver does a lot of m_defrag() calls. Overhead, but it
should work without "file too big" (EFBIG) errors.

If you are seeing EFBIG errors, something else is broken. I believe lagg
and vlan were both fixed to pass up the reduced value for if_hw_tsomax
that avoids the EFBIG errors.
Are you using anything else that might be sitting between TCP and the ix
driver? (If tcp_output() doesn't see the reduced size of if_hw_tsomax, then
the EFBIG errors will occur.)

Also, hselasky@ has committed r271946 that added additional fields
to "struct ifnet", so that drivers can specify how many transmit
segments they can support for a TSO segment and how big each of these
transmit segments (read data mbuf in the chain) can be.
Unfortunately, the device driver authors haven't yet filled these in.
I recently posted a request for this to freebsd-net@, so hopefully
this will start happening soon.

Finally, if disabling TSO doesn't make the problem go away, then it
is some other issue that I don't believe has been isolated. (One
responder in the above bug report does mention that disabling TSO
didn't fix the problem, but I don't know why.)

rick

> WBR,
> Andris
> 
> 
> _______________________________________________
> freebsd-stable@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to
> "freebsd-stable-unsubscribe@freebsd.org"
> 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?518452225.5232520.1424225925671.JavaMail.root>