| /openbmc/qemu/tests/rocker/ |
| H A D | all | 5 printf "Running bridge test... " 6 ./bridge 9 printf "Running bridge STP test... " 10 ./bridge-stp 13 printf "Running bridge VLAN test... " 14 ./bridge-vlan 17 printf "Running bridge VLAN STP test... " 18 ./bridge-vlan-stp
|
| H A D | bridge-vlan | 9 # configure a 2-port bridge 11 simp ssh tut sw1 --cmd "sudo /sbin/ip link add name br0 type bridge" 18 simp ssh tut sw1 --cmd "echo 0 | sudo dd of=/sys/class/net/br0/bridge/default_pvid 2> /dev/null" 19 simp ssh tut sw1 --cmd "echo 1 | sudo dd of=/sys/class/net/br0/bridge/vlan_filtering 2> /dev/null" 23 simp ssh tut sw1 --cmd "sudo /sbin/bridge vlan add vid 57 dev sw1p1" 24 simp ssh tut sw1 --cmd "sudo /sbin/bridge vlan add vid 57 dev sw1p2" 28 simp ssh tut sw1 --cmd "sudo /sbin/bridge link set dev sw1p1 learning off" 29 simp ssh tut sw1 --cmd "sudo /sbin/bridge link set dev sw1p2 learning off" 31 simp ssh tut sw1 --cmd "sudo /sbin/bridge link set dev sw1p1 flood off" 32 simp ssh tut sw1 --cmd "sudo /sbin/bridge link set dev sw1p2 flood off" [all …]
|
| H A D | bridge-vlan-stp | 9 # configure a 2-port bridge 11 simp ssh tut sw1 --cmd "sudo /sbin/ip link add name br0 type bridge" 19 simp ssh tut sw1 --cmd "echo 0 | sudo dd of=/sys/class/net/br0/bridge/default_pvid 2> /dev/null" 20 simp ssh tut sw1 --cmd "echo 1 | sudo dd of=/sys/class/net/br0/bridge/vlan_filtering 2> /dev/null" 24 simp ssh tut sw1 --cmd "sudo /sbin/bridge vlan add vid 57 dev sw1p1" 25 simp ssh tut sw1 --cmd "sudo /sbin/bridge vlan add vid 57 dev sw1p2" 29 simp ssh tut sw1 --cmd "sudo /sbin/bridge link set dev sw1p1 learning off" 30 simp ssh tut sw1 --cmd "sudo /sbin/bridge link set dev sw1p2 learning off" 32 simp ssh tut sw1 --cmd "sudo /sbin/bridge link set dev sw1p1 flood off" 33 simp ssh tut sw1 --cmd "sudo /sbin/bridge link set dev sw1p2 flood off" [all …]
|
| H A D | bridge | 9 # configure a 2-port bridge 11 simp ssh tut sw1 --cmd "sudo /sbin/ip link add name br0 type bridge" 17 simp ssh tut sw1 --cmd "echo 0 | sudo dd of=/sys/class/net/br0/bridge/default_pvid 2> /dev/null" 21 simp ssh tut sw1 --cmd "sudo /sbin/bridge link set dev sw1p1 learning off" 22 simp ssh tut sw1 --cmd "sudo /sbin/bridge link set dev sw1p2 learning off" 24 simp ssh tut sw1 --cmd "sudo /sbin/bridge link set dev sw1p1 flood off" 25 simp ssh tut sw1 --cmd "sudo /sbin/bridge link set dev sw1p2 flood off" 27 # bring up bridge and ports
|
| H A D | bridge-stp | 9 # configure a 2-port bridge 11 simp ssh tut sw1 --cmd "sudo /sbin/ip link add name br0 type bridge" 18 simp ssh tut sw1 --cmd "echo 0 | sudo dd of=/sys/class/net/br0/bridge/default_pvid 2> /dev/null" 22 simp ssh tut sw1 --cmd "sudo /sbin/bridge link set dev sw1p1 learning off" 23 simp ssh tut sw1 --cmd "sudo /sbin/bridge link set dev sw1p2 learning off" 25 simp ssh tut sw1 --cmd "sudo /sbin/bridge link set dev sw1p1 flood off" 26 simp ssh tut sw1 --cmd "sudo /sbin/bridge link set dev sw1p2 flood off" 33 # bring up bridge and ports
|
| /openbmc/qemu/docs/ |
| H A D | pcie_pci_bridge.txt | 6 PCIE-to-PCI bridge is a new method for legacy PCI 9 Previously Intel DMI-to-PCI bridge was used for this purpose. 12 PCIE-to-PCI bridge should now be used for any legacy PCI device usage 15 This generic PCIE-PCI bridge is a cross-platform device, 17 see 'PCIE-PCI bridge hot-plug' section), 18 and supports devices hot-plug into the bridge itself 21 Hot-plug of legacy PCI devices into the bridge 22 is provided by bridge's built-in Standard hot-plug Controller. 25 PCIE-PCI bridge hot-plug 27 Guest OSes require extra efforts to enable PCIE-PCI bridge hot-plug. [all …]
|
| H A D | pci_expander_bridge.txt | 6 PXB is a "light-weight" host bridge in the same PCI domain 7 as the main host bridge whose purpose is to enable 8 the main host bridge to support multiple PCI root buses. 12 As opposed to PCI-2-PCI bridge's secondary bus, PXB's bus 14 (different from the main host bridge) allowing the guest OS 32 - a pxb host bridge attached to NUMA 1 with an e1000 behind it 33 - a pxb host bridge attached to NUMA 0 with an e1000 behind it 34 - a pxb host bridge not attached to any NUMA with a hard drive behind it. 46 The host bridge allows to register and query the PXB's PCI root bus in QEMU. 48 …It is a regular PCI Device that resides on the piix host-bridge bus and its bus uses the same PCI … [all …]
|
| H A D | bypass-iommu.txt | 14 determine whether the devices attached on the PCI host bridge will bypass 17 bypass vIOMMU. When bypass_iommu property is not set for a host bridge, 22 The bypass iommu feature support PXB host bridge and default main host 23 bridge, we add a bypass_iommu property for PXB and default_bus_bypass_iommu 30 (1) PCI expander bridge 32 (2) Arm default host bridge 46 - a default host bridge which bypass SMMUv3 47 - a pxb host bridge which go through SMMUv3 48 - a pxb host bridge which bypass SMMUv3 60 - a default host bridge which bypass iommu [all …]
|
| /openbmc/phosphor-ipmi-flash/tools/ |
| H A D | p2a.cpp | 52 std::unique_ptr<PciBridgeIntf> bridge; in sendContents() local 58 bridge = std::make_unique<NuvotonPciBridge>(pci, skipBridgeDisable); in sendContents() 65 bridge = std::make_unique<AspeedPciBridge>(pci, skipBridgeDisable); in sendContents() 70 if (!bridge) in sendContents() 84 bridge->configure(pciResp); in sendContents() 98 std::vector<std::uint8_t> readBuffer(bridge->getDataLength()); in sendContents() 108 bridge->write( in sendContents()
|
| H A D | pci.cpp | 136 ret = pci->pci_device_cfg_read_u8(dev, &value, bridge); in enableBridge() 151 ret = pci->pci_device_cfg_write_u8(dev, value, bridge); in enableBridge() 164 ret = pci->pci_device_cfg_read_u8(dev, &value, bridge); in disableBridge() 173 ret = pci->pci_device_cfg_write_u8(dev, value, bridge); in disableBridge() 232 std::memcpy(addr + bridge, &configResp.address, sizeof(configResp.address)); in configure()
|
| /openbmc/openbmc/meta-openembedded/meta-networking/recipes-support/bridge-utils/ |
| H A D | bridge-utils_1.7.1.bb | 2 HOMEPAGE = "http://www.linuxfoundation.org/collaborate/workgroups/networking/bridge" 11 git://git.kernel.org/pub/scm/network/bridge/bridge-utils.git;branch=main \ 22 CVE_PRODUCT = "kernel:bridge-utils" 33 install -d ${D}/${datadir}/bridge-utils 38 RRECOMMENDS:${PN} = "kernel-module-bridge"
|
| /openbmc/openbmc/poky/meta/recipes-devtools/qemu/ |
| H A D | qemu-helper-native_1.0.bb | 5 LIC_FILES_CHKSUM = "file://${S}/qemu-oe-bridge-helper.c;endline=4;md5=ae00a3bab86f2caaa8462eacda77f… 7 SRC_URI = "file://qemu-oe-bridge-helper.c" 15 ${CC} ${CFLAGS} ${LDFLAGS} -Wall qemu-oe-bridge-helper.c -o qemu-oe-bridge-helper 20 install qemu-oe-bridge-helper ${D}${bindir}/
|
| /openbmc/u-boot/board/freescale/common/ |
| H A D | cds_via.c | 13 pci_dev_t bridge; in mpc85xx_config_via() local 31 bridge = PCI_BDF(0,BRIDGE_ID,0); in mpc85xx_config_via() 32 pci_hose_write_config_byte(hose, bridge, PCI_IO_BASE, 0); in mpc85xx_config_via() 33 pci_hose_write_config_word(hose, bridge, PCI_IO_BASE_UPPER16, 0); in mpc85xx_config_via() 34 pci_hose_write_config_byte(hose, bridge, PCI_IO_LIMIT, 0x10); in mpc85xx_config_via() 35 pci_hose_write_config_word(hose, bridge, PCI_IO_LIMIT_UPPER16, 0); in mpc85xx_config_via()
|
| /openbmc/qemu/ |
| H A D | qemu-bridge-helper.c | 242 const char *bridge = NULL; in main() local 269 bridge = &argv[index][5]; in main() 278 if (bridge == NULL || unixfd == -1) { in main() 282 if (strlen(bridge) >= IFNAMSIZ) { in main() 283 fprintf(stderr, "name `%s' too long: %zu\n", bridge, strlen(bridge)); in main() 309 if (strcmp(bridge, acl_rule->iface) == 0) { in main() 317 if (strcmp(bridge, acl_rule->iface) == 0) { in main() 364 prep_ifreq(&ifr, bridge); in main() 367 bridge, strerror(errno)); in main() 404 prep_ifreq(&ifr, bridge); in main() [all …]
|
| /openbmc/u-boot/arch/powerpc/cpu/mpc83xx/ |
| H A D | pcie.c | 57 struct pex_outbound_window *out_win = &pex->bridge.pex_outbound_win[0]; in mpc83xx_pcie_remap_cfg() 191 out_le32(&pex->bridge.pex_csb_ctrl, in mpc83xx_pcie_init_bus() 192 in_le32(&pex->bridge.pex_csb_ctrl) | PEX_CSB_CTRL_OBPIOE | in mpc83xx_pcie_init_bus() 196 out_le32(&pex->bridge.pex_csb_obctrl, PEX_CSB_OBCTRL_PIOE | in mpc83xx_pcie_init_bus() 200 out_win = &pex->bridge.pex_outbound_win[0]; in mpc83xx_pcie_init_bus() 213 out_win = &pex->bridge.pex_outbound_win[i + 1]; in mpc83xx_pcie_init_bus() 225 out_le32(&pex->bridge.pex_csb_ibctrl, PEX_CSB_IBCTRL_PIOE); in mpc83xx_pcie_init_bus() 232 in_win = &pex->bridge.pex_inbound_win[i]; in mpc83xx_pcie_init_bus() 258 in_win = &pex->bridge.pex_inbound_win[i]; in mpc83xx_pcie_init_bus() 266 out_le32(&pex->bridge.pex_int_axi_misc_enb, in mpc83xx_pcie_init_bus() [all …]
|
| /openbmc/phosphor-ipmi-flash/tools/test/ |
| H A D | tools_pci_unittest.cpp | 183 static constexpr int bridge = 0x0f004; member in host_tool::__anond86d8cb60111::AspeedDevice 349 std::unique_ptr<PciBridgeIntf> bridge = nuvotonDevice.getBridge(&pciMock); in TEST() local 350 EXPECT_THROW(bridge->write(std::span<std::uint8_t>(data)), ToolException); in TEST() 364 std::unique_ptr<PciBridgeIntf> bridge = nuvotonDevice.getBridge(&pciMock); in TEST() local 365 bridge->write(std::span<std::uint8_t>(data)); in TEST() 380 std::unique_ptr<PciBridgeIntf> bridge = nuvotonDevice.getBridge(&pciMock); in TEST() local 381 bridge->configure(config); in TEST() 395 std::unique_ptr<PciBridgeIntf> bridge = nuvotonDevice.getBridge(&pciMock); in TEST() local 396 EXPECT_EQ(bridge->getDataLength(), 0x4000); in TEST() 590 std::unique_ptr<PciBridgeIntf> bridge = aspeedDevice.getBridge(&pciMock); in TEST() local [all …]
|
| /openbmc/qemu/tests/qtest/libqos/ |
| H A D | loongarch-virt-machine.c | 45 QGenericPCIHost bridge; member 69 return &machine->bridge.obj; in virt_get_device() 97 qos_create_generic_pcihost(&machine->bridge, qts, &machine->alloc); in qos_create_machine_loongarch_virt() 98 loongarch_config_qpci_bus(&machine->bridge.pci); in qos_create_machine_loongarch_virt()
|
| H A D | riscv-virt-machine.c | 60 QGenericPCIHost bridge; member 84 return &machine->bridge.obj; in virt_get_device() 115 qos_create_generic_pcihost(&machine->bridge, qts, &machine->alloc); in qos_create_machine_riscv_virt() 116 riscv_config_qpci_bus(&machine->bridge.pci); in qos_create_machine_riscv_virt()
|
| H A D | arm-virt-machine.c | 40 QGenericPCIHost bridge; member 64 return &machine->bridge.obj; in virt_get_device() 84 qos_create_generic_pcihost(&machine->bridge, qts, &machine->alloc); in qos_create_machine_arm_virt()
|
| /openbmc/qemu/hw/misc/ |
| H A D | auxbus.c | 50 static inline I2CBus *aux_bridge_get_i2c_bus(AUXTOI2CState *bridge); 72 bus->bridge = AUXTOI2C(auxtoi2c); in aux_bus_init() 83 qdev_realize(DEVICE(bus->bridge), BUS(bus), &error_fatal); in aux_bus_realize() 95 return (dev == DEVICE(bus->bridge)); in aux_bus_is_bridge() 100 return aux_bridge_get_i2c_bus(bus->bridge); in aux_get_i2c_bus() 276 static inline I2CBus *aux_bridge_get_i2c_bus(AUXTOI2CState *bridge) in aux_bridge_get_i2c_bus() argument 278 return bridge->i2c_bus; in aux_bridge_get_i2c_bus()
|
| /openbmc/openbmc/meta-google/recipes-extended/networking/ |
| H A D | mstpd_git.bb | 10 SRC_URI += "file://bridge-stp" 16 FILES:${PN}-mstpd = "${sbindir}/mstpd ${sbindir}/mstpctl ${sbindir}/bridge-stp" 26 install -m 0755 ${UNPACKDIR}/bridge-stp ${D}/${sbindir}
|
| /openbmc/openbmc/meta-openembedded/meta-oe/recipes-extended/networking/ |
| H A D | mstpd_git.bb | 8 file://bridge-stp \ 19 FILES:${PN}-mstpd = "${sbindir}/mstpd ${sbindir}/mstpctl ${sbindir}/bridge-stp" 29 install -m 0755 ${UNPACKDIR}/bridge-stp ${D}${sbindir}
|
| /openbmc/qemu/docs/config/ |
| H A D | q35-emulated.cfg | 28 # 00:00.0 Host bridge 29 # 00:1f.0 ISA bridge / LPC 41 # 00:1c.* PCI bridge (PCI Express Root Ports) 43 # 00:1e.0 PCI bridge (legacy PCI bridge) 72 # PCI bridge (PCI Express Root Ports) 112 # PCI bridge (legacy PCI bridge) 115 # This bridge can be used to build an independent topology 118 # will be no devices connected to this bridge. 120 [device "ich9-pci-bridge"] 121 driver = "i82801b11-bridge"
|
| /openbmc/qemu/qapi/ |
| H A D | pci.json | 61 # the main bus for the bridge 64 # bridge. 66 # @io_range: The PIO range for all devices on this bridge 68 # @memory_range: The MMIO range for all devices on this bridge 71 # on this bridge 88 # @devices: a list of `PciDeviceInfo` for each device on this bridge 150 # @pci_bridge: if the device is a PCI bridge, the bridge information
|
| /openbmc/u-boot/doc/device-tree-bindings/video/bridge/ |
| H A D | ps8622.txt | 1 ps8622-bridge bindings 5 - reg: first i2c address of the bridge 20 lvds-bridge@48 {
|