/openbmc/linux/drivers/net/ |
H A D | tap.c | 99 .name = "tap", 146 static int tap_enable_queue(struct tap_dev *tap, struct file *file, in tap_enable_queue() argument 157 rcu_assign_pointer(tap->taps[tap->numvtaps], q); in tap_enable_queue() 158 q->queue_index = tap->numvtaps; in tap_enable_queue() 161 tap->numvtaps++; in tap_enable_queue() 167 static int tap_set_queue(struct tap_dev *tap, struct file *file, in tap_set_queue() argument 170 if (tap->numqueues == MAX_TAP_QUEUES) in tap_set_queue() 173 rcu_assign_pointer(q->tap, tap); in tap_set_queue() 174 rcu_assign_pointer(tap->taps[tap->numvtaps], q); in tap_set_queue() 178 q->queue_index = tap->numvtaps; in tap_set_queue() [all …]
|
H A D | macvtap.c | 30 struct tap_dev tap; member 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() 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() 70 static void macvtap_update_features(struct tap_dev *tap, in macvtap_update_features() argument 73 struct macvtap_dev *vlantap = container_of(tap, struct macvtap_dev, tap); in macvtap_update_features() 87 INIT_LIST_HEAD(&vlantap->tap.queue_list); in macvtap_newlink() 90 * tap support all offloads also. in macvtap_newlink() 92 vlantap->tap.tap_features = TUN_OFFLOADS; in macvtap_newlink() [all …]
|
/openbmc/linux/drivers/net/ipvlan/ |
H A D | ipvtap.c | 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() 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() 66 static void ipvtap_update_features(struct tap_dev *tap, in ipvtap_update_features() argument 69 struct ipvtap_dev *vlantap = container_of(tap, struct ipvtap_dev, tap); in ipvtap_update_features() 83 INIT_LIST_HEAD(&vlantap->tap.queue_list); in ipvtap_newlink() 86 * tap support all offloads also. in ipvtap_newlink() 88 vlantap->tap.tap_features = TUN_OFFLOADS; in ipvtap_newlink() [all …]
|
/openbmc/qemu/net/ |
H A D | tap.c | 46 #include "net/tap.h" 373 * Make sure host header length is set correctly in tap: in net_tap_fd_init() 610 static int net_tap_init(const NetdevTapOptions *tap, int *vnet_hdr, in net_tap_init() argument 617 if (tap->has_vnet_hdr) { in net_tap_init() 618 *vnet_hdr = tap->vnet_hdr; in net_tap_init() 647 static void net_init_tap_one(const NetdevTapOptions *tap, NetClientState *peer, in net_init_tap_one() argument 657 tap_set_sndbuf(s->fd, tap, &err); in net_init_tap_one() 663 if (tap->fd || tap->fds) { in net_init_tap_one() 665 } else if (tap->helper) { in net_init_tap_one() 666 qemu_set_info_str(&s->nc, "helper=%s", tap->helper); in net_init_tap_one() [all …]
|
H A D | meson.build | 49 system_ss.add(files('tap-win32.c')) 51 system_ss.add(files('tap.c', 'tap-linux.c')) 53 system_ss.add(files('tap.c', 'tap-bsd.c')) 55 system_ss.add(files('tap.c', 'tap-solaris.c')) 57 system_ss.add(files('tap.c', 'tap-stub.c'))
|
H A D | tap-solaris.c | 57 * Allocate TAP device, returns opened fd. 93 tap_fd = RETRY_ON_EINTR(open("/dev/tap", O_RDWR, 0)); in tap_alloc() 95 error_setg(errp, "Can't open /dev/tap"); in tap_alloc() 107 if_fd = RETRY_ON_EINTR(open("/dev/tap", O_RDWR, 0)); in tap_alloc() 109 error_setg(errp, "Can't open /dev/tap (2)"); in tap_alloc() 120 snprintf (actual_name, 32, "tap%d", ppa); in tap_alloc() 140 arp_fd = RETRY_ON_EINTR(open("/dev/tap", O_RDWR, 0)); in tap_alloc() 142 error_report("Can't open %s", "/dev/tap"); in tap_alloc() 154 error_setg(errp, "Can't link TAP device to IP"); in tap_alloc() 159 error_report("Can't link TAP device to ARP"); in tap_alloc() [all …]
|
H A D | tap-linux.c | 28 #include "tap-linux.h" 29 #include "net/tap.h" 81 * tap it might have been modified e.g. by another instance of qemu. in tap_open() 102 pstrcpy(ifr.ifr_name, IFNAMSIZ, "tap%d"); in tap_open() 120 /* sndbuf implements a kind of flow control for tap. 132 void tap_set_sndbuf(int fd, const NetdevTapOptions *tap, Error **errp) in tap_set_sndbuf() argument 136 sndbuf = !tap->has_sndbuf ? TAP_DEFAULT_SNDBUF : in tap_set_sndbuf() 137 tap->sndbuf > INT_MAX ? INT_MAX : in tap_set_sndbuf() 138 tap->sndbuf; in tap_set_sndbuf() 144 if (ioctl(fd, TUNSETSNDBUF, &sndbuf) == -1 && tap->has_sndbuf) { in tap_set_sndbuf() [all …]
|
/openbmc/openbmc/poky/scripts/ |
H A D | runqemu-ifup | 13 # If you'd like to create a bank of tap devices at once, you should use 14 # the runqemu-gen-tapdevs script instead. If tap devices are set up using 44 OE_TAP_NAME=tap 54 ip tuntap add "$OE_TAP_NAME$tap_no" mode tap group "$GROUP" && TAP=$OE_TAP_NAME$tap_no 57 if [ -z "$TAP" ]; then 58 echo "Error: Unable to find a tap device to use" 81 n=$[ (`echo $TAP | sed "s/$OE_TAP_NAME//"` * 2) + 1 ] 82 $IPTOOL addr add 192.168.7.$n/32 broadcast 192.168.7.255 dev $TAP 85 echo "Failed to set up IP addressing on $TAP" 88 $IPTOOL link set dev $TAP up [all …]
|
H A D | runqemu-gen-tapdevs | 3 # Create a "bank" of tap network devices that can be used by the 18 echo "Where <gid> is the numeric group id the tap devices will be owned by" 19 echo "<num> is the number of tap devices to create (0 to remove all)" 49 OE_TAP_NAME=tap 78 for tap in $interfaces; do 79 echo "Note: Destroying pre-existing tap interface $tap..." 80 ip tuntap del $tap mode tap 88 echo "Creating $COUNT tap devices for GID: $GID..." 98 echo "Note: that the tap devices be set as unmanaged in the" 105 # will use the existing bank of tap devices without creating
|
H A D | runqemu-ifdown | 3 # QEMU network configuration script to bring down tap devices. This 19 echo "sudo $(basename $0) <tap-dev>" 37 TAP=$1 39 if ! ip tuntap del $TAP mode tap 2>/dev/null; then 50 if `$IPTOOL link show $TAP > /dev/null 2>&1`; then 51 $IPTOOL link del $TAP 65 OE_TAP_NAME=tap 68 n=$[ (`echo $TAP | sed "s/$OE_TAP_NAME//"` * 2) + 1 ] 69 dest=$[ (`echo $TAP | sed "s/$OE_TAP_NAME//"` * 2) + 2 ]
|
/openbmc/openbmc/poky/scripts/esdk-tools/ |
H A D | runqemu-ifup | 13 # If you'd like to create a bank of tap devices at once, you should use 14 # the runqemu-gen-tapdevs script instead. If tap devices are set up using 44 OE_TAP_NAME=tap 54 ip tuntap add "$OE_TAP_NAME$tap_no" mode tap group "$GROUP" && TAP=$OE_TAP_NAME$tap_no 57 if [ -z "$TAP" ]; then 58 echo "Error: Unable to find a tap device to use" 81 n=$[ (`echo $TAP | sed "s/$OE_TAP_NAME//"` * 2) + 1 ] 82 $IPTOOL addr add 192.168.7.$n/32 broadcast 192.168.7.255 dev $TAP 85 echo "Failed to set up IP addressing on $TAP" 88 $IPTOOL link set dev $TAP up [all …]
|
H A D | runqemu-gen-tapdevs | 3 # Create a "bank" of tap network devices that can be used by the 18 echo "Where <gid> is the numeric group id the tap devices will be owned by" 19 echo "<num> is the number of tap devices to create (0 to remove all)" 49 OE_TAP_NAME=tap 78 for tap in $interfaces; do 79 echo "Note: Destroying pre-existing tap interface $tap..." 80 ip tuntap del $tap mode tap 88 echo "Creating $COUNT tap devices for GID: $GID..." 98 echo "Note: that the tap devices be set as unmanaged in the" 105 # will use the existing bank of tap devices without creating
|
H A D | runqemu-ifdown | 3 # QEMU network configuration script to bring down tap devices. This 19 echo "sudo $(basename $0) <tap-dev>" 37 TAP=$1 39 if ! ip tuntap del $TAP mode tap 2>/dev/null; then 50 if `$IPTOOL link show $TAP > /dev/null 2>&1`; then 51 $IPTOOL link del $TAP 65 OE_TAP_NAME=tap 68 n=$[ (`echo $TAP | sed "s/$OE_TAP_NAME//"` * 2) + 1 ] 69 dest=$[ (`echo $TAP | sed "s/$OE_TAP_NAME//"` * 2) + 2 ]
|
/openbmc/linux/include/linux/ |
H A D | if_tap.h | 28 * Maximum times a tap device can be opened. This can be used to 47 void (*update_features)(struct tap_dev *tap, netdev_features_t features); 48 void (*count_tx_dropped)(struct tap_dev *tap); 49 void (*count_rx_dropped)(struct tap_dev *tap); 53 * A tap queue is the central object of tap module, it connects 67 struct tap_dev __rcu *tap; member 77 void tap_del_queues(struct tap_dev *tap); 78 int tap_get_minor(dev_t major, struct tap_dev *tap); 79 void tap_free_minor(dev_t major, struct tap_dev *tap); 80 int tap_queue_resize(struct tap_dev *tap);
|
/openbmc/linux/Documentation/devicetree/bindings/mmc/ |
H A D | sdhci-am654.yaml | 56 # PHY output tap delays: 62 description: Output tap delay for SD/MMC legacy timing 68 description: Output tap delay for MMC high speed timing 74 description: Output tap delay for SD high speed timing 80 description: Output tap delay for SD UHS SDR12 timing 86 description: Output tap delay for SD UHS SDR25 timing 92 description: Output tap delay for SD UHS SDR50 timing 98 description: Output tap delay for SD UHS SDR104 timing 104 description: Output tap delay for SD UHS DDR50 timing 110 description: Output tap delay for eMMC DDR52 timing [all …]
|
/openbmc/openbmc/meta-openembedded/meta-gnome/recipes-graphics/clutter/clutter-1.0/ |
H A D | run-installed-tests-with-tap-output.patch | 4 Subject: [PATCH] Run installed tests with tap output 6 Configure output from installed-tests to be TAP compliant such that 14 build-aux/autotools/glib-tap.mk | 3 ++- 17 diff --git a/build-aux/autotools/glib-tap.mk b/build-aux/autotools/glib-tap.mk 19 --- a/build-aux/autotools/glib-tap.mk 20 +++ b/build-aux/autotools/glib-tap.mk 26 + echo 'Exec=env G_ENABLE_DIAGNOSTIC=0 CLUTTER_ENABLE_DIAGNOSTIC=0 $(installed_testdir)/$< --tap' >… 27 + echo 'Output=TAP' >> $@.tmp; \
|
/openbmc/linux/Documentation/networking/ |
H A D | tuntap.rst | 5 Universal TUN/TAP device driver 13 FreeBSD TAP driver 21 TUN/TAP provides packet reception and transmission for user space programs. 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 104 * IFF_TAP - TAP device 158 * IFF_TAP - TAP device 209 Universal TUN/TAP device driver Frequently Asked Question 212 1. What platforms are supported by TUN/TAP driver ? 220 2. What is TUN/TAP driver used for? [all …]
|
/openbmc/openbmc/meta-openembedded/meta-python/recipes-devtools/python/python3-pynetlinux/ |
H A D | 0002-Fixed-relative-imports.patch | 13 pynetlinux/tap.py | 2 +- 26 -import tap 30 +from . import tap 45 diff --git a/pynetlinux/tap.py b/pynetlinux/tap.py 47 --- a/pynetlinux/tap.py 48 +++ b/pynetlinux/tap.py
|
/openbmc/linux/Documentation/devicetree/bindings/spi/ |
H A D | nvidia,tegra210-quad-peripheral-props.yaml | 14 nvidia,tx-clk-tap-delay: 16 Delays the clock going out to device with this tap value. 17 Tap value varies based on platform design trace lengths from Tegra 23 nvidia,rx-clk-tap-delay: 25 Delays the clock coming in from the device with this tap value. 26 Tap value varies based on platform design trace lengths from Tegra
|
/openbmc/linux/include/linux/input/ |
H A D | adxl34x.h | 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. 69 * from the detection of a tap event to the opening of the time [all …]
|
/openbmc/linux/Documentation/dev-tools/ |
H A D | ktap.rst | 7 TAP, or the Test Anything Protocol is a format for specifying test results used 9 <https://testanything.org/>`_. The Linux Kernel largely uses TAP output for test 11 which don't align with the original TAP specification. Thus, a "Kernel TAP" 12 (KTAP) format is specified to extend and alter TAP to support these use-cases. 28 In general, valid KTAP output should also form valid TAP output, but some 38 version of the (K)TAP standard the result is compliant with. 42 - "TAP version 13" 43 - "TAP version 14" 101 directive is inherited from TAP, its use in the kernel is discouraged. 175 This is an important difference from TAP. Kernel tests may print messages [all …]
|
/openbmc/openbmc/poky/meta/recipes-devtools/perl/files/ |
H A D | perl-rdepends.txt | 12 RDEPENDS:perl-module-test-builder-formatter += "perl-module-test2-formatter-tap" 16 RDEPENDS:perl-module-test2-formatter-tap += "perl-module-test2-formatter" 42 RDEPENDS:perl-module-app-prove += "perl-module-tap-harness" 43 RDEPENDS:perl-module-app-prove += "perl-module-tap-harness-env" 51 RDEPENDS:perl-module-app-prove-state += "perl-module-tap-parser-yamlish-reader" 52 RDEPENDS:perl-module-app-prove-state += "perl-module-tap-parser-yamlish-writer" 1700 RDEPENDS:perl-module-tap-base += "perl-module-base" 1701 RDEPENDS:perl-module-tap-base += "perl-module-constant" 1702 RDEPENDS:perl-module-tap-base += "perl-module-strict" 1703 RDEPENDS:perl-module-tap-base += "perl-module-warnings" [all …]
|
/openbmc/u-boot/arch/mips/mach-ath79/ar933x/ |
H A D | ddr.c | 179 /* DQS 0 Tap Control */ in ddr_init() 182 /* DQS 1 Tap Control */ in ddr_init() 223 /* DQS 0 Tap Control */ in ddr_init() 226 /* DQS 1 Tap Control */ in ddr_init() 238 u32 val, tap, upper, lower; in ddr_tap_tuning() local 266 tap = readl(regs + AR71XX_DDR_REG_TAP_CTRL0); in ddr_tap_tuning() 267 val = tap; in ddr_tap_tuning() 268 upper = tap; in ddr_tap_tuning() 269 lower = tap; in ddr_tap_tuning() 273 /* Update new DDR tap value */ in ddr_tap_tuning() [all …]
|
/openbmc/openbmc/poky/meta/recipes-devtools/perl/ |
H A D | libmodule-build-perl_0.4234.bb | 90 perl-module-tap-harness \ 111 perl-module-tap-base \ 112 perl-module-tap-formatter-base \ 113 perl-module-tap-formatter-file \ 114 perl-module-tap-formatter-session \ 115 perl-module-tap-harness-env \ 116 perl-module-tap-parser \ 117 perl-module-tap-parser-scheduler \
|
/openbmc/qemu/docs/devel/ |
H A D | ebpf_rss.rst | 32 eBPF RSS turned on by different combinations of vhost-net, vitrio-net and tap configurations: 36 tap,vhost=off & virtio-net-pci,rss=on,hash=off 40 tap,vhost=on & virtio-net-pci,rss=on,hash=off 44 tap,vhost=off & virtio-net-pci,rss=on,hash=on 48 tap,vhost=on & virtio-net-pci,rss=on,hash=on 94 ….skeleton.h. Returns 'true' on success. After that, program_fd can be used to set steering for TAP. 125 For now, ``set_steering_ebpf()`` method supported by Linux TAP NetClientState. The method requires …
|