summaryrefslogtreecommitdiffstats
path: root/sys/dev/cxgb
diff options
context:
space:
mode:
authorbz <bz@FreeBSD.org>2012-05-24 23:03:23 +0000
committerbz <bz@FreeBSD.org>2012-05-24 23:03:23 +0000
commit9efa72fd429a41fc46f151a4d5f03c1198c2a4da (patch)
treed44f8d57aa289202fd46638595c1fd4039eb77df /sys/dev/cxgb
parentcb2f55559e73b6838760812dff1b5430a7c57a54 (diff)
downloadFreeBSD-src-9efa72fd429a41fc46f151a4d5f03c1198c2a4da.zip
FreeBSD-src-9efa72fd429a41fc46f151a4d5f03c1198c2a4da.tar.gz
MFp4 bz_ipv6_fast:
Significantly update tcp_lro for mostly two things: 1) introduce basic support for IPv6 without extension headers. 2) try hard to also get the incremental checksum updates right, especially also in the IPv4 case for the IP and TCP header. Move variables around for better locality, factor things out into functions, allow checksum updates to be compiled out, ... Leave a few comments on further things to look at in the future, though that is not the full list. Update drivers with appropriate #includes as needed for IPv6 data type in LRO. Sponsored by: The FreeBSD Foundation Sponsored by: iXsystems Reviewed by: gnn (as part of the whole) MFC After: 3 days
Diffstat (limited to 'sys/dev/cxgb')
-rw-r--r--sys/dev/cxgb/cxgb_adapter.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/cxgb/cxgb_adapter.h b/sys/dev/cxgb/cxgb_adapter.h
index ed75e78..4354b1c 100644
--- a/sys/dev/cxgb/cxgb_adapter.h
+++ b/sys/dev/cxgb/cxgb_adapter.h
@@ -46,6 +46,7 @@ $FreeBSD$
#include <net/if.h>
#include <net/if_media.h>
#include <net/if_dl.h>
+#include <netinet/in.h>
#include <netinet/tcp_lro.h>
#include <machine/bus.h>
OpenPOWER on IntegriCloud