From: Ferruh Yigit <ferruh.yigit@amd.com>
To: Thomas Monjalon <thomas@monjalon.net>
Cc: <dev@dpdk.org>, David Marchand <david.marchand@redhat.com>,
<stable@dpdk.org>, <christian.ehrhardt@canonical.com>,
Daxue Gao <daxuex.gao@intel.com>
Subject: [PATCH v19.11 LTS] kni: fix build for Suse
Date: Fri, 16 Dec 2022 12:11:01 +0000 [thread overview]
Message-ID: <20221216121101.3553982-1-ferruh.yigit@amd.com> (raw)
Wrong macro is used in the patch that detects if '.ndo_tx_timeout'
has 'txqueue' parameter or not, which is causing build error.
Fixed by using correct macro.
Bugzilla ID: 1141
Fixes: d43fa3e198c0 ("kni: fix build for SLES15-SP3 (Make)")
Cc: stable@dpdk.org
Signed-off-by: Ferruh Yigit <ferruh.yigit@amd.com>
---
Cc: christian.ehrhardt@canonical.com
Cc: Daxue Gao <daxuex.gao@intel.com>
---
kernel/linux/kni/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kernel/linux/kni/Makefile b/kernel/linux/kni/Makefile
index bf0efab96b33..d125783213fb 100644
--- a/kernel/linux/kni/Makefile
+++ b/kernel/linux/kni/Makefile
@@ -22,7 +22,7 @@ MODULE_CFLAGS += -Wall -Werror
ifdef CONFIG_SUSE_KERNEL
KSRC = /lib/modules/$(shell uname -r)/source
ifneq ($(shell grep -A 1 "ndo_tx_timeout" $(KSRC)/include/linux/netdevice.h | grep -o txqueue),)
- MODULE_CFLAGS += -DHAVE_TX_TIMEOUT_TXQUEUE
+ MODULE_CFLAGS += -DHAVE_ARG_TX_QUEUE
endif
endif
--
2.25.1
next reply other threads:[~2022-12-16 12:11 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-12-16 12:11 Ferruh Yigit [this message]
2022-12-19 9:04 ` [PATCH v19.11 LTS] kni: fix build for Suse Gao, DaxueX
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20221216121101.3553982-1-ferruh.yigit@amd.com \
--to=ferruh.yigit@amd.com \
--cc=christian.ehrhardt@canonical.com \
--cc=david.marchand@redhat.com \
--cc=daxuex.gao@intel.com \
--cc=dev@dpdk.org \
--cc=stable@dpdk.org \
--cc=thomas@monjalon.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.