freebsd-dev/sys/dev
Navdeep Parhar d6da836201 Add support for hardware filters to cxgb(4). The T3 chip can inspect
L2/3/4 headers and can drop or steer packets as instructed.  Filtering
based on src ip, dst ip, src port, dst port, 802.1q, udp/tcp, and mac
addr is possible.  Add support in cxgbtool to program these filters.
Some simple examples:

Drop all tcp/80 traffic coming from the subnet specified.
# cxgbtool cxgb2 filter 0 sip 192.168.1.0/24 dport 80 type tcp action drop

Steer all incoming UDP traffic to qset 0.
# cxgbtool cxgb2 filter 1 type udp queue 0 action pass

Steer all tcp traffic from 192.168.1.1 to qset 1.
# cxgbtool cxgb2 filter 2 sip 192.168.1.1 type tcp queue 1 action pass

Drop fragments.
# cxgbtool cxgb2 filter 3 type frag action drop

List all filters.
# cxgbtool cxgb2 filter list
index         SIP                DIP     sport dport VLAN PRI P/MAC type Q
    0     192.168.1.0/24         0.0.0.0     *    80    0 0/1 */*    tcp -
    1         0.0.0.0/0          0.0.0.0     *     *    0 0/1 */*    udp 0
    2     192.168.1.1/32         0.0.0.0     *     *    0 0/1 */*    tcp 1
    3         0.0.0.0/0          0.0.0.0     *     *    0 0/1 */*   frag -
16367         0.0.0.0/0          0.0.0.0     *     *    0 0/1 */*      * *

MFC after:	2 weeks
2010-05-05 00:41:40 +00:00
..
aac Use enums in the aac_command_status_table rather than duplicating the same 2010-04-13 12:10:55 +00:00
acpi_support Prefer correct and simpler backlight control methods for ASUS G2K laptop. 2010-02-13 02:30:43 +00:00
acpica Merge ACPICA 20100428. 2010-04-28 22:25:27 +00:00
adb Add support for interpreting taps on ADB touchpads as a button click. 2009-11-28 17:48:25 +00:00
adlink Update d_mmap() to accept vm_ooffset_t and vm_memattr_t. 2009-12-29 21:51:28 +00:00
advansys
ae Add new tunable 'net.link.ifqmaxlen' to set default send interface 2010-05-03 07:32:50 +00:00
age With r206844, CSUM_TCP is also set for CSUM_TSO case. Modify 2010-04-19 22:10:40 +00:00
agp Acquire the page lock around vm_page_unwire(). For consistency, extend the 2010-05-03 16:55:50 +00:00
aha
ahb
ahci Enable PCI busmastering explicitly to be sure. 2010-05-02 14:46:05 +00:00
aic
aic7xxx Document the usfs driver and the NO_SYSCTL_DESCR option, and update the comment for umass. 2010-02-08 20:57:42 +00:00
alc With r206844, CSUM_TCP is also set for CSUM_TSO case. Modify 2010-04-19 22:10:40 +00:00
ale It seems ale(4) controllers do not like to see TCP payload in the 2010-04-26 21:08:15 +00:00
amd Remove extraneous semicolons, no functional changes. 2010-01-07 21:01:37 +00:00
amdsbwd amdsbwd: new driver for AMD SB600/SB7xx watchdog timer 2009-11-30 11:44:03 +00:00
amdtemp
amr Remove extraneous semicolons, no functional changes. 2010-01-07 21:01:37 +00:00
an Add new tunable 'net.link.ifqmaxlen' to set default send interface 2010-05-03 07:32:50 +00:00
arcmsr Remove extraneous semicolons, no functional changes. 2010-01-07 21:01:37 +00:00
asmc
asr MFp4: Large set of CAM inprovements. 2010-01-28 08:41:30 +00:00
ata Add Target/LUN ID checks. 2010-04-30 08:37:00 +00:00
ath Add new tunable 'net.link.ifqmaxlen' to set default send interface 2010-05-03 07:32:50 +00:00
atkbdc On certain chipsets AT keyboard controller isn't present and is 2010-04-29 06:16:00 +00:00
auxio Enroll these drivers in multipass probing. The motivation behind this 2009-12-22 21:02:46 +00:00
bce - Enable flow control. 2010-04-30 02:35:46 +00:00
bfe
bge For the on-board interfaces found in Fujitsu SPARC64 machines obtain the 2010-04-26 18:56:06 +00:00
bktr Use standard types in preference to BSD types so that these header files 2010-03-28 00:10:09 +00:00
bm
buslogic
bwi Add new tunable 'net.link.ifqmaxlen' to set default send interface 2010-05-03 07:32:50 +00:00
bwn Add new tunable 'net.link.ifqmaxlen' to set default send interface 2010-05-03 07:32:50 +00:00
cardbus Move the PCI-specific logic of removing a cardbus device into a 2010-01-05 20:42:25 +00:00
cas - Don't set CAS_PCS_DATAPATH to anything except CAS_PCS_DATAPATH_SERDES 2010-05-03 20:57:16 +00:00
ce Add new tunable 'net.link.ifqmaxlen' to set default send interface 2010-05-03 07:32:50 +00:00
cfe Create the "cfecons" tty directly using tty_makedev(). It is not clear what 2010-01-26 03:42:34 +00:00
cfi
ciss Initialize the callout structure earlier in attach before calling any 2010-04-28 18:49:45 +00:00
cm Add new tunable 'net.link.ifqmaxlen' to set default send interface 2010-05-03 07:32:50 +00:00
cmx
coretemp
cp Add new tunable 'net.link.ifqmaxlen' to set default send interface 2010-05-03 07:32:50 +00:00
cpuctl
cpufreq
cs Add new tunable 'net.link.ifqmaxlen' to set default send interface 2010-05-03 07:32:50 +00:00
ct Spell "Hz" correctly wherever it is user-visible. 2010-01-12 17:59:58 +00:00
ctau Add new tunable 'net.link.ifqmaxlen' to set default send interface 2010-05-03 07:32:50 +00:00
cx Add new tunable 'net.link.ifqmaxlen' to set default send interface 2010-05-03 07:32:50 +00:00
cxgb Add support for hardware filters to cxgb(4). The T3 chip can inspect 2010-05-05 00:41:40 +00:00
cy
dc cardbus -> CardBus 2010-01-03 23:28:32 +00:00
dcons
de Remove extraneous semicolons, no functional changes. 2010-01-07 21:01:37 +00:00
digi
dpms Attach dpms(4) to vgapm and make sure to restore DPMS state after 2009-12-15 19:58:23 +00:00
dpt Get rid of #ident, GCC 4.4 warns about it being deprecated. 2010-01-08 17:20:41 +00:00
drm Add page locking to the vm_page_cow* functions. 2010-05-04 15:55:41 +00:00
e1000 Address the LOD that some are seeing, put the RX lock 2010-04-28 19:22:52 +00:00
ed Add new tunable 'net.link.ifqmaxlen' to set default send interface 2010-05-03 07:32:50 +00:00
eisa
en
ep Add new tunable 'net.link.ifqmaxlen' to set default send interface 2010-05-03 07:32:50 +00:00
esp Take advantage of OF_getscsinitid(). 2010-04-27 15:50:25 +00:00
et Only Tx checksum offloading is supported now. Remove experimental 2009-11-20 20:43:16 +00:00
ex Add new tunable 'net.link.ifqmaxlen' to set default send interface 2010-05-03 07:32:50 +00:00
exca CardBus instead of cardbus. 2010-01-03 23:26:29 +00:00
fatm Remove extraneous semicolons, no functional changes. 2010-01-07 21:01:37 +00:00
fb Allocate memory for VBE info block with malloc(9), not as static local. 2010-04-07 21:38:42 +00:00
fdc Remove _FDE quirk handling as these quirks are automatically repaired 2009-12-14 22:28:32 +00:00
fe Add new tunable 'net.link.ifqmaxlen' to set default send interface 2010-05-03 07:32:50 +00:00
firewire Cast a bus_size_t to a (size_t) to use %zd specifier. Not quite the 2010-03-29 17:24:23 +00:00
flash Merge from projects/mips to head by hand: 2010-01-10 05:15:46 +00:00
fxp With r206844, CSUM_TCP is also set for CSUM_TSO case. Modify 2010-04-19 22:10:40 +00:00
gem According to the Linux sungem driver, in case of Apple (K2) GMACs 2010-02-22 21:01:08 +00:00
glxsb
hatm Remove extraneous semicolons, no functional changes. 2010-01-07 21:01:37 +00:00
hifn Update d_mmap() to accept vm_ooffset_t and vm_memattr_t. 2009-12-29 21:51:28 +00:00
hme The NetBSD Foundation has granted permission to remove clause 3 and 4 from 2010-03-03 17:55:51 +00:00
hptiop MFp4: Large set of CAM inprovements. 2010-01-28 08:41:30 +00:00
hptmv Remove extraneous semicolons, no functional changes. 2010-01-07 21:01:37 +00:00
hptrr MFp4: Large set of CAM inprovements. 2010-01-28 08:41:30 +00:00
hwpmc When configuring a system-wide couting PMC, hwpmc was incorrectly logging process mappings for that PMC. Nothing ever reads pmc logs out of a counting PMC, so the log buffers were leaked when the PMC was deconfigured. The process mappings are only useful for sampling PMCs anyway, so only log the mappings if the PMC is a sampling PMC. 2010-05-01 22:04:58 +00:00
ic Merge from projects/mips to head by hand: 2010-01-11 04:13:06 +00:00
ichsmb ichsmb: add another pci id 2009-12-16 12:25:27 +00:00
ichwd Add support for the NM10 chipset. 2010-01-24 10:50:20 +00:00
ida
ie Add new tunable 'net.link.ifqmaxlen' to set default send interface 2010-05-03 07:32:50 +00:00
ieee488 GPIB overhaul, part #2: make the tnt4882 driver work with the newer 2010-02-01 21:21:10 +00:00
if_ndis Remove extraneous semicolons, no functional changes. 2010-01-07 21:01:37 +00:00
iicbus Add new tunable 'net.link.ifqmaxlen' to set default send interface 2010-05-03 07:32:50 +00:00
iir Get rid of #ident. 2010-01-08 20:40:28 +00:00
io - Extract the IODEV_PIO interface from ia64 and make it MI. 2010-04-28 15:38:01 +00:00
ipmi - Fixed incorrect watchdog timeout setting: MSB of a 2-byte 2009-12-18 12:10:42 +00:00
ips Fix argument order in a call to mtx_init. 2009-12-17 00:21:12 +00:00
ipw Add new tunable 'net.link.ifqmaxlen' to set default send interface 2010-05-03 07:32:50 +00:00
iscsi/initiator Remove extraneous semicolons, no functional changes. 2010-01-07 21:01:37 +00:00
isp On sparc64 obtain the initiator ID from the Open Firmware device tree 2010-05-03 18:39:40 +00:00
ispfw Don't spam dmesg with "registered firmware ..." when module is compiled 2010-03-05 03:37:42 +00:00
iwi Add new tunable 'net.link.ifqmaxlen' to set default send interface 2010-05-03 07:32:50 +00:00
iwn Add new tunable 'net.link.ifqmaxlen' to set default send interface 2010-05-03 07:32:50 +00:00
ixgb - Use callout_init_mtx() instead of callout_init(..., CALLOUT_MPSAFE). 2009-11-19 18:37:55 +00:00
ixgbe Remove the tx queue selection based on the cpu whe 2010-04-16 16:33:05 +00:00
jme Add TSO support on VLANs. jme(4) controllers do not require VLAN 2010-02-22 22:05:49 +00:00
joy
kbd
kbdmux
ksyms Update d_mmap() to accept vm_ooffset_t and vm_memattr_t. 2009-12-29 21:51:28 +00:00
le Add new tunable 'net.link.ifqmaxlen' to set default send interface 2010-05-03 07:32:50 +00:00
led (S)LIST_HEAD_INITIALIZER takes a (S)LIST_HEAD as an argument. 2009-12-28 22:56:30 +00:00
lge - Hook into the existing stat timer to drive the transmit watchdog instead 2009-11-19 22:14:23 +00:00
lindev
lmc One more #ifdef fix for GCC 4.4. 2010-01-08 15:57:56 +00:00
malo Add new tunable 'net.link.ifqmaxlen' to set default send interface 2010-05-03 07:32:50 +00:00
mc146818 Remove clause 3 from Izumi Tsutsui's licenses. 2009-12-25 22:58:43 +00:00
mca
mcd
md Lock the page around vm_page_activate() and vm_page_deactivate() calls 2010-05-03 20:31:13 +00:00
mem
mfi Correct mfip module dependency on mfi. This allows mfip to be loaded as 2010-03-02 17:34:11 +00:00
mge Assorted fixes for mge(4). 2010-02-17 17:03:04 +00:00
mii Add Marvell PHYG65G Gigabit PHY which is found on 88E8059 Yukon Optima. 2010-04-30 19:01:55 +00:00
mk48txx Fix botches in r201005: 2010-01-01 22:47:53 +00:00
mlx
mly MFp4: Large set of CAM inprovements. 2010-01-28 08:41:30 +00:00
mmc
mn
mpt Print IR_RESYNC updates informatively. 2010-05-02 22:48:27 +00:00
mse
msk When VLAN hardware tagging is disabled, make sure to disable VLAN 2010-05-04 22:24:19 +00:00
mvs Import mvs(4) - Marvell 88SX50XX/88SX60XX/88SX70XX/SoC SATA controllers 2010-05-02 19:28:30 +00:00
mwl Add new tunable 'net.link.ifqmaxlen' to set default send interface 2010-05-03 07:32:50 +00:00
mxge Add missing IFCAP_LINKSTATE to mxge 2010-04-15 14:26:52 +00:00
my Add new tunable 'net.link.ifqmaxlen' to set default send interface 2010-05-03 07:32:50 +00:00
ncv
nfe With r206844, CSUM_TCP is also set for CSUM_TSO case. Modify 2010-04-19 22:10:40 +00:00
nge
nmdm
nsp
null
nve Initialize the ifnet before calling mii_phy_probe() as some phy drivers 2010-01-27 14:43:28 +00:00
nvram
nxge Add new tunable 'net.link.ifqmaxlen' to set default send interface 2010-05-03 07:32:50 +00:00
ofw With r205496 in place we should ensure that nargs and nreturns are always 2010-04-02 21:48:27 +00:00
patm Remove extraneous semicolons, no functional changes. 2010-01-07 21:01:37 +00:00
pbio
pccard cardbus -> CardBus 2010-01-03 23:31:58 +00:00
pccbb
pcf
pci Small whitespace fixes. 2010-03-11 15:25:47 +00:00
pcn - Hook into the existing stat timer to drive the transmit watchdog instead 2009-11-19 22:14:23 +00:00
pdq Add new tunable 'net.link.ifqmaxlen' to set default send interface 2010-05-03 07:32:50 +00:00
powermac_nvram
ppbus Add new tunable 'net.link.ifqmaxlen' to set default send interface 2010-05-03 07:32:50 +00:00
ppc Add PCI ID for MCS9901's parallel port. 2010-03-23 20:08:18 +00:00
pst
pty
puc Fix interrupt handling. It started off broken and grew worse over time. 2009-12-11 03:08:07 +00:00
quicc Remove a soft member which was never used. 2010-05-02 19:05:57 +00:00
ral Add new tunable 'net.link.ifqmaxlen' to set default send interface 2010-05-03 07:32:50 +00:00
random
rc
re Add preliminary support for 8168E/8111E PCIe controller. 2010-04-09 22:50:28 +00:00
rndtest
rp
safe Remove extraneous semicolons, no functional changes. 2010-01-07 21:01:37 +00:00
sbni Add new tunable 'net.link.ifqmaxlen' to set default send interface 2010-05-03 07:32:50 +00:00
scc
scd
sdhci
sec
sf
sge Free entire mbuf chain instead of the first mbuf. 2010-05-04 21:23:59 +00:00
si
siba Revert r204992 and just wrap it all in ifdef INVARIANTS to fix the debug and 2010-03-11 08:03:56 +00:00
siis Make SATA XPT negotiate and enable some additional SATA features, such as: 2010-05-02 12:07:47 +00:00
sio
sis It's not necessary to reset the chip every time an input overflow event 2010-04-20 19:30:12 +00:00
sk Take a step towards removing if_watchdog/if_timer. Don't explicitly set 2009-11-06 14:55:01 +00:00
smbus
smc Add new tunable 'net.link.ifqmaxlen' to set default send interface 2010-05-03 07:32:50 +00:00
sn Add new tunable 'net.link.ifqmaxlen' to set default send interface 2010-05-03 07:32:50 +00:00
snc Add new tunable 'net.link.ifqmaxlen' to set default send interface 2010-05-03 07:32:50 +00:00
snp
sound - Remove more dead code[1]. Since r207330, we only need to check division 2010-05-04 16:56:59 +00:00
speaker
spibus
ste Make sure to store dma address of RX buffer in little endian form. 2010-01-08 02:43:20 +00:00
stg
stge The NetBSD Foundation has granted permission to remove clause 3 and 4 from 2010-03-01 16:52:11 +00:00
streams
sym - On sparc64 obtain the initiator ID from the Open Firmware device tree 2010-04-27 18:05:33 +00:00
syscons Correct beastie_saver module name. 2010-04-07 18:42:21 +00:00
tdfx Update d_mmap() to accept vm_ooffset_t and vm_memattr_t. 2009-12-29 21:51:28 +00:00
ti Neither the page lock nor the page queues lock is required to unwire and 2010-05-03 15:51:59 +00:00
tl - Hook into the existing stat timer to drive the transmit watchdog instead 2009-11-19 22:14:23 +00:00
trm MFp4: Large set of CAM inprovements. 2010-01-28 08:41:30 +00:00
tsec tsec: Use IFQ_DRV macros for managing interface packet queue. 2009-11-20 13:28:06 +00:00
twa MFp4: Large set of CAM inprovements. 2010-01-28 08:41:30 +00:00
twe Teach twe driver to report array stripe size to GEOM. 2009-12-25 17:34:43 +00:00
tx
txp
uart Remove redundant checking of sc_leaving (uart_intr() already handles this). 2010-05-02 19:07:19 +00:00
ubsec Cast the bus_size_t to a intmax_t rather than assuming type-punning to 2010-03-29 17:26:24 +00:00
usb Add new tunable 'net.link.ifqmaxlen' to set default send interface 2010-05-03 07:32:50 +00:00
utopia
vge Remove wrong assertion. 2009-12-25 00:23:47 +00:00
vkbd
vr
vx Add new tunable 'net.link.ifqmaxlen' to set default send interface 2010-05-03 07:32:50 +00:00
watchdog
wb - Hook into the existing stat timer to drive the transmit watchdog instead 2009-11-19 22:14:23 +00:00
wds
wi Add new tunable 'net.link.ifqmaxlen' to set default send interface 2010-05-03 07:32:50 +00:00
wl Add new tunable 'net.link.ifqmaxlen' to set default send interface 2010-05-03 07:32:50 +00:00
wpi Add new tunable 'net.link.ifqmaxlen' to set default send interface 2010-05-03 07:32:50 +00:00
xe Add new tunable 'net.link.ifqmaxlen' to set default send interface 2010-05-03 07:32:50 +00:00
xen The proper fix for the delayed SCTP checksum is to 2010-03-12 22:58:52 +00:00
xl cardbus -> CardBus 2010-01-03 23:29:49 +00:00