CONFIG_NET_ETHERNET_BRIDGE_DEFAULT

Declare one bridge instance for shell usage

Type: bool

Help

If the bridge shell is the sole user of the bridge code then
it needs at least one bridge instance to be useful.
Say y if this is the case. If you only want to inspect
existing bridge instances then say n.

Direct dependencies

NET_ETHERNET_BRIDGE_SHELL && NET_L2_ETHERNET && NETWORKING

(Includes any dependencies from ifs and menus.)

Default

  • y

Kconfig definition

At <Zephyr>/subsys/net/l2/ethernet/Kconfig:101

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:42<Zephyr>/subsys/Kconfig:39<Zephyr>/subsys/net/Kconfig:85<Zephyr>/subsys/net/l2/Kconfig:71

Menu path: (Top) → Sub Systems and OS Services → Networking → Link layer and IP networking support → Link layer options → Enable Ethernet support → Ethernet Bridging support → Ethernet Bridging management shell

config NET_ETHERNET_BRIDGE_DEFAULT
    bool "Declare one bridge instance for shell usage"
    default y
    depends on NET_ETHERNET_BRIDGE_SHELL && NET_L2_ETHERNET && NETWORKING
    help
      If the bridge shell is the sole user of the bridge code then
      it needs at least one bridge instance to be useful.
      Say y if this is the case. If you only want to inspect
      existing bridge instances then say n.

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)