Home
last modified time | relevance | path

Searched refs:NS2 (Results 1 – 25 of 25) sorted by relevance

/linux-6.1.9/tools/testing/selftests/bpf/
Dtest_lwt_ip_encap.sh49 readonly NS2="ns2-$(mktemp -u XXXXXX)"
113 ip netns add "${NS2}"
118 ip netns exec ${NS2} sysctl -wq net.ipv4.conf.all.rp_filter=0
121 ip netns exec ${NS2} sysctl -wq net.ipv4.conf.default.rp_filter=0
126 ip netns exec ${NS2} sysctl -wq net.ipv6.conf.all.accept_dad=0
129 ip netns exec ${NS2} sysctl -wq net.ipv6.conf.default.accept_dad=0
137 ip netns exec ${NS2} sysctl -wq net.ipv4.ip_forward=1
138 ip netns exec ${NS2} sysctl -wq net.ipv6.conf.all.forwarding=1
141 ip link set veth2 netns ${NS2}
142 ip link set veth3 netns ${NS2}
[all …]
Dtest_xdp_vlan.sh8 readonly NS2="ns2-$(mktemp -u XXXXXX)"
55 echo " ip netns exec ${NS2} bash"
62 ip netns del ${NS2} 2> /dev/null
132 ip netns del ${NS2} 2> /dev/null
150 ip netns add ${NS2}
160 ip link set veth2 netns ${NS2}
168 ip netns exec ${NS2} ethtool -K veth2 rxvlan off
171 ip netns exec ${NS2} ethtool -K veth2 txvlan off
184 ip netns exec ${NS2} ip link add link $DEVNS2 name $DEVNS2.$VLAN type vlan id $VLAN
185 ip netns exec ${NS2} ip addr add ${IPADDR2}/24 dev $DEVNS2.$VLAN
[all …]
Dtest_xdp_meta.sh7 readonly NS2="ns2-$(mktemp -u XXXXXX)"
20 ip netns del ${NS2} 2> /dev/null
31 ip netns add ${NS2}
38 ip link set veth2 netns ${NS2}
41 ip netns exec ${NS2} ip addr add 10.1.1.22/24 dev veth2
44 ip netns exec ${NS2} tc qdisc add dev veth2 clsact
47 ip netns exec ${NS2} tc filter add dev veth2 ingress bpf da obj ${BPF_FILE} sec t
50 ip netns exec ${NS2} ip link set dev veth2 xdp obj ${BPF_FILE} sec x
53 ip netns exec ${NS2} ip link set dev veth2 up
56 ip netns exec ${NS2} ping -c 1 10.1.1.11
Dtest_xdp_redirect.sh14 readonly NS2="ns2-$(mktemp -u XXXXXX)"
23 ip netns add ${NS2}
26 ip link add veth2 index 222 type veth peer name veth22 netns ${NS2}
31 ip -n ${NS2} link set dev veth22 up
34 ip -n ${NS2} addr add 10.1.1.22/24 dev veth22
42 ip netns del ${NS2} 2> /dev/null
58 ip -n ${NS2} link set veth22 $xdpmode obj xdp_dummy.bpf.o sec xdp &> /dev/null
63 ip netns exec ${NS2} ping -c 1 10.1.1.11 &> /dev/null; then
Dtest_lwt_seg6local.sh28 readonly NS2="ns2-$(mktemp -u XXXXXX)"
52 ip netns del ${NS2} 2> /dev/null
63 ip netns add ${NS2}
78 ip link set veth2 netns ${NS2}
79 ip link set veth3 netns ${NS2}
89 ip netns exec ${NS2} ip link set dev veth2 up
90 ip netns exec ${NS2} ip link set dev veth3 up
103 ip netns exec ${NS2} ip -6 addr add fb00::21/16 dev veth2 scope link
104 ip netns exec ${NS2} ip -6 addr add fb00::34/16 dev veth3 scope link
105 ip netns exec ${NS2} ip -6 route add fb00::43 dev veth3 scope link
[all …]
Dtest_xdp_veth.sh26 readonly NS2="ns2-$(mktemp -u XXXXXX)"
36 ip netns del ${NS2} 2> /dev/null
84 ip netns add ${NS2}
88 ip link add veth2 index 122 type veth peer name veth22 netns ${NS2}
99 ip -n ${NS2} link set dev veth22 up
114 ip -n ${NS2} link set dev veth22 xdp obj xdp_tx.bpf.o sec xdp
/linux-6.1.9/tools/testing/selftests/net/
Dbareudp.sh115 readonly NS2=$(mktemp -u ns2-XXXXXXXX)
145 ip netns add "${NS2}" || exit_cleanup "${NS0}" "${NS1}"
146 ip netns add "${NS3}" || exit_cleanup "${NS0}" "${NS1}" "${NS2}"
153 exit_cleanup "${NS0}" "${NS1}" "${NS2}" "${NS3}"
191 for ns in "${NS0}" "${NS1}" "${NS2}" "${NS3}"; do
196 ip link add name veth12 netns "${NS1}" type veth peer name veth21 netns "${NS2}"
197 ip link add name veth23 netns "${NS2}" type veth peer name veth32 netns "${NS3}"
201 iface_config "${NS2}" veth21 192.0.2.22 192.0.2.21/32 2001:db8::22 2001:db8::21/128
202 iface_config "${NS2}" veth23 192.0.2.32 192.0.2.33/32 2001:db8::32 2001:db8::33/128
206 tc -netns "${NS2}" qdisc add dev veth23 ingress
[all …]
Dmsg_zerocopy.sh15 readonly NS2="${NSPREFIX}2"
76 ip netns del "${NS2}"
88 ip netns add "${NS2}"
91 peer name "${DEV}" mtu "${DEV_MTU}" netns "${NS2}"
95 ip -netns "${NS2}" link set "${DEV}" up
99 ip -netns "${NS2}" link set dev "${DEV}" address 06:06:06:06:06:06
103 ip -netns "${NS2}" addr add 192.168.1.2/24 dev "${DEV}"
105 ip -netns "${NS2}" addr add fd::2/64 dev "${DEV}" nodad
114 …ip netns exec "${NS2}" "${BIN}" "-${IP}" -i "${DEV}" -t 2 -C 2 -S "${SADDR}" -D "${DADDR}" ${ARGS}…
Dio_uring_zerocopy_tx.sh16 readonly NS2="${NSPREFIX}2"
82 ip netns del "${NS2}"
94 ip netns add "${NS2}"
97 peer name "${DEV}" mtu "${DEV_MTU}" netns "${NS2}"
101 ip -netns "${NS2}" link set "${DEV}" up
105 ip -netns "${NS2}" link set dev "${DEV}" address 06:06:06:06:06:06
109 ip -netns "${NS2}" addr add 192.168.1.2/24 dev "${DEV}"
111 ip -netns "${NS2}" addr add fd::2/64 dev "${DEV}" nodad
120 ip netns exec "${NS2}" "${BIN_RX}" "-${IP}" -t 2 -C 2 -S "${SADDR}" -D "${DADDR}" -r "${RXMODE}" &
Dicmp.sh22 NS2=ns2
36 ip netns del $NS2
43 ip netns add $NS2
46 ip -netns $NS1 link add veth0 type veth peer name veth0 netns $NS2
48 ip -netns $NS2 link set dev veth0 up
51 ip -netns $NS2 addr add $H2_IP6/64 dev veth0 nodad
53 ip -netns $NS2 route add $RT2 via inet6 $H1_IP6
56 ip netns exec $NS2 sysctl -qw net.ipv4.icmp_ratelimit=0 net.ipv4.ip_forward=1
Dso_txtime.sh14 readonly NS2="${NSPREFIX}2"
22 ip netns del "${NS2}"
30 ip netns add "${NS2}"
33 peer name "${DEV}" netns "${NS2}"
37 ip -netns "${NS2}" link set "${DEV}" up
41 ip -netns "${NS2}" link set dev "${DEV}" address 06:06:06:06:06:06
45 ip -netns "${NS2}" addr add 192.168.1.2/24 dev "${DEV}"
47 ip -netns "${NS2}" addr add fd::2/64 dev "${DEV}" nodad
67 …ip netns exec "${NS2}" "${BIN}" -"${IP}" -c "${CLOCK}" -t "${START}" -S "${SADDR}" -D "${DADDR}" "…
/linux-6.1.9/samples/bpf/
Dtest_lwt_bpf.sh8 NS2=lwt_ns2
46 ip netns delete $NS2 2> /dev/null
367 setup_one_veth $NS2 $VETH2 $VETH3 $IPVETH2 $IPVETH3
/linux-6.1.9/Documentation/devicetree/bindings/arm/bcm/
Dbrcm,ns2.yaml7 title: Broadcom North Star 2 (NS2) device tree bindings
/linux-6.1.9/Documentation/devicetree/bindings/phy/
Dbrcm,ns2-pcie-phy.yaml7 title: Broadcom NS2 PCIe PHY binding document
Dbrcm,ns2-drd-phy.txt5 - reg: offset and length of the NS2 PHY related registers.
/linux-6.1.9/Documentation/devicetree/bindings/usb/
Diproc-udc.txt10 For Broadcom NS2 platform, add "brcm,ns2-udc","brcm,iproc-udc".
/linux-6.1.9/drivers/pinctrl/bcm/
DKconfig119 The Broadcom iProc based SoCs- Cygnus, NS2, NSP and Stingray, use
131 The Broadcom NS2 has two GPIO controller including the CRMU GPIO,
199 Say yes here to enable the Broadcom NS2 MUX driver.
/linux-6.1.9/Documentation/devicetree/bindings/pci/
Dbrcm,iproc-pcie.yaml22 # including NSP, Cygnus, NS2, and Pegasus
27 # For the first generation of PAXC based controller, used in NS2
/linux-6.1.9/Documentation/devicetree/bindings/spi/
Dbrcm,spi-bcm-qspi.yaml15 BRCMSTB (BCM7XXX), Cygnus, NSP and NS2. The Broadcom Master SPI hw IP consits
169 - | # NS2 SoC
/linux-6.1.9/drivers/block/drbd/
Ddrbd_state.h40 #define NS2(T1, S1, T2, S2) \ macro
Ddrbd_nl.c2648 rv = conn_request_state(connection, NS2(conn, C_DISCONNECTING, pdsk, D_OUTDATED), 0); in conn_try_disconnect()
2661 rv = conn_request_state(connection, NS2(conn, C_DISCONNECTING, in conn_try_disconnect()
Ddrbd_receiver.c4546 conn_request_state(peer_device->connection, NS2(conn, C_PROTOCOL_ERROR, susp, 0), CS_HARD); in receive_state()
/linux-6.1.9/arch/arm64/boot/dts/broadcom/northstar2/
Dns2-xmc.dts38 model = "Broadcom NS2 XMC";
Dns2-svk.dts38 model = "Broadcom NS2 SVK";
/linux-6.1.9/drivers/spi/
DKconfig198 Select this option for any one of BRCMSTB, iProc NSP and NS2 SoCs