patches for DPDK stable branches
 help / color / mirror / Atom feed
* [PATCH v19.11 LTS] kni: fix build for Suse
@ 2022-12-16 12:11 Ferruh Yigit
  2022-12-19  9:04 ` Gao, DaxueX
  0 siblings, 1 reply; 2+ messages in thread
From: Ferruh Yigit @ 2022-12-16 12:11 UTC (permalink / raw)
  To: Thomas Monjalon
  Cc: dev, David Marchand, stable, christian.ehrhardt, Daxue Gao

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* RE: [PATCH v19.11 LTS] kni: fix build for Suse
  2022-12-16 12:11 [PATCH v19.11 LTS] kni: fix build for Suse Ferruh Yigit
@ 2022-12-19  9:04 ` Gao, DaxueX
  0 siblings, 0 replies; 2+ messages in thread
From: Gao, DaxueX @ 2022-12-19  9:04 UTC (permalink / raw)
  To: Ferruh Yigit, Thomas Monjalon
  Cc: dev, David Marchand, stable, christian.ehrhardt

> From: Ferruh Yigit <ferruh.yigit@amd.com>
> Sent: 2022年12月16日 20:11
> To: Thomas Monjalon <thomas@monjalon.net>
> Cc: dev@dpdk.org; David Marchand <david.marchand@redhat.com>;
> stable@dpdk.org; christian.ehrhardt@canonical.com; Gao, DaxueX
> <daxuex.gao@intel.com>
> Subject: [PATCH v19.11 LTS] kni: fix build for Suse
> 
> 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>

Tested-by: Daxue Gao <daxuex.gao@intel.com>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-12-19  9:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-16 12:11 [PATCH v19.11 LTS] kni: fix build for Suse Ferruh Yigit
2022-12-19  9:04 ` Gao, DaxueX

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).