and vxlan6 (VxLAN with inner IPv6) for command ethtool -u/-U to get/set specifications of VxLAN. category:Feature bugzilla:https://gitee.com/src-openeuler/ethtool/issues/I624AU Signed-off-by: Jiantao Xiao <xiaojiantao1@h-partners.com>
85 lines
2.5 KiB
Diff
85 lines
2.5 KiB
Diff
From fadc2a7e6eeeef3b129e4783009ac3c17fa7c43d Mon Sep 17 00:00:00 2001
|
|
From: Jiantao Xiao <xiaojiantao1@h-partners.com>
|
|
Date: Fri, 2 Dec 2022 18:01:11 +0800
|
|
Subject: [PATCH] configure update
|
|
|
|
The access control system lacks ./autogen.sh. Cannot update configure.
|
|
to add the configure for the --enable-fd-vxlan
|
|
|
|
Signed-off-by: Jiantao Xiao <xiaojiantao1@h-partners.com>
|
|
---
|
|
configure | 29 +++++++++++++++++++++++++++++
|
|
1 file changed, 29 insertions(+)
|
|
|
|
diff --git a/configure b/configure
|
|
index 25be374..160e9f7 100755
|
|
--- a/configure
|
|
+++ b/configure
|
|
@@ -590,6 +590,8 @@ ac_subst_vars='am__EXEEXT_FALSE
|
|
am__EXEEXT_TRUE
|
|
LTLIBOBJS
|
|
LIBOBJS
|
|
+ETHTOOL_FD_VXLAN_FEATURE_FALSE
|
|
+ETHTOOL_FD_VXLAN_FEATURE_TRUE
|
|
ETHTOOL_ENABLE_NETLINK_FALSE
|
|
ETHTOOL_ENABLE_NETLINK_TRUE
|
|
MNL_LIBS
|
|
@@ -699,6 +701,7 @@ enable_dependency_tracking
|
|
enable_pretty_dump
|
|
with_bash_completion_dir
|
|
enable_netlink
|
|
+enable_fd_vxlan
|
|
'
|
|
ac_precious_vars='build_alias
|
|
host_alias
|
|
@@ -1339,6 +1342,7 @@ Optional Features:
|
|
speeds up one-time build
|
|
--enable-pretty-dump enable registers, EEPROM and SFP pretty dumps (enabled by default)
|
|
--enable-netlink enable netlink interface (enabled by default)
|
|
+ --enable-fd-vxlan enable fd vxlan interface (enabled by default)
|
|
|
|
Optional Packages:
|
|
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
|
|
@@ -4574,6 +4578,27 @@ else
|
|
fi
|
|
|
|
|
|
+# Check whether --enable-fd-vxlan was given.
|
|
+if test "${enable_fd_vxlan+set}" = set; then :
|
|
+ enableval=$enable_fd_vxlan;
|
|
+else
|
|
+ enable_fd_vxlan=no
|
|
+fi
|
|
+
|
|
+if test x$enable_fd_vxlan = xyes; then
|
|
+
|
|
+$as_echo "#define ETHTOOL_FD_VXLAN_FEATURE 1" >>confdefs.h
|
|
+
|
|
+fi
|
|
+ if test x$enable_fd_vxlan = xyes; then
|
|
+ ETHTOOL_FD_VXLAN_FEATURE_TRUE=
|
|
+ ETHTOOL_FD_VXLAN_FEATURE_FALSE='#'
|
|
+else
|
|
+ ETHTOOL_FD_VXLAN_FEATURE_TRUE='#'
|
|
+ ETHTOOL_FD_VXLAN_FEATURE_FALSE=
|
|
+fi
|
|
+
|
|
+
|
|
ac_config_files="$ac_config_files Makefile ethtool.spec ethtool.8"
|
|
|
|
cat >confcache <<\_ACEOF
|
|
@@ -4725,6 +4750,10 @@ if test -z "${ETHTOOL_ENABLE_NETLINK_TRUE}" && test -z "${ETHTOOL_ENABLE_NETLINK
|
|
as_fn_error $? "conditional \"ETHTOOL_ENABLE_NETLINK\" was never defined.
|
|
Usually this means the macro was only invoked conditionally." "$LINENO" 5
|
|
fi
|
|
+if test -z "${ETHTOOL_FD_VXLAN_FEATURE_TRUE}" && test -z "${ETHTOOL_FD_VXLAN_FEATURE_FALSE}"; then
|
|
+ as_fn_error $? "conditional \"ETHTOOL_FD_VXLAN_FEATURE\" was never defined.
|
|
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
|
|
+fi
|
|
|
|
: "${CONFIG_STATUS=./config.status}"
|
|
ac_write_fail=0
|
|
--
|
|
2.30.0
|
|
|