/openbmc/linux/drivers/net/ |
H A D | tap.c | 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() 181 list_add_tail(&q->next, &tap->queue_list); 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() 92 vlantap->tap.tap_features = TUN_OFFLOADS; in macvtap_newlink() 97 vlantap->tap.count_tx_dropped = macvtap_count_tx_dropped; 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() 88 vlantap->tap.tap_features = TUN_OFFLOADS; in ipvtap_newlink() 89 vlantap->tap.count_tx_dropped = ipvtap_count_tx_dropped; in ipvtap_newlink() [all …]
|
/openbmc/qemu/net/ |
H A D | tap.c | 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() 678 if (tap->has_vhost ? tap->vhost : in net_init_tap_one() 679 vhostfdname || (tap->has_vhostforce && tap->vhostforce)) { 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-linux.c | 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()
|
/openbmc/linux/include/linux/ |
H A D | if_tap.h | 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); 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/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 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' >…
|
/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/openbmc/poky/scripts/ |
H A D | runqemu-gen-tapdevs | 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
|
H A D | runqemu-ifdown | 39 if ! ip tuntap del $TAP mode tap 2>/dev/null; then 65 OE_TAP_NAME=tap
|
/openbmc/openbmc/poky/scripts/esdk-tools/ |
H A D | runqemu-gen-tapdevs | 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
|
H A D | runqemu-ifdown | 39 if ! ip tuntap del $TAP mode tap 2>/dev/null; then 65 OE_TAP_NAME=tap
|
/openbmc/u-boot/arch/mips/mach-ath79/ar934x/ |
H A D | ddr.c | 28 u32 tap; member 135 writel(memcfg->tap, ddr_regs + AR71XX_DDR_REG_TAP_CTRL0); in ar934x_ddr_init() 136 writel(memcfg->tap, ddr_regs + AR71XX_DDR_REG_TAP_CTRL1); in ar934x_ddr_init() 140 writel(memcfg->tap, in ar934x_ddr_init() 142 writel(memcfg->tap, in ar934x_ddr_init()
|
/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/u-boot/arch/mips/mach-ath79/ar933x/ |
H A D | ddr.c | 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() 300 val = tap; in ddr_tap_tuning() 314 val = tap; in ddr_tap_tuning()
|
/openbmc/u-boot/arch/mips/mach-ath79/qca953x/ |
H A D | ddr.c | 412 u32 val, pass, tap, cnt, tap_val, last, first; in ddr_tap_tuning() local 421 tap = 0; in ddr_tap_tuning() 424 writel(tap, regs + AR71XX_DDR_REG_TAP_CTRL0); in ddr_tap_tuning() 425 writel(tap, regs + AR71XX_DDR_REG_TAP_CTRL1); in ddr_tap_tuning() 452 last = tap; in ddr_tap_tuning() 454 first = tap; in ddr_tap_tuning() 455 last = tap; in ddr_tap_tuning() 459 tap++; in ddr_tap_tuning() 460 } while (tap < DDR_TAP_MAX_VAL); in ddr_tap_tuning()
|
/openbmc/u-boot/arch/arm/cpu/arm926ejs/spear/ |
H A D | spr_misc.c | 75 unsigned int tap; member 84 .tap = 0x10, 93 .tap = 0xf, 117 writel(p->tap, &emi_regs_p->bank_regs[cs].tap); in spear_emi_init()
|
/openbmc/linux/tools/testing/selftests/net/ |
H A D | test_vxlan_under_vrf.sh | 50 ip link del veth-tap 2>/dev/null || true 98 ip link add veth-tap type veth peer name veth-hv 100 ip link set veth-tap netns hv-$id 101 ip -netns hv-$id link set veth-tap master br0 102 ip -netns hv-$id link set veth-tap up
|
/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/qemu/tests/qemu-iotests/ |
H A D | testrunner.py | 141 def __init__(self, env: TestEnv, tap: bool = False, 144 self.tap = tap 176 if self.tap: 342 if not self.tap: 364 if self.tap: 378 if self.tap: 409 if self.tap: 423 if not self.tap:
|
H A D | meson.build | 44 args = ['-tap', '-' + format] 56 '-tap', '-' + format, item, 67 protocol: 'tap',
|
/openbmc/linux/arch/arm64/boot/dts/amd/ |
H A D | amd-seattle-xgbe-b.dtsi | 52 amd,serdes-dfe-tap-config = <3>, <3>, <3>; 53 amd,serdes-dfe-tap-enable = <0>, <0>, <7>; 78 amd,serdes-dfe-tap-config = <3>, <3>, <3>; 79 amd,serdes-dfe-tap-enable = <0>, <0>, <7>;
|
/openbmc/linux/drivers/mmc/host/ |
H A D | sdhci-of-aspeed.c | 130 u8 tap, bool enable, u32 reg) in aspeed_sdc_set_phase_tap() argument 134 reg |= tap << __ffs(desc->tap_mask); in aspeed_sdc_set_phase_tap() 168 unsigned int tap; in aspeed_sdhci_phase_to_tap() local 187 tap = div_u64(phase_period_ps, prop_delay_ps); in aspeed_sdhci_phase_to_tap() 188 if (tap > ASPEED_SDHCI_NR_TAPS) { in aspeed_sdhci_phase_to_tap() 191 tap, phase_deg, rate_hz, ASPEED_SDHCI_NR_TAPS); in aspeed_sdhci_phase_to_tap() 192 tap = ASPEED_SDHCI_NR_TAPS; in aspeed_sdhci_phase_to_tap() 195 return inverted | tap; in aspeed_sdhci_phase_to_tap()
|
/openbmc/linux/Documentation/devicetree/bindings/net/ |
H A D | amd-xgbe.txt | 49 - amd,serdes-dfe-tap-config: DFE taps available to run 50 - amd,serdes-dfe-tap-enable: DFE taps to enable 74 amd,serdes-dfe-tap-config = <3>, <3>, <1>; 75 amd,serdes-dfe-tap-enable = <0>, <0>, <127>;
|