freebsd-dev/sys
Adrian Chadd f8cc9b09b0 Begin abstracting out the RX path in preparation for RX EDMA support.
The RX EDMA support requires a modified approach to the RX descriptor
handling.

Specifically:

* There's now two RX queues - high and low priority;
* The RX queues are implemented as FIFOs; they're now an array of pointers
  to buffers;
* .. and the RX buffer and descriptor are in the same "buffer", rather than
  being separate.

So to that end, this commit abstracts out most of the RX related functions
from the bulk of the driver.  Notably, the RX DMA/buffer allocation isn't
updated, primarily because I haven't yet fleshed out what it should look
like.

Whilst I'm here, create a set of matching but mostly unimplemented EDMA
stubs.

Tested:

  * AR9280, station mode

TODO:

  * Thorough AP and other mode testing for non-EDMA chips;
  * Figure out how to allocate RX buffers suitable for RX EDMA, including
    correctly setting the mbuf length to compensate for the RX descriptor
    and completion status area.
2012-07-03 06:59:12 +00:00
..
amd64 tws(4) is interfaced with CAM so move it to the same section. 2012-07-01 08:10:49 +00:00
arm Create a pseudo-lint kernel for all at91 SoCs. This kernel will not 2012-07-01 06:56:41 +00:00
boot MFV: Update zlib to 1.2.7. 2012-06-21 21:47:08 +00:00
bsm
cam Add a loader tunable, kern.cam.ctl.disable, that will disable 2012-06-28 19:39:30 +00:00
cddl Expose scrub and resilver tunables. 2012-07-02 07:27:14 +00:00
compat Extend the KPI to lock and unlock f_offset member of struct file. It 2012-07-02 21:01:03 +00:00
conf Revert r222186 per instructions for FreeBSD 10. 2012-07-03 05:01:00 +00:00
contrib MFV: r237650 2012-06-27 16:15:13 +00:00
crypto
ddb Update the ddb and gdb backends for the new 'trace_thread' hook. 2012-04-12 21:34:58 +00:00
dev Begin abstracting out the RX path in preparation for RX EDMA support. 2012-07-03 06:59:12 +00:00
fs Extend the KPI to lock and unlock f_offset member of struct file. It 2012-07-02 21:01:03 +00:00
gdb Update the ddb and gdb backends for the new 'trace_thread' hook. 2012-04-12 21:34:58 +00:00
geom Make geom_mirror more friendly to SSDs. To properly support TRIM, 2012-07-01 15:43:52 +00:00
gnu/fs Fix build: 2012-05-23 06:49:50 +00:00
i386 Fix XEN build, broken in r237924. 2012-07-02 14:03:19 +00:00
ia64 Make the wchar_t type machine dependent. 2012-06-24 04:15:58 +00:00
isa
kern Extend the KPI to lock and unlock f_offset member of struct file. It 2012-07-02 21:01:03 +00:00
kgssapi
libkern Fix unloading of libiconv module. 2012-06-11 17:42:39 +00:00
mips octeon_uart_class was removed some time ago everywhere but here. 2012-06-28 06:49:04 +00:00
modules There's no need to make filemon specific to i386 and amd64. All 2012-07-02 20:36:26 +00:00
net Add the same check as vlan(4) where we ignore the ifnet departure event if the 2012-06-30 19:09:02 +00:00
net80211 Add a check for dynamic OFDM/CCK channel types. 2012-07-01 04:25:49 +00:00
netatalk Fix typos 2012-02-28 15:07:05 +00:00
netgraph Make radix lookup on src and dst flow addresses optional 2012-06-18 13:56:36 +00:00
netinet Remove route caching from IP multicast routing code. There is no 2012-07-02 19:44:18 +00:00
netinet6 Remove route caching from IP multicast routing code. There is no 2012-07-02 19:44:18 +00:00
netipsec Add multi-FIB IPv6 support to the core network stack supplementing 2012-02-03 13:08:44 +00:00
netipx
netnatm
netncp Add characters mapping for codepages used in Germany. 2012-06-01 03:59:08 +00:00
netsmb When checking if file descriptor number is valid, explicitely check for 'fd' 2012-06-13 22:12:10 +00:00
nfs Add multi-FIB IPv6 support to the core network stack supplementing 2012-02-03 13:08:44 +00:00
nfsclient PR# 165923 reported intermittent write failures for dirty 2012-05-12 12:02:51 +00:00
nfsserver
nlm jwd@ reported a problem via email to freebsd-fs@ on Aug 25, 2011 2012-01-31 02:11:05 +00:00
ofed Fix clang warning when compiling iw_cxgb. 2012-06-25 16:52:27 +00:00
opencrypto
pc98 Implement mechanism to export some kernel timekeeping data to 2012-06-22 07:06:40 +00:00
pci intpm: add ATI IXP400 pci id 2012-04-16 10:33:46 +00:00
powerpc Support lbc interrupts: 2012-07-03 00:06:14 +00:00
rpc
security Check vplabel for NULL before dereferencing it. Fixes a panic 2012-05-03 15:51:34 +00:00
sparc64 Switch back to the 4BSD scheduler for now. There is some more or less 2012-06-30 14:55:36 +00:00
sys Extend the KPI to lock and unlock f_offset member of struct file. It 2012-07-02 21:01:03 +00:00
teken
tools Make vnode_if.awk parse vnode operations with underscores, like VOP_FOO_BAR. 2012-02-21 19:35:59 +00:00
ufs Extend the KPI to lock and unlock f_offset member of struct file. It 2012-07-02 21:01:03 +00:00
vm Honor db_pager_quit in 'show uma' and 'show malloc'. 2012-07-02 16:14:52 +00:00
x86 Make the wchar_t type machine dependent. 2012-06-24 04:15:58 +00:00
xdr
xen blkif interface comment cleanups. No functional changes 2012-02-29 17:47:01 +00:00
Makefile Add sys/ofed to the 'make cscope' target. 2012-03-20 18:05:15 +00:00