mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Oleksij Rempel <o.rempel@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Oleksij Rempel <o.rempel@pengutronix.de>
Subject: [ptxdist] [PATCH v1] iproute2: add option to build DCB tool
Date: Mon, 13 May 2024 12:47:59 +0200	[thread overview]
Message-ID: <20240513104759.1896739-1-o.rempel@pengutronix.de> (raw)

DCB is Data Center Bridging configuration tool which can be used to
set QoS and other options to network interfaces.

Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
---
 rules/iproute2.in   | 8 +++++++-
 rules/iproute2.make | 1 +
 2 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/rules/iproute2.in b/rules/iproute2.in
index 0c8374109..48e44fb3b 100644
--- a/rules/iproute2.in
+++ b/rules/iproute2.in
@@ -10,7 +10,7 @@ menuconfig IPROUTE2
 	select LIBC_M
 	select LIBC_PTHREAD	if IPROUTE2_ARPD
 	select LIBC_RESOLV
-	select LIBMNL		if IPROUTE2_DEVLINK
+	select LIBMNL		if IPROUTE2_DEVLINK || IPROUTE2_DCB
 	select PYTHON3		if IPROUTE2_ROUTEL && RUNTIME
 	help
 	  Networking and traffic control tools
@@ -44,6 +44,12 @@ config IPROUTE2_CTSTAT
 	help
 	  The connection status utility. Maybe linked to lnstat.
 
+config IPROUTE2_DCB
+	bool
+	prompt "dcb"
+	help
+	  The dcb utility.
+
 config IPROUTE2_DEVLINK
 	bool
 	prompt "devlink"
diff --git a/rules/iproute2.make b/rules/iproute2.make
index 79aa02f1d..7d7aee903 100644
--- a/rules/iproute2.make
+++ b/rules/iproute2.make
@@ -59,6 +59,7 @@ IPROUTE2_INSTALL_FILES-y =
 IPROUTE2_INSTALL_FILES-$(PTXCONF_IPROUTE2_ARPD) +=	arpd
 IPROUTE2_INSTALL_FILES-$(PTXCONF_IPROUTE2_BRIDGE) +=	bridge
 IPROUTE2_INSTALL_FILES-$(PTXCONF_IPROUTE2_CTSTAT) +=	ctstat
+IPROUTE2_INSTALL_FILES-$(PTXCONF_IPROUTE2_DCB) +=	dcb
 IPROUTE2_INSTALL_FILES-$(PTXCONF_IPROUTE2_DEVLINK) +=	devlink
 IPROUTE2_INSTALL_FILES-$(PTXCONF_IPROUTE2_GENL) +=	genl
 IPROUTE2_INSTALL_FILES-$(PTXCONF_IPROUTE2_IP) +=	ip
-- 
2.39.2




             reply	other threads:[~2024-05-13 10:48 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-13 10:47 Oleksij Rempel [this message]
2024-05-31  6:08 ` [ptxdist] [APPLIED] " Michael Olbrich

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=20240513104759.1896739-1-o.rempel@pengutronix.de \
    --to=o.rempel@pengutronix.de \
    --cc=ptxdist@pengutronix.de \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox