svn commit: r271504 - in head/sys: dev/oce dev/vmware/vmxnet3 dev/xen/netfront net netinet ofed/drivers/net/mlx4

Gleb Smirnoff glebius at FreeBSD.org
Mon Sep 15 10:50:07 UTC 2014


  Hans,

  I second on Adrians suggestions.

Also, this chunk:

H> Modified: head/sys/netinet/tcp_output.c
H> ==============================================================================
H> --- head/sys/netinet/tcp_output.c	Sat Sep 13 07:45:03 2014	(r271503)
H> +++ head/sys/netinet/tcp_output.c	Sat Sep 13 08:26:09 2014	(r271504)
H> @@ -52,6 +52,7 @@ __FBSDID("$FreeBSD$");
H>  #include <sys/sysctl.h>
H>  
H>  #include <net/if.h>
H> +#include <net/if_var.h>
H>  #include <net/route.h>
H>  #include <net/vnet.h>

Is it possible to avoid this inclusion? I'd even suggest to push
all TSO (or all TCP hardware assistance stuff) into a separate
header, that is shared between TCP and drivers, w/o polluting
TCP with all ifnet knowledge.

-- 
Totus tuus, Glebius.


More information about the svn-src-all mailing list