| /xen/tools/hotplug/Linux/ |
| A D | vif-bridge | 31 bridge=${bridge:-} 32 bridge=$(xenstore_read_default "$XENBUS_PATH/bridge" "$bridge") 34 if [ -z "$bridge" ]; then 36 bridge=$(brctl show | awk 'NR==2{print$1}') 38 bridge=$(bridge link | cut -d" " -f7) 40 if [ -z "$bridge" ] 67 bridge="eth${bridge#xenbr}" 76 fatal "Could not find bridge device $bridge" 82 set_mtu "$bridge" "$dev" "$type_if" 83 add_to_bridge "$bridge" "$dev" [all …]
|
| A D | xen-network-common.sh | 110 local bridge=$1 115 brctl addbr ${bridge} 116 brctl stp ${bridge} off 117 brctl setfd ${bridge} 0 119 ip link add name ${bridge} type bridge stp_state 0 forward_delay 0 126 local bridge=$1 133 brctl addif ${bridge} ${dev} 145 local bridge=$1 159 log debug "$dev not on bridge $bridge" 165 local bridge=$1 [all …]
|
| A D | vif-openvswitch | 61 local bridge="$(xenstore_read_default "$XENBUS_PATH/bridge" "$bridge")" 64 if [[ $bridge =~ ^([^.:]+)(\.([[:digit:]]+))?(:([[:digit:]]+(:[[:digit:]]+)*))?$ ]]; then 65 bridge="${BASH_REMATCH[1]}" 84 -- add-port "$bridge" $dev $tag_arg $trunk_arg $vif_details
|
| A D | colo-proxy-setup | 22 : ${bridge:?} 80 do_without_error brctl delif $bridge $vifname 86 do_without_error ip link add name $forwardbr type bridge 105 do_without_error brctl addif $bridge $vifname 109 do_without_error ip link delete $forwardbr type bridge 110 do_without_error ip link set $vifname master $bridge
|
| A D | vif-setup.in | 7 exec @XEN_SCRIPT_DIR@/vif-bridge $*
|
| A D | Makefile | 5 XEN_SCRIPTS := vif-bridge
|
| /xen/xen/arch/arm/pci/ |
| A D | pci-host-common.c | 141 if ( !bridge ) in pci_alloc_host_bridge() 146 return bridge; in pci_alloc_host_bridge() 223 if ( !bridge ) in pci_host_common_probe() 234 bridge->dt_node = dev; in pci_host_common_probe() 235 bridge->cfg = cfg; in pci_host_common_probe() 250 xfree(bridge); in pci_host_common_probe() 264 if ( unlikely(!bridge) ) in pci_find_host_bridge_node() 269 return bridge->dt_node; in pci_find_host_bridge_node() 283 if ( (bus < bridge->cfg->busn_start) || (bus > bridge->cfg->busn_end) ) in pci_find_host_bridge() 285 return bridge; in pci_find_host_bridge() [all …]
|
| A D | pci-access.c | 21 int pci_generic_config_read(struct pci_host_bridge *bridge, pci_sbdf_t sbdf, in pci_generic_config_read() argument 24 void __iomem *addr = bridge->ops->map_bus(bridge, sbdf, reg); in pci_generic_config_read() 50 int pci_generic_config_write(struct pci_host_bridge *bridge, pci_sbdf_t sbdf, in pci_generic_config_write() argument 53 void __iomem *addr = bridge->ops->map_bus(bridge, sbdf, reg); in pci_generic_config_write() 80 struct pci_host_bridge *bridge = pci_find_host_bridge(sbdf.seg, sbdf.bus); in pci_config_read() local 82 if ( unlikely(!bridge) ) in pci_config_read() 85 if ( unlikely(!bridge->ops->read) ) in pci_config_read() 88 bridge->ops->read(bridge, sbdf, reg, len, &val); in pci_config_read() 98 if ( unlikely(!bridge) ) in pci_config_write() 101 if ( unlikely(!bridge->ops->write) ) in pci_config_write() [all …]
|
| A D | ecam.c | 23 void __iomem *pci_ecam_map_bus(struct pci_host_bridge *bridge, in pci_ecam_map_bus() argument 26 const struct pci_config_window *cfg = bridge->cfg; in pci_ecam_map_bus() 28 container_of(bridge->ops, const struct pci_ecam_ops, pci_ops); in pci_ecam_map_bus() 43 struct pci_host_bridge *bridge, in pci_ecam_need_p2m_hwdom_mapping() argument 46 struct pci_config_window *cfg = bridge->cfg; in pci_ecam_need_p2m_hwdom_mapping()
|
| /xen/xen/arch/arm/ |
| A D | vpci.c | 10 static pci_sbdf_t vpci_sbdf_from_gpa(const struct pci_host_bridge *bridge, in vpci_sbdf_from_gpa() argument 15 if ( bridge ) in vpci_sbdf_from_gpa() 17 sbdf.sbdf = VPCI_ECAM_BDF(gpa - bridge->cfg->phys_addr); in vpci_sbdf_from_gpa() 18 sbdf.seg = bridge->segment; in vpci_sbdf_from_gpa() 19 sbdf.bus += bridge->cfg->busn_start; in vpci_sbdf_from_gpa() 30 struct pci_host_bridge *bridge = p; in vpci_mmio_read() local 31 pci_sbdf_t sbdf = vpci_sbdf_from_gpa(bridge, info->gpa); in vpci_mmio_read() 52 struct pci_host_bridge *bridge = p; in vpci_mmio_write() local 53 pci_sbdf_t sbdf = vpci_sbdf_from_gpa(bridge, info->gpa); in vpci_mmio_write() 67 struct pci_config_window *cfg = bridge->cfg; in vpci_setup_mmio_handler_cb() [all …]
|
| /xen/xen/arch/arm/include/asm/ |
| A D | pci.h | 72 void __iomem *(*map_bus)(struct pci_host_bridge *bridge, pci_sbdf_t sbdf, 74 int (*read)(struct pci_host_bridge *bridge, pci_sbdf_t sbdf, 76 int (*write)(struct pci_host_bridge *bridge, pci_sbdf_t sbdf, 79 struct pci_host_bridge *bridge, 99 int pci_generic_config_read(struct pci_host_bridge *bridge, pci_sbdf_t sbdf, 101 int pci_generic_config_write(struct pci_host_bridge *bridge, pci_sbdf_t sbdf, 103 void __iomem *pci_ecam_map_bus(struct pci_host_bridge *bridge, 106 struct pci_host_bridge *bridge, 125 struct pci_host_bridge *bridge));
|
| /xen/tools/hotplug/FreeBSD/ |
| A D | vif-bridge | 24 bridge=$(xenstore-read "$path/bridge") 25 mtu=$(ifconfig $bridge | sed -n 's/.*mtu \([0-9]*\)$/\1/p') 27 ifconfig $bridge addm $iface_dev 33 bridge=$(xenstore-read "$path/bridge") 35 ifconfig $bridge deletem $iface_dev
|
| A D | Makefile | 5 XEN_SCRIPTS := vif-bridge block
|
| /xen/docs/figs/ |
| A D | network-bridge.fig | 108 4 0 0 50 -1 0 16 1.5708 4 255 1185 2520 5490 O/S bridge\001 110 4 0 0 50 -1 0 20 0.0000 4 300 840 4680 4590 bridge\001
|
| A D | Makefile | 6 TARGETS= network-bridge.png network-basic.png
|
| /xen/tools/hotplug/Linux/vif-post.d/ |
| A D | 00-vif-local.hook | 5 # This script will be sourced by, e.g., vif-bridge after the hotplugging 6 # system calls vif-bridge. The script is here and not simply executed as
|
| /xen/docs/man/ |
| A D | xl-network-configuration.5.pod.in | 21 'mac=00:16:3E:74:3d:76,model=rtl8139,bridge=xenbr0' 27 vif = [ 'mac=00:16:3E:74:34:32', 'mac=00:16:3e:5f:48:e4,bridge=xenbr1' ] 86 =head2 bridge section 88 Specifies the name of the network bridge which this VIF should be 89 added to. The default is C<xenbr0>. The bridge must be configured using 171 add it to the relevant bridge). Defaults to 172 C<@XEN_SCRIPT_DIR@/vif-bridge> but can be set to any script. Some example 259 default value is 1500 but, if the VIF is attached to a bridge, it will be set to match
|
| A D | xl.conf.5.pod.in | 116 Default: C<@XEN_SCRIPT_DIR@/vif-bridge> 118 =item B<vif.default.bridge="NAME"> 120 Configures the default bridge to set for virtual network devices.
|
| /xen/tools/xl/ |
| A D | xl_nic.c | 35 free(nic->bridge); in set_default_nic_values() 36 nic->bridge = strdup(default_bridge); in set_default_nic_values()
|
| /xen/tools/examples/ |
| A D | README | 21 vif-bridge - virtual network start/stop script in bridged mode 22 vif-common.sh - sourced by vif-bridge
|
| /xen/tools/libs/light/ |
| A D | libxl_nic.c | 84 if (!nic->bridge) { in libxl__device_nic_setdefault() 85 nic->bridge = strdup("xenbr0"); in libxl__device_nic_setdefault() 86 if (!nic->bridge) return ERROR_NOMEM; in libxl__device_nic_setdefault() 242 flexarray_append(back, libxl__strdup(gc, nic->bridge)); in libxl__set_xenstore_nic() 337 (const char **)(&nic->bridge)); in libxl__nic_from_xenstore()
|
| /xen/tools/libs/util/ |
| A D | libxlu_cfg_l.l | 45 %option bison-bridge
|
| /xen/automation/build/archlinux/ |
| A D | current.dockerfile | 10 bridge-utils \
|
| /xen/tools/hotplug/NetBSD/ |
| A D | Makefile | 8 XEN_SCRIPTS += vif-bridge
|
| /xen/docs/misc/ |
| A D | vtpm-platforms.txt | 56 vif=['mac=00:01:02:03:04:05,bridge=br0'] 63 vif=['mac=00:01:02:03:04:06,bridge=br0']
|