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 <[email protected]>
---
 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 via email to