Home
last modified time | relevance | path

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

/linux-6.12.1/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 …]
/linux-6.12.1/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 …]
Dio_uring_zerocopy_tx.sh16 readonly NS2="${NSPREFIX}2"
81 ip netns del "${NS2}"
89 ip netns add "${NS2}"
93 ip netns exec "${NS2}" sysctl -w -q "${path_sysctl_mem}=1000000"
96 peer name "${DEV}" mtu "${DEV_MTU}" netns "${NS2}"
100 ip -netns "${NS2}" link set "${DEV}" up
104 ip -netns "${NS2}" link set dev "${DEV}" address 06:06:06:06:06:06
108 ip -netns "${NS2}" addr add 192.168.1.2/24 dev "${DEV}"
110 ip -netns "${NS2}" addr add fd::2/64 dev "${DEV}" nodad
119 ip netns exec "${NS2}" "${BIN_RX}" "-${IP}" -t 2 -C 2 -S "${SADDR}" -D "${DADDR}" -r "${RXMODE}" &
Dmsg_zerocopy.sh15 readonly NS2="${NSPREFIX}2"
75 ip netns del "${NS2}"
83 ip netns add "${NS2}"
87 ip netns exec "${NS2}" sysctl -w -q "${path_sysctl_mem}=1000000"
90 peer name "${DEV}" mtu "${DEV_MTU}" netns "${NS2}"
94 ip -netns "${NS2}" link set "${DEV}" up
98 ip -netns "${NS2}" link set dev "${DEV}" address 06:06:06:06:06:06
102 ip -netns "${NS2}" addr add 192.168.1.2/24 dev "${DEV}"
104 ip -netns "${NS2}" addr add fd::2/64 dev "${DEV}" nodad
113 …ip netns exec "${NS2}" "${BIN}" "-${IP}" -i "${DEV}" -t 2 -C 2 -S "${SADDR}" -D "${DADDR}" ${ARGS}…
Dicmp.sh35 cleanup_ns $NS1 $NS2
41 setup_ns NS1 NS2
44 ip -netns $NS1 link add veth0 type veth peer name veth0 netns $NS2
46 ip -netns $NS2 link set dev veth0 up
49 ip -netns $NS2 addr add $H2_IP6/64 dev veth0 nodad
51 ip -netns $NS2 route add $RT2 via inet6 $H1_IP6
54 ip netns exec $NS2 sysctl -qw net.ipv4.icmp_ratelimit=0 net.ipv4.ip_forward=1
Dso_txtime.sh15 readonly NS2="${NSPREFIX}2"
23 ip netns del "${NS2}"
31 ip netns add "${NS2}"
34 peer name "${DEV}" netns "${NS2}"
38 ip -netns "${NS2}" link set "${DEV}" up
42 ip -netns "${NS2}" link set dev "${DEV}" address 06:06:06:06:06:06
46 ip -netns "${NS2}" addr add 192.168.1.2/24 dev "${DEV}"
48 ip -netns "${NS2}" addr add fd::2/64 dev "${DEV}" nodad
69 …ip netns exec "${NS2}" "${BIN}" -"${IP}" -c "${CLOCK}" -t "${START}" -S "${SADDR}" -D "${DADDR}" "…
/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/
Dxfrm_info.c56 #define NS2 "xfrm_test_ns2" macro
109 SYS_NOFAIL("test -f /var/run/netns/" NS2 " && ip netns delete " NS2); in cleanup()
116 SYS(fail, "ip netns add " NS2); in config_underlay()
126 SYS(fail, "ip link add veth02 netns " NS0 " type veth peer name veth20 netns " NS2); in config_underlay()
129 SYS(fail, "ip -net " NS2 " addr add " IP4_ADDR_VETH20 "/24 dev veth20"); in config_underlay()
130 SYS(fail, "ip -net " NS2 " link set dev veth20 up"); in config_underlay()
254 if (setup_xfrm_tunnel(NS0, NS2, IP4_ADDR_VETH02, IP4_ADDR_VETH20, in config_overlay()
269 SYS(fail, "ip -net " NS2 " link add ipsec0 type xfrm if_id %d", IF_ID_2); in config_overlay()
270 SYS(fail, "ip -net " NS2 " addr add 192.168.1.200/24 dev ipsec0"); in config_overlay()
271 SYS(fail, "ip -net " NS2 " link set dev ipsec0 up"); in config_overlay()
[all …]
/linux-6.12.1/samples/bpf/
Dtest_lwt_bpf.sh8 NS2=lwt_ns2
49 ip netns delete $NS2 2> /dev/null
370 setup_one_veth $NS2 $VETH2 $VETH3 $IPVETH2 $IPVETH3
/linux-6.12.1/Documentation/devicetree/bindings/usb/
Diproc-udc.txt10 For Broadcom NS2 platform, add "brcm,ns2-udc","brcm,iproc-udc".
/linux-6.12.1/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.12.1/Documentation/devicetree/bindings/phy/
Dbrcm,ns2-drd-phy.txt5 - reg: offset and length of the NS2 PHY related registers.
/linux-6.12.1/drivers/block/drbd/
Ddrbd_state.h40 #define NS2(T1, S1, T2, S2) \ macro
Ddrbd_nl.c2661 rv = conn_request_state(connection, NS2(conn, C_DISCONNECTING, pdsk, D_OUTDATED), 0); in conn_try_disconnect()
2674 rv = conn_request_state(connection, NS2(conn, C_DISCONNECTING, in conn_try_disconnect()
Ddrbd_receiver.c4561 conn_request_state(peer_device->connection, NS2(conn, C_PROTOCOL_ERROR, susp, 0), CS_HARD); in receive_state()
/linux-6.12.1/arch/arm64/boot/dts/broadcom/northstar2/
Dns2-xmc.dts38 model = "Broadcom NS2 XMC";
Dns2-svk.dts38 model = "Broadcom NS2 SVK";
/linux-6.12.1/drivers/spi/
DKconfig215 Select this option for any one of BRCMSTB, iProc NSP and NS2 SoCs