Home
last modified time | relevance | path

Searched +full:default +full:- +full:tap (Results 1 – 25 of 221) sorted by relevance

123456789

/kernel/linux/linux-6.6/drivers/net/ipvlan/
Dipvtap.c1 // 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 …]
/kernel/linux/linux-5.10/drivers/net/ipvlan/
Dipvtap.c1 // SPDX-License-Identifier: GPL-2.0-only
35 struct net_device *dev = to_net_dev(d->parent); in ipvtap_net_namespace()
48 struct tap_dev tap; member
51 static void ipvtap_count_tx_dropped(struct tap_dev *tap) in ipvtap_count_tx_dropped() argument
53 struct ipvtap_dev *vlantap = container_of(tap, struct ipvtap_dev, tap); in ipvtap_count_tx_dropped()
54 struct ipvl_dev *vlan = &vlantap->vlan; in ipvtap_count_tx_dropped()
56 this_cpu_inc(vlan->pcpu_stats->tx_drps); in ipvtap_count_tx_dropped()
59 static void ipvtap_count_rx_dropped(struct tap_dev *tap) in ipvtap_count_rx_dropped() argument
61 struct ipvtap_dev *vlantap = container_of(tap, struct ipvtap_dev, tap); in ipvtap_count_rx_dropped()
62 struct ipvl_dev *vlan = &vlantap->vlan; in ipvtap_count_rx_dropped()
[all …]
/kernel/linux/linux-6.6/drivers/net/
Dmacvtap.c1 // 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 …]
DKconfig1 # 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 …]
Dtap.c1 // 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 …]
/kernel/linux/linux-5.10/drivers/net/
Dmacvtap.c1 // SPDX-License-Identifier: GPL-2.0-only
30 struct tap_dev tap; member
40 struct net_device *dev = to_net_dev(d->parent); in macvtap_net_namespace()
55 static void macvtap_count_tx_dropped(struct tap_dev *tap) in macvtap_count_tx_dropped() argument
57 struct macvtap_dev *vlantap = container_of(tap, struct macvtap_dev, tap); in macvtap_count_tx_dropped()
58 struct macvlan_dev *vlan = &vlantap->vlan; in macvtap_count_tx_dropped()
60 this_cpu_inc(vlan->pcpu_stats->tx_dropped); in macvtap_count_tx_dropped()
63 static void macvtap_count_rx_dropped(struct tap_dev *tap) in macvtap_count_rx_dropped() argument
65 struct macvtap_dev *vlantap = container_of(tap, struct macvtap_dev, tap); in macvtap_count_rx_dropped()
66 struct macvlan_dev *vlan = &vlantap->vlan; in macvtap_count_rx_dropped()
[all …]
DKconfig1 # 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
62 This is essentially a bit-bucket device (i.e. traffic you send to
129 section 6.2 of the NET-3-HOWTO, available from
165 tristate "MAC-VLAN support"
171 iproute2 package starting with the iproute2-2.6.23 release:
179 tristate "MAC-VLAN based tap driver"
182 select TAP
[all …]
Dtap.c1 // SPDX-License-Identifier: GPL-2.0-only
35 return q->flags & TAP_VNET_BE ? false : in tap_legacy_is_little_endian()
41 int s = !!(q->flags & TAP_VNET_BE); in tap_get_vnet_be()
44 return -EFAULT; in tap_get_vnet_be()
54 return -EFAULT; in tap_set_vnet_be()
57 q->flags |= TAP_VNET_BE; in tap_set_vnet_be()
59 q->flags &= ~TAP_VNET_BE; in tap_set_vnet_be()
71 return -EINVAL; in tap_get_vnet_be()
76 return -EINVAL; in tap_set_vnet_be()
82 return q->flags & TAP_VNET_LE || in tap_is_little_endian()
[all …]
/kernel/linux/linux-5.10/include/linux/input/
Dadxl34x.h1 /* 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 …]
/kernel/linux/linux-6.6/include/linux/input/
Dadxl34x.h1 /* 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 …]
/kernel/linux/linux-6.6/tools/testing/selftests/net/
Dtest_vxlan_under_vrf.sh2 # 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 …]
/kernel/linux/linux-5.10/tools/testing/selftests/net/
Dtest_vxlan_under_vrf.sh2 # 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 …]
/kernel/linux/linux-5.10/Documentation/networking/
Dtuntap.rst1 .. 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 …]
/kernel/linux/linux-6.6/Documentation/networking/
Dtuntap.rst1 .. 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 …]
/kernel/linux/linux-6.6/arch/um/drivers/
DKconfig1 # 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 …]
/kernel/linux/linux-5.10/arch/um/drivers/
DKconfig1 # 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
69 default !(XTERM_CHAN && TTY_CHAN && PTY_CHAN && PORT_CHAN && NULL_CHAN)
72 string "Default main console channel initialization"
73 default "fd:0,fd:1"
[all …]
/kernel/linux/linux-5.10/drivers/vhost/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
25 default y
31 depends on NET && EVENTFD && (TUN || !TUN) && (TAP || !TAP)
45 default n
48 for use with virtio-scsi guests
51 tristate "vhost virtio-vsock driver"
55 default n
59 virtio_transport.ko driver loaded to use the virtio-vsock device.
65 tristate "Vhost driver for vDPA-based backend"
72 guest virtio devices with the vDPA-based backends.
[all …]
/kernel/linux/linux-6.6/drivers/vhost/
DKconfig1 # 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 …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/net/
Damd-xgbe.txt1 * 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 …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/net/
Damd-xgbe.txt1 * 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 …]
/kernel/linux/linux-6.6/drivers/mmc/host/
Dsdhci-tegra.c1 // 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 …]
/kernel/linux/linux-5.10/drivers/mmc/host/
Dsdhci-tegra.c1 // SPDX-License-Identifier: GPL-2.0-only
7 #include <linux/dma-mapping.h>
23 #include <linux/mmc/slot-gpio.h>
27 #include "sdhci-cqhci.h"
28 #include "sdhci-pltfm.h"
181 const struct sdhci_tegra_soc_data *soc_data = tegra_host->soc_data; in tegra_sdhci_readw()
183 if (unlikely((soc_data->nvquirks & NVQUIRK_FORCE_SDHCI_SPEC_200) && in tegra_sdhci_readw()
189 return readw(host->ioaddr + reg); in tegra_sdhci_readw()
202 pltfm_host->xfer_mode_shadow = val; in tegra_sdhci_writew()
205 writel((val << 16) | pltfm_host->xfer_mode_shadow, in tegra_sdhci_writew()
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/tc-testing/
Dtdc.py2 # 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']
202 foutput = serr.decode("utf-8", errors="ignore")
204 foutput = rawout.decode("utf-8", errors="ignore")
253 tap = ""
272 prepare_env(args, pm, 'setup', "-----> prepare stage", tidx["setup"])
[all …]
/kernel/linux/linux-6.6/tools/testing/selftests/tc-testing/
Dtdc.py2 # 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 …]
/kernel/linux/linux-5.10/drivers/media/platform/omap3isp/
Dispresizer.c1 // 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 …]

123456789