| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | test_tunnel.c | 128 SYS(fail, "ip netns add at_ns0"); in add_vxlan_tunnel() 129 SYS(fail, "ip link add veth0 address " MAC_VETH1 " type veth peer name veth1"); in add_vxlan_tunnel() 130 SYS(fail, "ip link set veth0 netns at_ns0"); in add_vxlan_tunnel() 131 SYS(fail, "ip addr add " IP4_ADDR1_VETH1 "/24 dev veth1"); in add_vxlan_tunnel() 132 SYS(fail, "ip link set dev veth1 up mtu 1500"); in add_vxlan_tunnel() 133 SYS(fail, "ip netns exec at_ns0 ip addr add " IP4_ADDR_VETH0 "/24 dev veth0"); in add_vxlan_tunnel() 134 SYS(fail, "ip netns exec at_ns0 ip link set dev veth0 up mtu 1500"); in add_vxlan_tunnel() 152 SYS(fail, "ip netns exec at_ns0 ip link add dev %s type vxlan external gbp dstport 4789", 154 SYS(fail, "ip netns exec at_ns0 ip link set dev %s address %s up", in delete_vxlan_tunnel() 156 SYS(fai in delete_vxlan_tunnel() [all...] |
| H A D | xdp_flowtable.c | 78 SYS(out, "ip netns add " TX_NETNS_NAME); in test_xdp_flowtable() 79 SYS(out, "ip netns add " RX_NETNS_NAME); in test_xdp_flowtable() 85 SYS(out, "sysctl -qw net.ipv4.conf.all.forwarding=1"); in test_xdp_flowtable() 87 SYS(out, "ip link add " TX_NAME " type veth peer " FORWARD_NAME); in test_xdp_flowtable() 88 SYS(out, "ip link set " TX_NAME " netns " TX_NETNS_NAME); in test_xdp_flowtable() 89 SYS(out, "ip link set dev " FORWARD_NAME " address " FORWARD_MAC); in test_xdp_flowtable() 90 SYS(out, in test_xdp_flowtable() 92 SYS(out, "ip link set dev " FORWARD_NAME " up"); in test_xdp_flowtable() 94 SYS(out, "ip link add " RX_NAME " type dummy"); in test_xdp_flowtable() 95 SYS(out, "ip link set dev " RX_NAME " address " RX_MAC); in test_xdp_flowtable() [all …]
|
| H A D | xfrm_info.c | 114 SYS(fail, "ip netns add " NS0); in config_underlay() 115 SYS(fail, "ip netns add " NS1); in config_underlay() 116 SYS(fail, "ip netns add " NS2); in config_underlay() 119 SYS(fail, "ip link add veth01 netns " NS0 " type veth peer name veth10 netns " NS1); in config_underlay() 120 SYS(fail, "ip -net " NS0 " addr add " IP4_ADDR_VETH01 "/24 dev veth01"); in config_underlay() 121 SYS(fail, "ip -net " NS0 " link set dev veth01 up"); in config_underlay() 122 SYS(fail, "ip -net " NS1 " addr add " IP4_ADDR_VETH10 "/24 dev veth10"); in config_underlay() 123 SYS(fail, "ip -net " NS1 " link set dev veth10 up"); in config_underlay() 126 SYS(fail, "ip link add veth02 netns " NS0 " type veth peer name veth20 netns " NS2); in config_underlay() 127 SYS(fail, "ip -net " NS0 " addr add " IP4_ADDR_VETH02 "/24 dev veth02"); in config_underlay() [all …]
|
| H A D | fib_lookup.c | 151 SYS(fail, "ip link add veth1 type veth peer name veth2"); in setup_netns() 152 SYS(fail, "ip link set dev veth1 up"); in setup_netns() 153 SYS(fail, "ip link set dev veth2 up"); in setup_netns() 163 SYS(fail, "ip addr add %s/64 dev veth1 nodad", IPV6_IFACE_ADDR); in setup_netns() 164 SYS(fail, "ip neigh add %s dev veth1 nud failed", IPV6_NUD_FAILED_ADDR); in setup_netns() 165 SYS(fail, "ip neigh add %s dev veth1 lladdr %s nud stale", IPV6_NUD_STALE_ADDR, DMAC); in setup_netns() 167 SYS(fail, "ip addr add %s/24 dev veth1", IPV4_IFACE_ADDR); in setup_netns() 168 SYS(fail, "ip neigh add %s dev veth1 nud failed", IPV4_NUD_FAILED_ADDR); in setup_netns() 169 SYS(fail, "ip neigh add %s dev veth1 lladdr %s nud stale", IPV4_NUD_STALE_ADDR, DMAC); in setup_netns() 172 SYS(fail, "ip addr add %s/24 dev veth1", IPV4_IFACE_ADDR_SEC); in setup_netns() [all …]
|
| H A D | xdp_synproxy.c | 67 SYS(out, "ip netns add synproxy"); in test_synproxy() 69 SYS(out, "ip link add tmp0 type veth peer name tmp1"); in test_synproxy() 70 SYS(out, "ip link set tmp1 netns synproxy"); in test_synproxy() 71 SYS(out, "ip link set tmp0 up"); in test_synproxy() 72 SYS(out, "ip addr replace 198.18.0.1/24 dev tmp0"); in test_synproxy() 77 SYS(out, "ethtool -K tmp0 tx off"); in test_synproxy() 80 SYS(out, "ip link set tmp0 xdp object xdp_dummy.bpf.o section xdp 2> /dev/null"); in test_synproxy() 86 SYS(out, "ip link set lo up"); in test_synproxy() 87 SYS(out, "ip link set tmp1 up"); in test_synproxy() 88 SYS(out, "ip addr replace 198.18.0.2/24 dev tmp1"); in test_synproxy() [all …]
|
| H A D | vrf_socket_lookup.c | 148 SYS(fail, "ip netns add " NS0); in setup() 149 SYS(fail, "ip netns add " NS1); in setup() 152 SYS(fail, "ip link add veth01 netns " NS0 " type veth peer name veth10" in setup() 154 SYS(fail, "ip -net " NS0 " addr add " IP4_ADDR_VETH01 "/24 dev veth01"); in setup() 155 SYS(fail, "ip -net " NS0 " link set dev veth01 up"); in setup() 156 SYS(fail, "ip -net " NS1 " addr add " IP4_ADDR_VETH10 "/24 dev veth10"); in setup() 157 SYS(fail, "ip -net " NS1 " link set dev veth10 up"); in setup() 160 SYS(fail, "ip link add veth02 netns " NS0 " type veth peer name veth20" in setup() 162 SYS(fail, "ip -net " NS0 " addr add " IP4_ADDR_VETH02 "/24 dev veth02"); in setup() 163 SYS(fail, "ip -net " NS0 " link set dev veth02 up"); in setup() [all …]
|
| H A D | tc_redirect.c | 212 SYS(fail, "ip link add src address " MAC_SRC " type veth " in netns_setup_links_and_routes() 214 SYS(fail, "ip link add dst address " MAC_DST " type veth " in netns_setup_links_and_routes() 247 SYS(fail, "ip link set src netns " NS_SRC); in netns_setup_links_and_routes() 248 SYS(fail, "ip link set src_fwd netns " NS_FWD); in netns_setup_links_and_routes() 249 SYS(fail, "ip link set dst_fwd netns " NS_FWD); in netns_setup_links_and_routes() 250 SYS(fail, "ip link set dst netns " NS_DST); in netns_setup_links_and_routes() 257 SYS(fail, "ip addr add " IP4_SRC "/32 dev src"); in netns_setup_links_and_routes() 258 SYS(fail, "ip addr add " IP6_SRC "/128 dev src nodad"); in netns_setup_links_and_routes() 259 SYS(fail, "ip link set dev src up"); in netns_setup_links_and_routes() 261 SYS(fai in netns_setup_links_and_routes() [all...] |
| H A D | xdp_do_redirect.c | 133 SYS(out, "ip netns add testns"); in test_xdp_do_redirect() 138 SYS(out, "ip link add veth_src type veth peer name veth_dst"); in test_xdp_do_redirect() 139 SYS(out, "ip link set dev veth_src address 00:11:22:33:44:55"); in test_xdp_do_redirect() 140 SYS(out, "ip link set dev veth_dst address 66:77:88:99:aa:bb"); in test_xdp_do_redirect() 141 SYS(out, "ip link set dev veth_src up"); in test_xdp_do_redirect() 142 SYS(out, "ip link set dev veth_dst up"); in test_xdp_do_redirect() 143 SYS(out, "ip addr add dev veth_src fc00::1/64"); in test_xdp_do_redirect() 144 SYS(out, "ip addr add dev veth_dst fc00::2/64"); in test_xdp_do_redirect() 145 SYS(out, "ip neigh add fc00::2 dev veth_src lladdr 66:77:88:99:aa:bb"); in test_xdp_do_redirect() 158 SYS(out, "sysctl -qw net.ipv6.conf.all.forwarding=1"); in test_xdp_do_redirect() [all …]
|
| H A D | lwt_redirect.c | 206 SYS(fail, "sysctl -w net.ipv6.conf.all.disable_ipv6=1"); in setup_redirect_target() 207 SYS(fail, "ip link add link_err type dummy"); in setup_redirect_target() 208 SYS(fail, "ip link set lo up"); in setup_redirect_target() 209 SYS(fail, "ip addr add dev lo " LOCAL_SRC "/32"); in setup_redirect_target() 210 SYS(fail, "ip link set link_err up"); in setup_redirect_target() 211 SYS(fail, "ip link set %s up", target_dev); in setup_redirect_target() 213 SYS(fail, "ip route add %s dev link_err encap bpf xmit obj %s sec %s", in setup_redirect_target() 216 SYS(fail, "ip route add %s dev link_err encap bpf xmit obj %s sec %s", in setup_redirect_target() 267 SYS(out, "ip link set %s down", target_dev); in __test_lwt_redirect_dev_down() 298 SYS(out, "ip link add vlan100 link %s type vlan id 100", lower_dev); in test_lwt_redirect_dev_carrier_down() [all …]
|
| H A D | empty_skb.c | 95 SYS(out, "ip netns add empty_skb"); in test_empty_skb() 99 SYS(out, "ip link add veth0 type veth peer veth1"); in test_empty_skb() 100 SYS(out, "ip link set dev veth0 up"); in test_empty_skb() 101 SYS(out, "ip link set dev veth1 up"); in test_empty_skb() 102 SYS(out, "ip addr add 10.0.0.1/8 dev veth0"); in test_empty_skb() 103 SYS(out, "ip addr add 10.0.0.2/8 dev veth1"); in test_empty_skb() 106 SYS(out, "ip link add ipip0 type ipip local 10.0.0.1 remote 10.0.0.2"); in test_empty_skb() 107 SYS(out, "ip link set ipip0 up"); in test_empty_skb() 108 SYS(out, "ip addr add 192.168.1.1/16 dev ipip0"); in test_empty_skb()
|
| H A D | lwt_reroute.c | 165 SYS(fail, "ip link add link_err type dummy"); in setup() 166 SYS(fail, "ip link set lo up"); in setup() 167 SYS(fail, "ip addr add dev lo " LOCAL_SRC "/32"); in setup() 168 SYS(fail, "ip link set link_err up"); in setup() 169 SYS(fail, "ip link set %s up", tun_dev); in setup() 171 SYS(fail, "ip route add %s dev link_err encap bpf xmit obj %s sec lwt_xmit", in setup() 174 SYS(fail, "ip rule add pref 100 from all fwmark %d lookup 100", in setup() 176 SYS(fail, "ip route add t 100 default dev %s", tun_dev); in setup() 230 SYS(fail, "tc qdisc replace dev %s root fq limit 5 flow_limit 5", tun_dev); in test_lwt_reroute_qdisc_dropped()
|
| H A D | ip_check_defrag.c | 46 SYS(fail, "ip netns add " NS0); in setup_topology() 47 SYS(fail, "ip netns add " NS1); in setup_topology() 48 SYS(fail, "ip link add " VETH0 " netns " NS0 " type veth peer name " VETH1 " netns " NS1); in setup_topology() 50 SYS(fail, "ip -6 -net " NS0 " addr add " VETH0_ADDR6 "/64 dev " VETH0 " nodad"); in setup_topology() 51 SYS(fail, "ip -6 -net " NS1 " addr add " VETH1_ADDR6 "/64 dev " VETH1 " nodad"); in setup_topology() 53 SYS(fail, "ip -net " NS0 " addr add " VETH0_ADDR "/24 dev " VETH0); in setup_topology() 54 SYS(fail, "ip -net " NS1 " addr add " VETH1_ADDR "/24 dev " VETH1); in setup_topology() 56 SYS(fail, "ip -net " NS0 " link set dev " VETH0 " up"); in setup_topology() 57 SYS(fail, "ip -net " NS1 " link set dev " VETH1 " up"); in setup_topology()
|
| H A D | xdp_metadata.c | 368 SYS(out, "ip netns add " TX_NETNS_NAME); in test_xdp_metadata() 369 SYS(out, "ip netns add " RX_NETNS_NAME); in test_xdp_metadata() 374 SYS(out, "ip link add numtxqueues 1 numrxqueues 1 " TX_NAME in test_xdp_metadata() 376 SYS(out, "ip link set " RX_NAME " netns " RX_NETNS_NAME); in test_xdp_metadata() 378 SYS(out, "ip link set dev " TX_NAME " address " TX_MAC); in test_xdp_metadata() 379 SYS(out, "ip link set dev " TX_NAME " up"); in test_xdp_metadata() 381 SYS(out, "ip link add link " TX_NAME " " TX_NAME_VLAN in test_xdp_metadata() 383 SYS(out, "ip link set dev " TX_NAME_VLAN " up"); in test_xdp_metadata() 384 SYS(out, "ip addr add " TX_ADDR "/" PREFIX_LEN " dev " TX_NAME_VLAN); in test_xdp_metadata() 387 SYS(ou in test_xdp_metadata() [all...] |
| H A D | xdp_bonding.c | 145 SYS(fail, "ip netns add ns_dst"); in bonding_setup() 146 SYS(fail, "ip link add veth1_1 type veth peer name veth2_1 netns ns_dst"); in bonding_setup() 147 SYS(fail, "ip link add veth1_2 type veth peer name veth2_2 netns ns_dst"); in bonding_setup() 149 SYS(fail, "ip link add bond1 type bond mode %s xmit_hash_policy %s", in bonding_setup() 151 SYS(fail, "ip link set bond1 up address " BOND1_MAC_STR " addrgenmode none"); in bonding_setup() 152 SYS(fail, "ip -netns ns_dst link add bond2 type bond mode %s xmit_hash_policy %s", in bonding_setup() 154 SYS(fail, "ip -netns ns_dst link set bond2 up address " BOND2_MAC_STR " addrgenmode none"); in bonding_setup() 156 SYS(fail, "ip link set veth1_1 master bond1"); in bonding_setup() 158 SYS(fail, "ip link set veth1_2 master bond1"); in bonding_setup() 160 SYS(fail, "ip link set veth1_2 up addrgenmode none"); in bonding_setup() [all …]
|
| H A D | test_xdp_veth.c | 183 SYS(fail, "ip netns add %s", net_config->ns0_name); 189 SYS(fail, "ip netns add %s", net_config->veth_cfg[i].namespace); in test_xdp_veth_redirect() 198 SYS(fail, "ip link add %s type veth peer name %s netns %s", in test_xdp_veth_redirect() 201 SYS(fail, "ip link set dev %s up", net_config->veth_cfg[i].local_veth); in test_xdp_veth_redirect() 203 SYS(fail, "ip -n %s addr add %s/24 dev %s", in test_xdp_veth_redirect() 207 SYS(fail, "ip -n %s link set dev %s up", net_config->veth_cfg[i].namespace, in test_xdp_veth_redirect() 398 SYS(destroy_xdp_redirect_map, 507 SYS(destroy_xdp_redirect_map,
|
| H A D | xdp_devmap_attach.c | 30 SYS(out_close, "ip netns add %s", TEST_NS); in test_xdp_with_devmap_helpers() 34 SYS(out_close, "ip link set dev lo up"); in test_xdp_with_devmap_helpers() 188 SYS(out_close, "ip netns add %s", TEST_NS); in test_xdp_with_devmap_helpers_veth() 193 SYS(out_close, "ip link add veth_src type veth peer name veth_dst"); in test_xdp_with_devmap_helpers_veth() 194 SYS(out_close, "ip link set dev veth_src up"); in test_xdp_with_devmap_helpers_veth() 195 SYS(out_close, "ip link set dev veth_dst up"); in test_xdp_with_devmap_helpers_veth()
|
| H A D | decap_sanity.c | 31 SYS(fail, "ip netns add %s", NS_TEST); in test_decap_sanity() 32 SYS(fail, "ip -net %s -6 addr add %s/128 dev lo nodad", NS_TEST, IPV6_IFACE_ADDR); in test_decap_sanity() 33 SYS(fail, "ip -net %s link set dev lo up", NS_TEST); in test_decap_sanity()
|
| H A D | xdp_dev_bound_only.c | 32 SYS(out, "ip netns add " LOCAL_NETNS); in test_xdp_dev_bound_only_offdev() 36 SYS(out, "ip link add eth42 type veth"); in test_xdp_dev_bound_only_offdev()
|
| H A D | flow_dissector_classification.c | 549 SYS(fail, "tc qdisc add dev lo ingress"); in set_port_drop() 550 SYS(fail_delete_qdisc, "tc filter add %s %s %s %s %s %s %s %s %s %s %s %s", in set_port_drop() 591 SYS(out, "ip -4 addr add %s dev lo", TEST_IPV4); in set_addresses() 592 SYS(out_remove_ipv4, "ip -6 addr add %s dev lo", TEST_IPV6); in set_addresses() 612 SYS(out_remove_filter, in ipip_setup() 615 SYS(out_clean_netif, "ip link set ipip_test up"); in ipip_setup() 640 SYS(out_remove_filter, in gre_setup() 643 SYS(out_clean_netif, "ip link set gre_test up"); in gre_setup()
|
| H A D | xdp_context_test_run.c | 216 SYS(close, "ip link add " RX_NAME " netns " RX_NETNS in test_xdp_context_veth() 223 SYS(close, "ip link set dev " RX_NAME " up"); in test_xdp_context_veth() 263 SYS(close, "ip link set dev " TX_NAME " up"); in test_xdp_context_tuntap() 307 SYS(close, "ip link set dev " TAP_NAME " up"); in test_xdp_context_tuntap() 370 SYS(close, "ip link add name " DUMMY_NAME " type dummy"); 371 SYS(close, "ip link set dev " DUMMY_NAME " up"); 392 SYS(close, "ip link set dev " TAP_NAME " up"); 403 SYS(close, "tc qdisc add dev " TAP_NAME " clsact"); 404 SYS(close, "tc filter add dev " TAP_NAME " ingress "
|
| H A D | cgroup_storage.c | 14 SYS(fail, "ip netns add %s", TEST_NS); in setup_network() 18 SYS(cleanup_ns, "ip link set lo up"); in setup_network()
|
| H A D | crypto_sanity.c | 99 SYS(fail, "ip netns add %s", NS_TEST); in test_crypto_sanity() 100 SYS(fail, "ip -net %s -6 addr add %s/128 dev lo nodad", NS_TEST, IPV6_IFACE_ADDR); in test_crypto_sanity() 101 SYS(fail, "ip -net %s link set dev lo up", NS_TEST); in test_crypto_sanity()
|
| /linux/drivers/clk/at91/ |
| H A D | sama7g5.c | 380 .ep = { PLL_IDS_TO_ARR_ENTRY(SYS, DIV0), }, 397 .ep = { PLL_IDS_TO_ARR_ENTRY(SYS, DIV0), PLL_IDS_TO_ARR_ENTRY(DDR, DIV0), 405 .ep = { PLL_IDS_TO_ARR_ENTRY(SYS, DIV0), }, 567 .pp = { PLL_IDS_TO_ARR_ENTRY(SYS, DIV0), PLL_IDS_TO_ARR_ENTRY(IMG, DIV0), 592 .pp = { PLL_IDS_TO_ARR_ENTRY(SYS, DIV0), PLL_IDS_TO_ARR_ENTRY(BAUD, DIV0), }, 600 .pp = { PLL_IDS_TO_ARR_ENTRY(SYS, DIV0), PLL_IDS_TO_ARR_ENTRY(BAUD, DIV0), }, 608 .pp = { PLL_IDS_TO_ARR_ENTRY(SYS, DIV0), PLL_IDS_TO_ARR_ENTRY(BAUD, DIV0), }, 616 .pp = { PLL_IDS_TO_ARR_ENTRY(SYS, DIV0), PLL_IDS_TO_ARR_ENTRY(BAUD, DIV0), }, 624 .pp = { PLL_IDS_TO_ARR_ENTRY(SYS, DIV0), PLL_IDS_TO_ARR_ENTRY(BAUD, DIV0), }, 632 .pp = { PLL_IDS_TO_ARR_ENTRY(SYS, DIV0), PLL_IDS_TO_ARR_ENTRY(BAUD, DIV0), }, [all …]
|
| H A D | sama7d65.c | 469 .ep = { PLL_IDS_TO_ARR_ENTRY(SYS, DIV0), }, 478 .ep = { PLL_IDS_TO_ARR_ENTRY(SYS, DIV0), PLL_IDS_TO_ARR_ENTRY(DDR, DIV0), }, 486 .ep = { PLL_IDS_TO_ARR_ENTRY(SYS, DIV0), PLL_IDS_TO_ARR_ENTRY(DDR, DIV0), }, 495 .ep = { PLL_IDS_TO_ARR_ENTRY(SYS, DIV0), }, 503 .ep = { PLL_IDS_TO_ARR_ENTRY(SYS, DIV0), }, 512 .ep = { PLL_IDS_TO_ARR_ENTRY(SYS, DIV0), }, 520 .ep = { PLL_IDS_TO_ARR_ENTRY(SYS, DIV0), }, 527 .ep = { PLL_IDS_TO_ARR_ENTRY(SYS, DIV0), }, 534 .ep = { PLL_IDS_TO_ARR_ENTRY(SYS, DIV0), }, 977 .pp = { PLL_IDS_TO_ARR_ENTRY(SYS, DIV0), PLL_IDS_TO_ARR_ENTRY(BAUD, DIV0), }, [all …]
|
| /linux/arch/arm/boot/dts/broadcom/ |
| H A D | bcm53016-meraki-mr32.dts | 62 /* SYS-LED 1 - Tricolor */ 70 /* SYS-LED 1 - Tricolor */ 78 /* SYS-LED 1 - Tricolor */
|