summaryrefslogtreecommitdiffstats
path: root/sys/conf/files
diff options
context:
space:
mode:
authornp <np@FreeBSD.org>2011-05-30 21:07:26 +0000
committernp <np@FreeBSD.org>2011-05-30 21:07:26 +0000
commit8cb99b240083fd33a41962537ef0cf5583603cea (patch)
tree4f96a53fa05f51b7cc751e27bf7c0016ed713121 /sys/conf/files
parent621bb117eb930f4d64bda78fc99fbcb8578fec7a (diff)
downloadFreeBSD-src-8cb99b240083fd33a41962537ef0cf5583603cea.zip
FreeBSD-src-8cb99b240083fd33a41962537ef0cf5583603cea.tar.gz
L2 table code. This is enough to get the T4's switch + L2 rewrite
filters working. (All other filters - switch without L2 info rewrite, steer, and drop - were already fully-functional). Some contrived examples of "switch" filters with L2 rewriting: # cxgbetool t4nex0 iport 0 dport 80 action switch vlan +9 eport 3 Intercept all packets received on physical port 0 with TCP port 80 as destination, insert a vlan tag with VID 9, and send them out of port 3. # cxgbetool t4nex0 sip 192.168.1.1/32 ivlan 5 action switch \ vlan =9 smac aa:bb:cc:dd:ee:ff eport 0 Intercept all packets (received on any port) with source IP address 192.168.1.1 and VLAN id 5, rewrite the VLAN id to 9, rewrite source mac to aa:bb:cc:dd:ee:ff, and send it out of port 0. MFC after: 1 week
Diffstat (limited to 'sys/conf/files')
-rw-r--r--sys/conf/files2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/conf/files b/sys/conf/files
index c4e214b..82f633d 100644
--- a/sys/conf/files
+++ b/sys/conf/files
@@ -917,6 +917,8 @@ dev/cxgbe/t4_main.c optional cxgbe pci \
compile-with "${NORMAL_C} -I$S/dev/cxgbe"
dev/cxgbe/t4_sge.c optional cxgbe pci \
compile-with "${NORMAL_C} -I$S/dev/cxgbe"
+dev/cxgbe/t4_l2t.c optional cxgbe pci \
+ compile-with "${NORMAL_C} -I$S/dev/cxgbe"
dev/cxgbe/common/t4_hw.c optional cxgbe pci \
compile-with "${NORMAL_C} -I$S/dev/cxgbe"
dev/cy/cy.c optional cy
OpenPOWER on IntegriCloud