/openbmc/linux/drivers/net/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 7 default y if UML 25 # All the following symbols are dependent on NETDEVICES - do not repeat 33 default y 63 This is essentially a bit-bucket device (i.e. traffic you send to 131 section 6.2 of the NET-3-HOWTO, available from 167 tristate "MAC-VLAN support" 173 iproute2 package starting with the iproute2-2.6.23 release: 181 tristate "MAC-VLAN based tap driver" 184 select TAP [all …]
|
H A D | macvtap.c | 1 // SPDX-License-Identifier: GPL-2.0-only 30 struct tap_dev tap; member 40 const struct net_device *dev = to_net_dev(d->parent); in macvtap_net_namespace() 54 static void macvtap_count_tx_dropped(struct tap_dev *tap) in macvtap_count_tx_dropped() argument 56 struct macvtap_dev *vlantap = container_of(tap, struct macvtap_dev, tap); in macvtap_count_tx_dropped() 57 struct macvlan_dev *vlan = &vlantap->vlan; in macvtap_count_tx_dropped() 59 this_cpu_inc(vlan->pcpu_stats->tx_dropped); in macvtap_count_tx_dropped() 62 static void macvtap_count_rx_dropped(struct tap_dev *tap) in macvtap_count_rx_dropped() argument 64 struct macvtap_dev *vlantap = container_of(tap, struct macvtap_dev, tap); in macvtap_count_rx_dropped() 65 struct macvlan_dev *vlan = &vlantap->vlan; in macvtap_count_rx_dropped() [all …]
|
H A D | tap.c | 1 // SPDX-License-Identifier: GPL-2.0-only 37 return q->flags & TAP_VNET_BE ? false : in tap_legacy_is_little_endian() 43 int s = !!(q->flags & TAP_VNET_BE); in tap_get_vnet_be() 46 return -EFAULT; in tap_get_vnet_be() 56 return -EFAULT; in tap_set_vnet_be() 59 q->flags |= TAP_VNET_BE; in tap_set_vnet_be() 61 q->flags &= ~TAP_VNET_BE; in tap_set_vnet_be() 73 return -EINVAL; in tap_get_vnet_be() 78 return -EINVAL; in tap_set_vnet_be() 84 return q->flags & TAP_VNET_LE || in tap_is_little_endian() [all …]
|
/openbmc/linux/drivers/net/ipvlan/ |
H A D | ipvtap.c | 1 // SPDX-License-Identifier: GPL-2.0-only 35 const struct net_device *dev = to_net_dev(d->parent); in ipvtap_net_namespace() 47 struct tap_dev tap; member 50 static void ipvtap_count_tx_dropped(struct tap_dev *tap) in ipvtap_count_tx_dropped() argument 52 struct ipvtap_dev *vlantap = container_of(tap, struct ipvtap_dev, tap); in ipvtap_count_tx_dropped() 53 struct ipvl_dev *vlan = &vlantap->vlan; in ipvtap_count_tx_dropped() 55 this_cpu_inc(vlan->pcpu_stats->tx_drps); in ipvtap_count_tx_dropped() 58 static void ipvtap_count_rx_dropped(struct tap_dev *tap) in ipvtap_count_rx_dropped() argument 60 struct ipvtap_dev *vlantap = container_of(tap, struct ipvtap_dev, tap); in ipvtap_count_rx_dropped() 61 struct ipvl_dev *vlan = &vlantap->vlan; in ipvtap_count_rx_dropped() [all …]
|
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-connectivity/vpnc/vpnc/ |
H A D | long-help | 1 Usage: vpnc [--version] [--print-config] [--help] [--long-help] [options] [config files] 4 --gateway <ip/hostname> 6 conf-variable: IPSec gateway <ip/hostname> 8 --id <ASCII string> 10 conf-variable: IPSec ID <ASCII string> 14 conf-variable: IPSec secret <ASCII string> 18 conf-variable: IPSec obfuscated secret <hex string> 20 --username <ASCII string> 22 conf-variable: Xauth username <ASCII string> 26 conf-variable: Xauth password <ASCII string> [all …]
|
/openbmc/linux/include/linux/input/ |
H A D | adxl34x.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 31 * Y, or Z participation in Tap detection. A '0' excludes the 32 * selected axis from participation in Tap detection. 33 * Setting the SUPPRESS bit suppresses Double Tap detection if 35 * tap_latency period, i.e. after the first tap but before the 36 * opening of the second tap window. 48 * holds the threshold value for tap detection/interrupts. 51 * behavior if Tap/Double Tap is enabled. 60 * to qualify as a tap event. The scale factor is 625 us/LSB. A zero 61 * value will prevent Tap/Double Tap functions from working. [all …]
|
/openbmc/qemu/docs/system/devices/ |
H A D | net.rst | 4 ----------------- 9 connect the NIC of the guest to a real network (e.g. by using a TAP 10 devices or the non-privileged user mode network stack), or to other 14 Using TAP network interfaces 24 As an example, you can download the ``linux-test-xxx.tar.gz`` archive 25 and copy the script ``qemu-ifup`` in ``/etc`` and configure properly 26 ``sudo`` so that the command ``ifconfig`` contained in ``qemu-ifup`` can 28 TAP network interfaces: the device ``/dev/net/tun`` must be present. 31 lines using the TAP network interfaces. 37 TAP-Win32. But it is not included in standard QEMU for Windows, so you [all …]
|
/openbmc/linux/tools/testing/selftests/net/ |
H A D | test_vxlan_under_vrf.sh | 2 # SPDX-License-Identifier: GPL-2.0 4 # This test is for checking VXLAN underlay in a non-default VRF. 11 # +-------------------+ +-------------------+ 13 # | vm-1 netns | | vm-2 netns | 15 # | +-------------+ | | +-------------+ | 16 # | | veth-hv | | | | veth-hv | | 18 # | +-------------+ | | +-------------+ | 20 # +-------------------+ +-------------------+ 24 # +-----------------------------------+ +------------------------------------+ 26 # | +----------+ | | +----------+ | [all …]
|
/openbmc/linux/arch/um/drivers/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 7 default y 14 The User-Mode Linux environment allows you to create virtual serial 18 See <http://user-mode-linux.sourceforge.net/old/input.html> for more 44 lines to host pseudo-terminals. Access to both traditional 45 pseudo-terminals (/dev/pty*) and pts pseudo-terminals are controlled 55 (/dev/tty*) and the slave side of pseudo-terminals (/dev/ttyp* and 68 string "xterm channel default terminal emulator" 70 default "xterm" 72 This option allows changing the default terminal emulator. [all …]
|
/openbmc/linux/Documentation/networking/ |
H A D | tuntap.rst | 1 .. SPDX-License-Identifier: GPL-2.0 5 Universal TUN/TAP device driver 8 Copyright |copy| 1999-2000 Maxim Krasnyansky <max_mk@yahoo.com> 11 Copyright |copy| 1999-2000 Maxim Krasnyansky <max_mk@yahoo.com> 13 FreeBSD TAP driver 14 Copyright |copy| 1999-2000 Maksim Yevmenkin <m_evmenkin@yahoo.com> 21 TUN/TAP provides packet reception and transmission for user space programs. 22 It can be seen as a simple Point-to-Point or Ethernet device, which, 34 IP packets (with tun) or ethernet frames (with tap). Which one is being used 38 for how to use tun and tap devices. Both programs work like a bridge between [all …]
|
/openbmc/qemu/tests/qemu-iotests/ |
H A D | testrunner.py | 3 # Copyright (c) 2020-2021 Virtuozzo International GmbH 39 def silent_unlink(path: Path) -> None: 46 def file_diff(file1: str, file2: str) -> List[str]: 47 with open(file1, encoding="utf-8") as f1, \ 48 open(file2, encoding="utf-8") as f2: 64 use it inside with-block or use save() after update(). 66 def __init__(self, cache_file: str, env: TestEnv) -> None: 72 with open(cache_file, encoding="utf-8") as f: 78 default: Optional[float] = None) -> Optional[float]: 80 return default [all …]
|
H A D | check | 5 # Copyright (c) 2020-2021 Virtuozzo International GmbH 42 def make_argparser() -> argparse.ArgumentParser: 47 p.add_argument('-n', '--dry-run', action='store_true', 49 p.add_argument('-j', dest='jobs', type=int, default=1, 52 p.add_argument('-d', dest='debug', action='store_true', help='debug') 53 p.add_argument('-p', dest='print', action='store_true', 56 p.add_argument('-gdb', action='store_true', 59 p.add_argument('-valgrind', action='store_true', 63 p.add_argument('-misalign', action='store_true', 65 p.add_argument('--color', choices=['on', 'off', 'auto'], [all …]
|
/openbmc/openbmc/poky/meta/recipes-devtools/perl/ |
H A D | libmodule-build-perl_0.4234.bb | 1 SUMMARY = "Module::Build - Build and install Perl modules" 5 build system. This module provides a simple, lightweight, drop-in replacement. \ 11 HOMEPAGE = "https://metacpan.org/release/Module-Build" 13 LICENSE = "Artistic-1.0 | GPL-1.0-or-later" 16 SRC_URI = "${CPAN_MIRROR}/authors/id/L/LE/LEONT/Module-Build-${PV}.tar.gz \ 17 file://run-ptest \ 21 S = "${WORKDIR}/Module-Build-${PV}" 23 inherit cpan_build ptest-perl 26 # https://github.com/rehsack/meta-cpan/blob/master/recipes-devel/module-build-perl/module-build-per… 30 …sed -i -e 's,my $interpreter = $self->{properties}{perl};,my $interpreter = "${bindir}/perl";,g' l… [all …]
|
/openbmc/qemu/net/ |
H A D | tap-linux.c | 4 * Copyright (c) 2003-2008 Fabrice Bellard 28 #include "tap-linux.h" 29 #include "net/tap.h" 35 #include "qemu/error-report.h" 51 return -1; in tap_open() 56 if (ioctl(fd, TUNGETFEATURES, &features) == -1) { in tap_open() 77 return -1; in tap_open() 80 * Make sure vnet header size has the default value: for a persistent in tap_open() 81 * tap it might have been modified e.g. by another instance of qemu. in tap_open() 93 return -1; in tap_open() [all …]
|
H A D | tap-win32.c | 2 * TAP-Win32 -- A kernel driver to provide virtual tap device functionality 3 * on Windows. Originally derived from the CIPE-Win32 7 * All source code which derives from the CIPE-Win32 project is 11 * All other source code is Copyright (C) James Yonan, 2003-2004, 35 #include "net/tap.h" /* tap_has_ufo, ... */ 36 #include "qemu/error-report.h" 37 #include "qemu/main-loop.h" 42 // TAP IOCTLs 62 #define ADAPTER_KEY "SYSTEM\\CurrentControlSet\\Control\\Class\\{4D36E972-E325-11CE-BFC1-08002BE103… 64 …NNECTIONS_KEY "SYSTEM\\CurrentControlSet\\Control\\Network\\{4D36E972-E325-11CE-BFC1-08002BE10318}" [all …]
|
/openbmc/linux/drivers/vhost/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 18 default n 30 default y 36 depends on NET && EVENTFD && (TUN || !TUN) && (TAP || !TAP) 50 default n 53 for use with virtio-scsi guests 56 tristate "vhost virtio-vsock driver" 60 default n 64 virtio_transport.ko driver loaded to use the virtio-vsock device. 70 tristate "Vhost driver for vDPA-based backend" [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/net/ |
H A D | amd-xgbe.txt | 1 * AMD 10GbE driver (amd-xgbe) 4 - compatible: Should be "amd,xgbe-seattle-v1a" 5 - reg: Address and length of the register sets for the device 6 - MAC registers 7 - PCS registers 8 - SerDes Rx/Tx registers 9 - SerDes integration registers (1/2) 10 - SerDes integration registers (2/2) 11 - interrupts: Should contain the amd-xgbe interrupt(s). The first interrupt 13 amd,per-channel-interrupt property is specified, then one additional [all …]
|
/openbmc/openbmc/poky/meta/classes-recipe/ |
H A D | qemuboot.bbclass | 4 # SPDX-License-Identifier: MIT 11 # QB_SYSTEM_NAME: qemu name, e.g., "qemu-system-i386" 13 # QB_OPT_APPEND: options to append to qemu, e.g., "-device usb-mouse" 15 # QB_DEFAULT_KERNEL: default kernel to boot, e.g., "bzImage" 16 # e.g., "bzImage-initramfs-qemux86-64.bin" if INITRAMFS_… 18 # QB_DEFAULT_FSTYPE: default FSTYPE to boot, e.g., "ext4" 20 # QB_MEM: memory, e.g., "-m 512" 22 # QB_MACHINE: qemu machine, e.g., "-machine virt" 24 # QB_CPU: qemu cpu, e.g., "-cpu qemu32" 26 # QB_CPU_KVM: the similar to QB_CPU, but used when kvm, e.g., '-cpu kvm64', [all …]
|
/openbmc/linux/drivers/mmc/host/ |
H A D | sdhci-tegra.c | 1 // SPDX-License-Identifier: GPL-2.0-only 9 #include <linux/dma-mapping.h> 20 #include <linux/mmc/slot-gpio.h> 32 #include "sdhci-cqhci.h" 33 #include "sdhci-pltfm.h" 192 const struct sdhci_tegra_soc_data *soc_data = tegra_host->soc_data; in tegra_sdhci_readw() 194 if (unlikely((soc_data->nvquirks & NVQUIRK_FORCE_SDHCI_SPEC_200) && in tegra_sdhci_readw() 200 return readw(host->ioaddr + reg); in tegra_sdhci_readw() 213 pltfm_host->xfer_mode_shadow = val; in tegra_sdhci_writew() 216 writel((val << 16) | pltfm_host->xfer_mode_shadow, in tegra_sdhci_writew() [all …]
|
/openbmc/qemu/qapi/ |
H A D | net.json | 1 # -*- Mode: Python -*- 21 # - If @name is not a valid network device, DeviceNotFound 29 # .. qmp-example:: 31 # -> { "execute": "set_link", 33 # <- { "return": {} } 47 # - If @type is not a valid network backend, DeviceNotFound 49 # .. qmp-example:: 51 # -> { "execute": "netdev_add", 54 # <- { "return": {} } 57 'allow-preconfig': true } [all …]
|
/openbmc/qemu/docs/system/riscv/ |
H A D | microchip-icicle-kit.rst | 1 Microchip PolarFire SoC Icicle Kit (``microchip-icicle-kit``) 5 SiFive's E51 plus four U54 cores and many on-chip peripherals and an FPGA. 8 https://www.microsemi.com/product-directory/soc-fpgas/5498-polarfire-soc-fpga 11 https://www.microsemi.com/existing-parts/parts/152514 14 ----------------- 16 The ``microchip-icicle-kit`` machine supports the following devices: 21 * Platform-Level Interrupt Controller (PLIC) 22 * L2 Loosely Integrated Memory (L2-LIM) 30 ------------ 32 The ``microchip-icicle-kit`` machine can start using the standard -bios [all …]
|
/openbmc/linux/tools/testing/selftests/tc-testing/ |
H A D | tdc.py | 2 # SPDX-License-Identifier: GPL-2.0 5 tdc.py - Linux tc (Traffic Control) unit test driver 54 mn = fn[0:-3] 60 pgname = pgname[0:-3] 64 self.plugin_instances[-1].check_args(self.args, None) 89 pgd = ['plugin-lib', 'plugin-lib-custom'] 201 foutput = serr.decode("utf-8", errors="ignore") 203 foutput = rawout.decode("utf-8", errors="ignore") 356 tap = "" 388 prepare_env(args, pm, 'setup', "-----> prepare stage", tidx["setup"]) [all …]
|
/openbmc/u-boot/arch/arm/dts/ |
H A D | imx7d-sdb.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 6 /dts-v1/; 12 compatible = "fsl,imx7d-sdb", "fsl,imx7d"; 22 soft_spi: soft-spi { 23 compatible = "spi-gpio"; 24 pinctrl-names = "default"; 25 pinctrl-0 = <&pinctrl_spi1>; 27 gpio-sck = <&gpio1 13 0>; 28 gpio-mosi = <&gpio1 9 0>; 29 cs-gpios = <&gpio1 12 0>; [all …]
|
/openbmc/qemu/ |
H A D | qemu-bridge-helper.c | 12 * the COPYING file in the top-level directory. 17 * - There is no manual page 18 * - The syntax of the ACL file is not documented anywhere 19 * - parse_acl_file() doesn't report fopen() failure properly, fails 45 #include "net/tap-linux.h" 48 #include <cap-ng.h> 71 "Usage: qemu-bridge-helper [--use-vnet] --br=bridge --fd=unixfd\n"); in usage() 82 return -1; in parse_acl_file() 116 while (arg != argend && g_ascii_isspace(*(argend - 1))) { in parse_acl_file() 117 argend--; in parse_acl_file() [all …]
|
/openbmc/linux/drivers/media/platform/ti/omap3isp/ |
H A D | ispresizer.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * TI OMAP3 ISP - Resizer module 42 * "TRM ES3.1, table 12-46" 58 * Default (and only) configuration of filter coefficients. 59 * 7-tap mode is for scale factors 0.25x to 0.5x. 60 * 4-tap mode is for scale factors 0.5x to 4.0x. 64 /* For 8-phase 4-tap horizontal filter: */ 75 /* For 8-phase 4-tap vertical filter: */ 86 /* For 4-phase 7-tap horizontal filter: */ 94 /* For 4-phase 7-tap vertical filter: */ [all …]
|