np 8cb99b2400 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
2011-05-30 21:07:26 +00:00
..
2010-08-23 06:13:29 +00:00
2011-04-15 18:34:27 +00:00
2010-07-23 11:00:46 +00:00
2008-05-19 01:53:47 +00:00
2011-01-06 21:04:00 +00:00
2011-01-06 21:04:00 +00:00
2010-08-23 06:13:29 +00:00
2008-04-07 11:26:13 +00:00
2010-08-23 06:13:29 +00:00
2011-04-02 09:46:09 +00:00
2010-08-23 06:13:29 +00:00
2010-08-23 06:13:29 +00:00
2010-10-13 14:44:38 +00:00
2010-08-23 06:13:29 +00:00
2010-08-23 06:13:29 +00:00
2009-06-05 18:44:36 +00:00
2010-09-16 09:29:48 +00:00
2010-08-23 06:13:29 +00:00
2010-08-23 06:13:29 +00:00
2010-08-23 06:13:29 +00:00
2010-08-23 06:13:29 +00:00
2010-08-23 06:13:29 +00:00
2009-03-26 19:15:31 +00:00
2008-05-22 21:53:15 +00:00
2010-11-26 22:46:32 +00:00
2008-05-27 01:54:45 +00:00
2010-08-23 06:13:29 +00:00
2010-08-23 06:13:29 +00:00
2010-08-23 06:13:29 +00:00
2010-08-23 06:13:29 +00:00
2007-03-11 15:20:04 +00:00
2010-08-23 06:13:29 +00:00
2010-08-23 06:13:29 +00:00
2010-08-23 06:13:29 +00:00
2009-08-23 20:26:09 +00:00
2008-05-05 20:19:33 +00:00
2010-09-13 02:05:42 +00:00
2010-08-15 15:33:01 +00:00
2010-08-19 11:31:03 +00:00
2010-08-23 06:13:29 +00:00
2008-08-07 20:51:51 +00:00
2008-11-05 15:04:03 +00:00
2010-09-13 02:05:42 +00:00
2010-08-23 06:13:29 +00:00
2010-08-23 06:13:29 +00:00
2010-10-13 14:44:38 +00:00
2007-06-29 05:23:15 +00:00
2010-08-13 04:00:35 +00:00
2011-03-20 21:05:09 +00:00
2011-02-26 17:22:11 +00:00
2010-08-23 06:13:29 +00:00
2011-05-21 16:34:53 +00:00