[ovs-dev] [PATCH 09/15] acinclude: Check for extended netlink ack presence
Greg Rose
gvrose8192 at gmail.com
Mon Sep 11 18:19:21 UTC 2017
On 09/11/2017 10:56 AM, Greg Rose wrote:
> RTNL ops validate and newlink now include the extended netlink
> ack feature. Check for it and set HAVE_EXT_ACK_IN_RTNL_LINKOPS
> if found.
>
> Signed-off-by: Greg Rose <gvrose8192 at gmail.com>
> ---
> acinclude.m4 | 6 ++++++
> 1 file changed, 6 insertions(+)
>
> diff --git a/acinclude.m4 b/acinclude.m4
> index 772ff03..46efa69 100644
> --- a/acinclude.m4
> +++ b/acinclude.m4
> @@ -771,6 +771,12 @@ AC_DEFUN([OVS_CHECK_LINUX_COMPAT], [
> [OVS_DEFINE([HAVE_SKB_GSO_UDP])])
> OVS_GREP_IFELSE([$KSRC/include/net/dst.h],[DST_NOCACHE],
> [OVS_DEFINE([HAVE_DST_NOCACHE])])
> + OVS_FIND_FIELD_IFELSE([$KSRC/include/net/rtnetlink.h], [rtnl_link_ops],
> + [extack],
> + [OVS_DEFINE([HAVE_EXT_ACK_IN_RTNL_LINKOPS])])
This part below for nf_hook_ops got munged into this patch but should should have been in
its own separate patch.
I'll follow up with a V2 of the series.
- Greg
> + OVS_FIND_FIELD_IFELSE([$KSRC/include/linux/netfilter.h], [nf_hook_ops],
> + [list],
> + [OVS_DEFINE([HAVE_LIST_IN_NF_HOOK_OPS])])
>
>
> if cmp -s datapath/linux/kcompat.h.new \
>
More information about the dev
mailing list