Date: Wed, 12 Oct 2016 10:32:14 -0700 From: Navdeep Parhar <np@FreeBSD.org> To: Julien Charbon <jch@freebsd.org>, Slawa Olhovchenkov <slw@zxy.spb.ru> Cc: Konstantin Belousov <kostikbel@gmail.com>, freebsd-stable@FreeBSD.org, hiren panchasara <hiren@strugglingcoder.info> Subject: Re: 11.0 stuck on high network load Message-ID: <121fe05f-37fb-9a65-1241-9206aed1e77a@FreeBSD.org> In-Reply-To: <f3c0e73a-5e6e-2190-aed3-499250c1764c@freebsd.org> References: <20161006111043.GH54003@zxy.spb.ru> <1431484c-c00e-24c5-bd76-714be8ae5ed5@freebsd.org> <20161010133220.GU54003@zxy.spb.ru> <23f1200e-383e-befb-b76d-c88b3e1287b0@freebsd.org> <20161010142941.GV54003@zxy.spb.ru> <52d634aa-639c-bef7-1f10-c46dbadc4d85@freebsd.org> <20161010173531.GI6177@zxy.spb.ru> <8143cd8f-c007-2378-b004-b2b037402d03@freebsd.org> <20161011121145.GJ6177@zxy.spb.ru> <f1d9e34e-3d85-bd02-e660-6d647e4343fb@freebsd.org> <20161012084045.GA57714@zxy.spb.ru> <f3c0e73a-5e6e-2190-aed3-499250c1764c@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
> I see, thus just for the context: The TCP stack in sys/dev/cxgb* is a > TOE (TCP Offload Engine?) TCP stack for Chelsio NICs, it is a > separate/side TCP stack that is used only with TCP_OFFLOAD option. > > This TOE TCP stack actually has its own set of detach()/input() > functions and seems to check INP_DROPPED flag properly. I guess @np > check fixes in socket TCP stack and decides which one can also impact Yes, I do keep an eye on the changes in the stack and keep the TOE drivers up to date. The good part is that those drivers are trying to do the exact same thing with the locks and various bits of state as the software stack so they don't have any special requirements. If any patch comes out of this discussion I'll update the TOE drivers (if needed). btw, if you're looking at TOE drivers then read the sys/dev/cxgbe/t4_tom code (instead of the old T3 chip's cxgb/ulp/tom) as that's the most actively maintained and tested. Regards, Navdeep
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?121fe05f-37fb-9a65-1241-9206aed1e77a>