From 090847a35fad779bf42061364d282619e07b8f80 Mon Sep 17 00:00:00 2001 From: Jesse Gross Date: Thu, 6 May 2010 15:15:50 -0700 Subject: datapath: Break out test for dev_disable_lro(). It seems that dev_disable_lro() and skb_warn_if_lro() are not always defined at the same time, despite the fact that they are typically used together. This independently tests for them. --- acinclude.m4 | 2 ++ 1 file changed, 2 insertions(+) (limited to 'acinclude.m4') diff --git a/acinclude.m4 b/acinclude.m4 index e52a884d..4c8cbdb3 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -166,6 +166,8 @@ AC_DEFUN([OVS_CHECK_LINUX26_COMPAT], [ [kmemdup], [OVS_DEFINE([HAVE_KMEMDUP])]) OVS_GREP_IFELSE([$KSRC26/include/linux/skbuff.h], [skb_warn_if_lro], [OVS_DEFINE([HAVE_SKB_WARN_LRO])]) + OVS_GREP_IFELSE([$KSRC26/include/linux/netdevice.h], [dev_disable_lro], + [OVS_DEFINE([HAVE_DEV_DISABLE_LRO])]) # Check for the proto_data_valid member in struct sk_buff. The [^@] # is necessary because some versions of this header remove the # member but retain the kerneldoc comment that describes it (which -- cgit v1.2.3