git://git.onelab.eu
/
sliver-openvswitch.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
patch: Remove veth driver.
[sliver-openvswitch.git]
/
acinclude.m4
diff --git
a/acinclude.m4
b/acinclude.m4
index
8643cf7
..
cabe7d3
100644
(file)
--- a/
acinclude.m4
+++ b/
acinclude.m4
@@
-113,16
+113,6
@@
AC_DEFUN([OVS_DEFINE], [
echo '#define $1 1' >> datapath/linux-2.6/kcompat.h.new
])
echo '#define $1 1' >> datapath/linux-2.6/kcompat.h.new
])
-AC_DEFUN([OVS_CHECK_VETH], [
- AC_MSG_CHECKING([whether to build veth module])
- if test "$sublevel" = 18; then
- AC_MSG_RESULT([yes])
- AC_SUBST([BUILD_VETH], 1)
- else
- AC_MSG_RESULT([no])
- fi
-])
-
AC_DEFUN([OVS_CHECK_LOG2_H], [
AC_MSG_CHECKING([for $KSRC26/include/linux/log2.h])
if test -e $KSRC26/include/linux/log2.h; then
AC_DEFUN([OVS_CHECK_LOG2_H], [
AC_MSG_CHECKING([for $KSRC26/include/linux/log2.h])
if test -e $KSRC26/include/linux/log2.h; then
@@
-150,6
+140,8
@@
AC_DEFUN([OVS_CHECK_LINUX26_COMPAT], [
OVS_GREP_IFELSE([$KSRC26/include/linux/netdevice.h], [dev_disable_lro],
[OVS_DEFINE([HAVE_DEV_DISABLE_LRO])])
OVS_GREP_IFELSE([$KSRC26/include/linux/netdevice.h], [dev_disable_lro],
[OVS_DEFINE([HAVE_DEV_DISABLE_LRO])])
+ OVS_GREP_IFELSE([$KSRC26/include/linux/netdevice.h], [dev_get_stats],
+ [OVS_DEFINE([HAVE_DEV_GET_STATS])])
# Check for the proto_data_valid member in struct sk_buff. The [^@]
# is necessary because some versions of this header remove the
# Check for the proto_data_valid member in struct sk_buff. The [^@]
# is necessary because some versions of this header remove the
@@
-187,7
+179,6
@@
AC_DEFUN([OVS_CHECK_LINUX26_COMPAT], [
[OVS_DEFINE([HAVE_NLA_GET_BE16])])
OVS_CHECK_LOG2_H
[OVS_DEFINE([HAVE_NLA_GET_BE16])])
OVS_CHECK_LOG2_H
- OVS_CHECK_VETH
if cmp -s datapath/linux-2.6/kcompat.h.new \
datapath/linux-2.6/kcompat.h >/dev/null 2>&1; then
if cmp -s datapath/linux-2.6/kcompat.h.new \
datapath/linux-2.6/kcompat.h >/dev/null 2>&1; then