summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTan En De <ende.tan@starfivetech.com>2023-09-23 11:40:06 +0300
committerLey Foon Tan <leyfoon.tan@starfivetech.com>2023-12-04 06:00:16 +0300
commita6d940511a405f7aef8e3b401d3ae52440d5c0e3 (patch)
tree190b04e059b2b56963b8b4e6969e518eb1d2cadf
parentdc6cbaed2c74437a775a9e0da926501e5ca1fa1e (diff)
downloadlinux-a6d940511a405f7aef8e3b401d3ae52440d5c0e3.tar.xz
riscv: configs: dubhe: Enable bridge networking and TUN/TAP driver
So that we can create virtual network consisting of bridge and TAP interface attached to the bridge as a port. Signed-off-by: Tan En De <ende.tan@starfivetech.com>
-rw-r--r--arch/riscv/configs/starfive_dubhe_defconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/riscv/configs/starfive_dubhe_defconfig b/arch/riscv/configs/starfive_dubhe_defconfig
index 15428a69e1cb..0f8749838cc9 100644
--- a/arch/riscv/configs/starfive_dubhe_defconfig
+++ b/arch/riscv/configs/starfive_dubhe_defconfig
@@ -65,6 +65,7 @@ CONFIG_IP_NF_NAT=y
CONFIG_IP_NF_TARGET_MASQUERADE=y
CONFIG_IP_NF_TARGET_NETMAP=y
CONFIG_IP_NF_TARGET_REDIRECT=y
+CONFIG_BRIDGE=y
CONFIG_NETLINK_DIAG=y
CONFIG_NET_9P=y
CONFIG_NET_9P_VIRTIO=y
@@ -87,6 +88,7 @@ CONFIG_BLK_DEV_SD=y
CONFIG_BLK_DEV_SR=y
CONFIG_SCSI_VIRTIO=y
CONFIG_NETDEVICES=y
+CONFIG_TUN=y
CONFIG_VIRTIO_NET=y
CONFIG_MACB=y
CONFIG_STMMAC_ETH=y