summaryrefslogtreecommitdiff
path: root/sys/dev/netmap/netmap.c
Commit message (Collapse)AuthorAgeFilesLines
* MFC: sync the version of netmap with the one in HEAD, including deviceLuigi Rizzo2013-05-101-38/+78
| | | | | | | | | | drivers (mostly simplifying the code in the interrupt handlers). On passing, also merge r250414, which is related to netmap and the use of lem/em in virtual machines. Notes: svn path=/stable/9/; revision=250458
* MFH: sync netmap with the version in HEADLuigi Rizzo2013-02-051-162/+1385
| | | | Notes: svn path=/stable/9/; revision=246355
* MFC r239140: Clarify comments about number of tx / rx ringsEd Maste2012-11-191-1/+3
| | | | | | | | | MFC r239141: Fix whitespace (missing newline) Sponsored by: ADARA Networks Notes: svn path=/stable/9/; revision=243301
* MFC part of r238812 and remainder of r239149Ed Maste2012-09-271-19/+20
| | | | | | | | | | | | | | | | From r238812, move mtx_init of per-ring locks into NIOCREGIF ioctl handler. (Otherwise they're overwritten with zeros in netmap_if_new.) From r239149: Improve lock and unlock symmetry - Move destruction of per-ring locks to netmap_dtor_locked to mirror the initialization that happens in NIOCREGIF. Otherwise unloading a netmap- capable interface that was never put into netmap mode would try to mtx_destroy an uninitialized mutex, and panic. Notes: svn path=/stable/9/; revision=240995
* MFC part of r239149:Ed Maste2012-09-261-4/+5
| | | | | | | | Comment out the knlist_destroy for now as there is currently no knlist_init. Notes: svn path=/stable/9/; revision=240976
* Add missing mtx_destroyEd Maste2012-09-261-0/+1
| | | | | | | | This is a direct commit to stable/9 as the locking is somewhat different in HEAD due to the VALE bridge work (r238812). Notes: svn path=/stable/9/; revision=240975
* MFC: the netmap code from HEAD, now supported in the ixgbe/ and e1000/Luigi Rizzo2012-05-171-755/+232
| | | | | | | drivers (re/ will come in the next commit) Notes: svn path=/stable/9/; revision=235549
* MFC: import netmap core files into RELENG_9.Luigi Rizzo2012-02-141-0/+1809
This is the same code as in HEAD. Device driver modifications will be imported separately because the base drivers differ and patches might be slightly different between the various releases. The code is disconnected from the main build targets unless you explicitly put a 'device netmap' in your kernel config file. Notes: svn path=/stable/9/; revision=231650