Home
last modified time | relevance | path

Searched +full:1 +full:br +full:- +full:100 (Results 1 – 25 of 82) sorted by relevance

1234

/linux/tools/testing/selftests/net/forwarding/
H A Dbridge_locked_port.sh2 # SPDX-License-Identifier: GPL-2.0
21 simple_if_init $h1 192.0.2.1/24 2001:db8:1::1/64
22 vlan_create $h1 100 v$h1 198.51.100.1/24
27 vlan_destroy $h1 100
28 simple_if_fini $h1 192.0.2.1/24 2001:db8:1::1/64
33 simple_if_init $h2 192.0.2.2/24 2001:db8:1::2/64
34 vlan_create $h2 100 v$h2 198.51.100.2/24
39 vlan_destroy $h2 100
40 simple_if_fini $h2 192.0.2.2/24 2001:db8:1::2/64
45 ip link add dev br0 type bridge vlan_filtering 1
[all …]
H A Dmirror_gre_topo_lib.sh1 # SPDX-License-Identifier: GPL-2.0
4 # netdevices. The tests that use it tweak it in one way or another--importantly,
7 # +---------------------+ +---------------------+
11 # +-----|---------------+ +---------------|-----+
13 # +-----|-------------------------------------------------------------|-----+
14 # | SW o--> mirror | |
15 # | +---|-------------------------------------------------------------|---+ |
16 # | | + $swp1 BR $swp2 + | |
17 # | +---------------------------------------------------------------------+ |
20 # | | : loc=2001:db8:2::1 : loc=192.0.2.129 |
[all …]
H A Dtc_flower_port_range.sh2 # SPDX-License-Identifier: GPL-2.0
4 # +-----------------------+ +----------------------+
8 # | | 2001:db8:1::1/64 | | 2001:db8:1::2/64 | |
9 # +----|------------------+ +------------------|---+
11 # +----|-------------------------------------------------------------------|---+
13 # | +-|-------------------------------------------------------------------|-+ |
14 # | | + $swp1 BR $swp2 + | |
15 # | +-----------------------------------------------------------------------+ |
16 # +----------------------------------------------------------------------------+
32 simple_if_init $h1 192.0.2.1/28 2001:db8:1::1/64
[all …]
H A Dmirror_gre_bound.sh2 # SPDX-License-Identifier: GPL-2.0
4 # +---------------------+ +---------------------+
8 # +-----|---------------+ +---------------|-----+
10 # +-----|-------------------------------------------------------------|-----+
11 # | SW o--> mirror | |
12 # | +---|-------------------------------------------------------------|---+ |
13 # | | + $swp1 BR $swp2 + | |
14 # | +---------------------------------------------------------------------+ |
16 # | +---------------------------------------------------------------------+ |
18 # | | : loc=2001:db8:2::1 : loc=192.0.2.129 | |
[all …]
H A Dtc_flower_l2_miss.sh2 # SPDX-License-Identifier: GPL-2.0
4 # +-----------------------+ +----------------------+
8 # | | 2001:db8:1::1/64 | | 2001:db8:1::2/64 | |
9 # +----|------------------+ +------------------|---+
11 # +----|-------------------------------------------------------------------|---+
13 # | +-|-------------------------------------------------------------------|-+ |
14 # | | + $swp1 BR $swp2 + | |
15 # | +-----------------------------------------------------------------------+ |
16 # +----------------------------------------------------------------------------+
31 simple_if_init $h1 192.0.2.1/28 2001:db8:1::1/64
[all …]
H A Dbridge_mdb.sh2 # SPDX-License-Identifier: GPL-2.0
4 # +-----------------------+ +------------------------+
8 # | | 2001:db8:1::1/64 | | | 2001:db8:1::2/64 |
12 # | \ | 2001:db8:2::1/64 | | \ | 2001:db8:2::2/64 |
15 # +----|------------------+ +----|-------------------+
17 # +----|--------------------------------------------------|-------------------+
19 # | +--|--------------------------------------------------|-----------------+ |
24 # | +-----------------------------------------------------------------------+ |
25 # +---------------------------------------------------------------------------+
40 vlan_create $h1 10 v$h1 192.0.2.1/28 2001:db8:1::1/64
[all …]
/linux/net/bridge/
H A Dbr_if.c1 // SPDX-License-Identifier: GPL-2.0-or-later
52 return 100; in port_cost()
54 return 100; in port_cost()
57 return 1; in port_cost()
62 if (!strncmp(dev->name, "lec", 3)) in port_cost()
65 if (!strncmp(dev->name, "plip", 4)) in port_cost()
68 return 100; /* assume old 10Mbps */ in port_cost()
75 struct net_device *dev = p->dev; in br_port_carrier_check()
76 struct net_bridge *br = p->br; in br_port_carrier_check() local
78 if (!(p->flags & BR_ADMIN_COST) && in br_port_carrier_check()
[all …]
H A Dbr_cfm.c1 // SPDX-License-Identifier: GPL-2.0-or-later
7 static struct br_cfm_mep *br_mep_find(struct net_bridge *br, u32 instance) in br_mep_find() argument
11 hlist_for_each_entry(mep, &br->mep_list, head) in br_mep_find()
12 if (mep->instance == instance) in br_mep_find()
18 static struct br_cfm_mep *br_mep_find_ifindex(struct net_bridge *br, in br_mep_find_ifindex() argument
44 br_mep_get_port(struct net_bridge * br,u32 ifindex) br_mep_get_port() argument
379 struct net_bridge *br; br_cfm_frame_rx() local
497 br_cfm_mep_create(struct net_bridge * br,const u32 instance,struct br_cfm_mep_create * const create,struct netlink_ext_ack * extack) br_cfm_mep_create() argument
569 mep_delete_implementation(struct net_bridge * br,struct br_cfm_mep * mep) mep_delete_implementation() argument
594 br_cfm_mep_delete(struct net_bridge * br,const u32 instance,struct netlink_ext_ack * extack) br_cfm_mep_delete() argument
614 br_cfm_mep_config_set(struct net_bridge * br,const u32 instance,const struct br_cfm_mep_config * const config,struct netlink_ext_ack * extack) br_cfm_mep_config_set() argument
635 br_cfm_cc_config_set(struct net_bridge * br,const u32 instance,const struct br_cfm_cc_config * const config,struct netlink_ext_ack * extack) br_cfm_cc_config_set() argument
673 br_cfm_cc_peer_mep_add(struct net_bridge * br,const u32 instance,u32 mepid,struct netlink_ext_ack * extack) br_cfm_cc_peer_mep_add() argument
712 br_cfm_cc_peer_mep_remove(struct net_bridge * br,const u32 instance,u32 mepid,struct netlink_ext_ack * extack) br_cfm_cc_peer_mep_remove() argument
743 br_cfm_cc_rdi_set(struct net_bridge * br,const u32 instance,const bool rdi,struct netlink_ext_ack * extack) br_cfm_cc_rdi_set() argument
762 br_cfm_cc_ccm_tx(struct net_bridge * br,const u32 instance,const struct br_cfm_cc_ccm_tx_info * const tx_info,struct netlink_ext_ack * extack) br_cfm_cc_ccm_tx() argument
820 br_cfm_mep_count(struct net_bridge * br,u32 * count) br_cfm_mep_count() argument
834 br_cfm_peer_mep_count(struct net_bridge * br,u32 * count) br_cfm_peer_mep_count() argument
850 br_cfm_created(struct net_bridge * br) br_cfm_created() argument
857 br_cfm_port_del(struct net_bridge * br,struct net_bridge_port * port) br_cfm_port_del() argument
[all...]
/linux/arch/alpha/include/asm/
H A Dbitops.h1 /* SPDX-License-Identifier: GPL-2.0 */
17 * These have to be done with inline assembly: that way the bit-setting
25 * bit 0 is the LSB of addr; bit 64 is the LSB of (addr+1).
35 "1: ldl_l %0,%3\n" in set_bit()
37 " stl_c %0,%1\n" in set_bit()
40 "2: br 1b\n" in set_bit()
43 :"Ir" (1UL << (nr & 31)), "m" (*m)); in set_bit()
54 *m |= 1 << (nr & 31); in arch___set_bit()
64 "1: ldl_l %0,%3\n" in clear_bit()
66 " stl_c %0,%1\n" in clear_bit()
[all …]
/linux/tools/perf/util/
H A Dblock-range.c1 // SPDX-License-Identifier: GPL-2.0
2 #include "block-range.h"
21 assert(old < entry->start); in block_range__debug()
22 assert(entry->start <= entry->end); /* single instruction block; jump to a jump */ in block_range__debug()
24 old = entry->end; in block_range__debug()
39 if (addr < entry->start) in block_range__find()
40 p = &parent->rb_left; in block_range__find()
41 else if (addr > entry->end) in block_range__find()
42 p = &parent->rb_right; in block_range__find()
52 struct rb_node **p = &node->rb_left; in rb_link_left_of_node()
[all …]
H A Dannotate.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Parts came from builtin-annotate.c, see those files for further
16 #include "build-id.h"
30 #include "annotate-data.h"
33 #include "bpf-event.h"
34 #include "bpf-utils.h"
35 #include "block-range.h"
37 #include "dwarf-regs.h"
50 #include <subcmd/parse-options.h>
51 #include <subcmd/run-command.h>
[all …]
/linux/drivers/net/wireless/ti/wl12xx/
H A Dconf.h1 /* SPDX-License-Identifier: GPL-2.0-only */
41 * Range: 0 - 255 (ms)
50 * Range: 0 - 255 (ms)
59 * Range: 0 - 255 (ms)
68 * Range: 0 - 255 (ms)
75 * in WLAN PSM / BT master/slave BR
77 * Range: 0 - 255 (ms)
86 * Range: 0 - 255 (ms)
112 * Range: 0 - 255 (%)
120 * Range: 0 - 255 (%)
[all …]
/linux/drivers/hid/
H A Dhid-led.c1 // SPDX-License-Identifier: GPL-2.0-only
6 * Based on drivers/hid/hid-thingm.c and
16 #include "hid-ids.h"
32 /* R+2G+4B -> riso kagaku color index */
34 [1] = 2, /* red */
35 [2] = 1, /* green */
43 #define RISO_KAGAKU_IX(r, g, b) riso_kagaku_tbl[((r)?1:0)+((g)?2:0)+((b)?4:0)]
64 #define DELCOM_RED_LED 1
79 int (*write)(struct led_classdev *cdev, enum led_brightness br);
117 mutex_lock(&ldev->lock); in hidled_send()
[all …]
/linux/tools/perf/tests/shell/
H A Drecord_lbr.sh3 # SPDX-License-Identifier: GPL-2.0
5 set -e
8 [ "$(id -u)" != 0 ] && [ "$(cat /proc/sys/kernel/perf_event_paranoid)" -gt $1 ]
11 if [ ! -f /sys/bus/event_source/devices/cpu/caps/branches ] &&
12 [ ! -f /sys/bus/event_source/devices/cpu_core/caps/branches ]
22 rm -rf "${perfdata}"
23 rm -rf "${perfdata}".old
24 rm -rf "${perfdata}".txt
26 trap - EXIT TERM INT
30 echo "Unexpected signal in ${FUNCNAME[1]}"
[all …]
/linux/Documentation/networking/device_drivers/ethernet/dec/
H A Ddmfe.rst1 .. SPDX-License-Identifier: GPL-2.0
22 10/100 ethernet cards uses Davicom chipset too, so this driver supports CNET cards too ).If you
26 dmfe: Davicom DM9xxx net driver, version 1.36.4 (2002-01-17)
36 insmod dmfe mode=1 # Force 100M Half Duplex
38 insmod dmfe mode=5 # Force 100M Full Duplex
56 - Implement pci_driver::suspend() and pci_driver::resume() power management methods.
57 - Check on 64 bit boxes.
58 - Check and fix on big endian boxes.
59 - Test and make sure PCI latency is now correct for all cases.
68 - Marcelo Tosatti <marcelo@conectiva.com.br>
[all …]
/linux/sound/pci/asihpi/
H A Dhpi.h1 /* SPDX-License-Identifier: GPL-2.0-only */
5 Copyright (C) 1997-2011 AudioScience Inc. <support@audioscience.com>
14 The HPI is a low-level hardware abstraction layer to all
17 (C) Copyright AudioScience Inc. 1998-2010
37 /** 8-bit unsigned PCM. Windows equivalent is WAVE_FORMAT_PCM. */
38 HPI_FORMAT_PCM8_UNSIGNED = 1,
39 /** 16-bit signed PCM. Windows equivalent is WAVE_FORMAT_PCM. */
41 /** MPEG-1 Layer-1. */
43 /** MPEG-1 Layer-2.
49 <table border=1 cellspacing=0 cellpadding=5>
[all …]
/linux/tools/testing/selftests/tc-testing/tc-tests/filters/
H A Dflower.json4 "name": "Add 1M flower filters with 10 parallel tc instances",
15 "cmdUnderTest": "bash -c \"find $BATCH_DIR/add* -print | xargs -n 1 -P 10 $TC -b\"",
17 "verifyCmd": "$TC -s filter show dev $DEV2 ingress",
18 "matchPattern": "filter protocol ip pref 1 flower chain 0 handle",
22 "/bin/rm -rf $BATCH_DIR"
27 "name": "Delete 1M flower filters with 10 parallel tc instances",
36 "./tdc_multibatch.py $DEV2 $BATCH_DIR 1000000 1 add",
37 "$TC -b $BATCH_DIR/add_0",
40 "cmdUnderTest": "bash -c \"find $BATCH_DIR/del* -print | xargs -n 1 -P 10 $TC -b\"",
42 "verifyCmd": "$TC -s filter show dev $DEV2 ingress",
[all …]
/linux/tools/testing/selftests/drivers/net/bonding/
H A Dbond_topo_2d1c.sh2 # SPDX-License-Identifier: GPL-2.0
4 # Topology for Bond mode 1,5,6 testing
6 # +-------------------------+
9 # | eth0 | eth1 | 2001:db8::1/24
10 # | +---+---+ |
12 # +-------------------------+
14 # +-------------------------+
16 # | +---+-------+---+ | Gateway
18 # | +-------+-------+ | 2001:db8::254/24
20 # +-------------------------+
[all …]
/linux/fs/ubifs/
H A Dsb.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 2006-2008 Nokia Corporation.
13 * LEB of the volume and is never changed by UBIFS. Only user-space tools may
35 #define DEFAULT_JHEADS_CNT 1
39 #define DEFAULT_DATA_LEB 1
69 * create_default_filesystem - format empty UBI volume.
70 * @c: UBIFS file-system description object
72 * This function creates default empty file-system. Returns zero in case of
80 struct ubifs_branch *br; in create_default_filesystem() local
94 /* Some functions called from here depend on the @c->key_len filed */ in create_default_filesystem()
[all …]
/linux/fs/ocfs2/dlm/
H A Ddlmrecovery.c1 // SPDX-License-Identifier: GPL-2.0-or-later
85 static u64 dlm_mig_cookie = 1;
93 dlm_mig_cookie = 1; in dlm_get_next_mig_cookie()
103 assert_spin_locked(&dlm->spinlock); in dlm_set_reco_dead_node()
104 if (dlm->reco.dead_node != dead_node) in dlm_set_reco_dead_node()
106 dlm->name, dlm->reco.dead_node, dead_node); in dlm_set_reco_dead_node()
107 dlm->reco.dead_node = dead_node; in dlm_set_reco_dead_node()
113 assert_spin_locked(&dlm->spinlock); in dlm_set_reco_master()
115 dlm->name, dlm->reco.new_master, master); in dlm_set_reco_master()
116 dlm->reco.new_master = master; in dlm_set_reco_master()
[all …]
/linux/tools/perf/
H A Dbuiltin-script.c1 // SPDX-License-Identifier: GPL-2.0
7 #include <subcmd/exec-cmd.h>
9 #include <subcmd/parse-options.h>
17 #include "util/trace-event.h"
31 #include "util/thread-stack.h"
32 #include "util/time-utils.h"
35 #include "util/mem-info.h"
49 #include "util/mem-events.h"
50 #include "util/dump-insn.h"
73 #include <event-parse.h>
[all …]
/linux/tools/testing/selftests/net/
H A Drtnetlink.sh5 # set -e
37 devdummy="test-dummy0"
47 if [ $ret -eq 0 ]; then
48 ret=$1
50 [ -n "$2" ] && echo "$2"
53 # same but inverted -- used when command must fail for test to pass
56 if [ $1 -eq 0 ]; then
57 ret=1
65 if [ "$VERBOSE" = "1" ]; then
68 out=$($cmd 2>&1)
[all …]
H A Dtest_vxlan_vnifiltering.sh2 # SPDX-License-Identifier: GPL-2.0
13 # +--------------------------------+ +------------------------------------+
14 # | vm-11 netns | | vm-21 netns |
16 # |+------------+ +-------------+ | |+-------------+ +----------------+ |
17 # ||veth-11.10 | |veth-11.20 | | ||veth-21.10 | | veth-21.20 | |
19 # |+------|-----+ +|------------+ | |+-----------|-+ +---|------------+ |
21 # | | | | | +------------+ |
22 # | +------------+ | | | veth-21 | |
23 # | | veth-11 | | | | | |
24 # | | | | | +-----|------+ |
[all …]
/linux/tools/testing/selftests/drivers/net/mlxsw/
H A Dmirror_gre_scale.sh1 # SPDX-License-Identifier: GPL-2.0
3 # Test offloading a number of mirrors-to-gretap. The test creates a number of
8 # +--------------------------+ +--------------------------+
11 # | | 2001:db8:1:X::1/64 | | 2001:db8:1:X::2/64 | |
12 # +-----|--------------------+ +--------------------|-----+
14 # +-----|-------------------------------------------------------------|-----+
15 # | SW o--> mirrors | |
16 # | +---|-------------------------------------------------------------|---+ |
17 # | | + $swp1 BR $swp2 + | |
18 # | +---------------------------------------------------------------------+ |
[all …]
/linux/drivers/net/ethernet/brocade/bna/
H A Dbfa_defs_status.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Linux network driver for QLogic BR-series Converged Network Adapter.
6 * Copyright (c) 2005-2014 Brocade Communications Systems, Inc.
7 * Copyright (c) 2014-2015 QLogic Corporation
21 BFA_STATUS_FAILED = 1,
120 BFA_STATUS_IM_VLANID_IS_PVID = 100,
205 BFA_EPROTO_UNKNOWN_RSP = 1

1234