aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/cxgb/ulp/tom
Commit message (Collapse)AuthorAgeFilesLines
...
* Convert pcbinfo and inpcb mutexes to rwlocks, and modify macros toRobert Watson2008-04-171-2/+2
| | | | | | | | | | | | | | | | | | explicitly select write locking for all use of the inpcb mutex. Update some pcbinfo lock assertions to assert locked rather than write-locked, although in practice almost all uses of the pcbinfo rwlock main exclusive, and all instances of inpcb lock acquisition are exclusive. This change should introduce (ideally) little functional change. However, it lays the groundwork for significantly increased parallelism in the TCP/IP code. MFC after: 3 months Tested by: kris (superset of committered patch) Notes: svn path=/head/; revision=178285
* change inp_wlock_assert to inp_lock_assertKip Macy2008-03-241-16/+16
| | | | Notes: svn path=/head/; revision=177575
* remove unneccessary tcbinfo lock acquisitions - set tp to null affter ↵Kip Macy2008-03-241-4/+2
| | | | | | | calling enter_timewait as we no longer own the inpcb Notes: svn path=/head/; revision=177540
* Insulate inpcb consumers outside the stack from the lock type and offset ↵Kip Macy2008-03-232-73/+73
| | | | | | | | | | within the pcb by adding accessor functions. Reviewed by: rwatson MFC after: 3 weeks Notes: svn path=/head/; revision=177530
* - Integrate 1.133 vendor driver changesKip Macy2008-03-184-32/+57
| | | | | | | | | - update some copyrights - add improved support for delayed ack - fix issue with fec Notes: svn path=/head/; revision=177340
* Fix namespace collision with sparc macroKip Macy2008-02-241-5/+5
| | | | Notes: svn path=/head/; revision=176507
* remove call to kdb_backtrace()Kip Macy2008-02-231-1/+0
| | | | Notes: svn path=/head/; revision=176494
* - update firmware to 5.0Kip Macy2008-02-2314-2696/+2890
| | | | | | | | | | | | | | | | | | | | - add support for T3C - add DDP support (zero-copy receive) - fix TOE transmit of large requests - fix shutdown so that sockets don't remain in CLOSING state indefinitely - register listeners when an interface is brought up after tom is loaded - fix setting of multicast filter - enable link at device attach - exit tick handler if shutdown is in progress - add helper for logging TCB - add sysctls for dumping transmit queues - note that TOE wxill not be MFC'd until after 7.0 has been finalized MFC after: 3 days Notes: svn path=/head/; revision=176472
* Give MEXTADD() another argument to make both void pointers to thePoul-Henning Kamp2008-02-011-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | free function controlable, instead of passing the KVA of the buffer storage as the first argument. Fix all conventional users of the API to pass the KVA of the buffer as the first argument, to make this a no-op commit. Likely break the only non-convetional user of the API, after informing the relevant committer. Update the mbuf(9) manual page, which was already out of sync on this point. Bump __FreeBSD_version to 800016 as there is no way to tell how many arguments a CPP macro needs any other way. This paves the way for giving sendfile(9) a way to wait for the passed storage to have been accessed before returning. This does not affect the memory layout or size of mbufs. Parental oversight by: sam and rwatson. No MFC is anticipated. Notes: svn path=/head/; revision=175872
* Fix loading for case where we don't overload tcp_usrreqs by calling tcp_drop ↵Kip Macy2008-01-271-1/+4
| | | | | | | directly Notes: svn path=/head/; revision=175712
* Don't overload tcp_usrreqs unless the kernel doesn't provide offload support.Kip Macy2007-12-181-0/+2
| | | | Notes: svn path=/head/; revision=174758
* disable update in place on transmitKip Macy2007-12-171-4/+2
| | | | Notes: svn path=/head/; revision=174712
* Make TCP offload work on HEAD (modulo negative interaction between sbcompressKip Macy2007-12-177-40/+2170
| | | | | | | | | | | | and t3_push_frames). - Import latest changes to cxgb_main.c and cxgb_sge.c from toestack p4 branch - make driver local copy of tcp_subr.c and tcp_usrreq.c and override tcp_usrreqs so TOE can also functions on versions with unmodified TCP - add cxgb back to the build Notes: svn path=/head/; revision=174708
* Add driver for TCP offloadKip Macy2007-12-169-0/+5422
Sponsored by: Chelsio Inc. Notes: svn path=/head/; revision=174641