Date: Thu, 5 May 2011 02:04:56 +0000 (UTC) From: Navdeep Parhar <np@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/dev/cxgbe offload.h t4_ioctl.h t4_main.c t4_sge.c Message-ID: <201105050205.p45259wa085777@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
np 2011-05-05 02:04:56 UTC
FreeBSD src repository
Modified files:
sys/dev/cxgbe offload.h t4_ioctl.h t4_main.c t4_sge.c
Log:
SVN rev 221474 on 2011-05-05 02:04:56Z by np
T4 packet filtering/steering.
- Enable 5-tuple and every-packet lookup.
- Setup the default filter mode to allow filtering/steering based on IP
protocol, ingress port, inner VLAN ID, IP frag, FCoE, and MPS match
type; all combined together. You can also filter based on MAC index,
Ethernet type, IP TOS/IPv6 Traffic Class, and outer VLAN ID but you'll
have to modify the default filter mode and exclude some of the
match-fields in it.
IPv4 and IPv6 SIP/DIP/SPORT/DPORT are always available in all filter
rules.
- Add driver ioctls to get/set the global filter mode.
- Add driver ioctls to program and delete hardware filters. A couple of
the "switch" actions that rewrite Ethernet and VLAN information and
switch the packet out of another port may not work as the L2 code is not
yet in place. Everything else, including all "drop" and "pass" rules
with RSS or absolute qid, should work.
Obtained from: Chelsio Communications
Revision Changes Path
1.2 +2 -0 src/sys/dev/cxgbe/offload.h
1.3 +134 -0 src/sys/dev/cxgbe/t4_ioctl.h
1.15 +530 -3 src/sys/dev/cxgbe/t4_main.c
1.17 +5 -1 src/sys/dev/cxgbe/t4_sge.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201105050205.p45259wa085777>
