Date: Fri, 13 May 2011 22:48:44 +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 src/sys/modules/cxgbe/if_cxgbe Makefile Message-ID: <201105132249.p4DMnDIs019595@repoman.freebsd.org>
index | next in thread | raw e-mail
np 2011-05-13 22:48:44 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_8)
sys/dev/cxgbe offload.h t4_ioctl.h t4_main.c t4_sge.c
sys/modules/cxgbe/if_cxgbe Makefile
Log:
SVN rev 221861 on 2011-05-13 22:48:44Z by np
MFC r221474, r221477 (packet filter/steer/switch, timestamps)
r221474:
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.
r221477:
T4 packet timestamps.
Reference code that shows how to get a packet's timestamp out of
cxgbe(4). Disabled by default because we don't have a standard way
today to pass this information up the stack.
The timestamp is 60 bits wide and each increment represents 1 tick of
the T4's core clock. As an example, the timestamp granularity is ~4.4ns
for this card:
# sysctl dev.t4nex.0.core_clock
dev.t4nex.0.core_clock: 228125
Revision Changes Path
1.1.2.3 +2 -0 src/sys/dev/cxgbe/offload.h
1.1.2.4 +134 -0 src/sys/dev/cxgbe/t4_ioctl.h
1.7.2.10 +530 -3 src/sys/dev/cxgbe/t4_main.c
1.8.2.9 +27 -2 src/sys/dev/cxgbe/t4_sge.c
1.1.2.3 +3 -0 src/sys/modules/cxgbe/if_cxgbe/Makefile
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201105132249.p4DMnDIs019595>
