/openbmc/linux/samples/pktgen/ |
H A D | pktgen_sample01_simple.sh | 49 pg_thread $thread "add_device" $DEV 52 pg_set $DEV "count $COUNT" 56 pg_set $DEV "clone_skb $CLONE_SKB" 59 pg_set $DEV "pkt_size $PKT_SIZE" 62 pg_set $DEV "delay $DELAY" 65 pg_set $DEV "flag NO_TIMESTAMP" 68 pg_set $DEV "dst_mac $DST_MAC" 74 pg_set $DEV "flag UDPDST_RND" 82 pg_set $DEV "flag UDPSRC_RND" 89 echo "Result device: $DEV" [all …]
|
H A D | pktgen_sample06_numa_awared_queue_irq_affinity.sh | 28 node=`get_iface_node $DEV` 29 irq_array=(`get_iface_irqs $DEV`) 59 dev=${DEV}@${thread} 111 dev=${DEV}@${thread}
|
H A D | parameters.sh | 33 export DEV=$OPTARG 34 info "Output device set to: DEV=$DEV" 123 if [ -z "$DEV" ]; then
|
/openbmc/linux/tools/testing/selftests/net/ |
H A D | netns-name.sh | 7 DEV=dummy-dev0 30 ip -netns $NS link set dev $DEV netns 1 || 33 ip link del $DEV || fail 38 ip link add name $DEV type dummy 43 ip -netns $NS link del $DEV || fail 44 ip link del $DEV || fail 49 ip link add name $DEV type dummy 54 ip link del $DEV || fail 59 ip link add name $DEV type dummy || fail 67 ip link del $DEV || fail [all …]
|
H A D | msg_zerocopy.sh | 8 readonly DEV="veth0" 90 ip link add "${DEV}" mtu "${DEV_MTU}" netns "${NS1}" type veth \ 91 peer name "${DEV}" mtu "${DEV_MTU}" netns "${NS2}" 94 ip -netns "${NS1}" link set "${DEV}" up 95 ip -netns "${NS2}" link set "${DEV}" up 98 ip -netns "${NS1}" link set dev "${DEV}" address 02:02:02:02:02:02 99 ip -netns "${NS2}" link set dev "${DEV}" address 06:06:06:06:06:06 102 ip -netns "${NS1}" addr add 192.168.1.1/24 dev "${DEV}" 103 ip -netns "${NS2}" addr add 192.168.1.2/24 dev "${DEV}" 104 ip -netns "${NS1}" addr add fd::1/64 dev "${DEV}" nodad [all …]
|
H A D | so_txtime.sh | 8 readonly DEV="veth0" 32 ip link add "${DEV}" netns "${NS1}" type veth \ 33 peer name "${DEV}" netns "${NS2}" 36 ip -netns "${NS1}" link set "${DEV}" up 37 ip -netns "${NS2}" link set "${DEV}" up 40 ip -netns "${NS1}" link set dev "${DEV}" address 02:02:02:02:02:02 44 ip -netns "${NS1}" addr add 192.168.1.1/24 dev "${DEV}" 45 ip -netns "${NS2}" addr add 192.168.1.2/24 dev "${DEV}" 46 ip -netns "${NS1}" addr add fd::1/64 dev "${DEV}" nodad 47 ip -netns "${NS2}" addr add fd::2/64 dev "${DEV}" nodad [all …]
|
H A D | toeplitz.sh | 29 DEV="eth0" 34 echo $(ethtool -x "${DEV}" | 89 for i in /sys/class/net/${DEV}/queues/rx-*/rps_cpus 137 DEV="$1" 147 setup_loopback_environment "${DEV}" 150 setup_macvlan_ns "${DEV}" server_ns server \ 152 setup_macvlan_ns "${DEV}" client_ns client \ 158 cleanup_loopback "${DEV}" 174 -d "${PORT}" -i "${DEV}" -k "${KEY}" -T 1000 \ 179 -d "${PORT}" -i "${DEV}" -k "${KEY}" -T 1000 \ [all …]
|
H A D | io_uring_zerocopy_tx.sh | 8 readonly DEV="veth0" 96 ip link add "${DEV}" mtu "${DEV_MTU}" netns "${NS1}" type veth \ 97 peer name "${DEV}" mtu "${DEV_MTU}" netns "${NS2}" 100 ip -netns "${NS1}" link set "${DEV}" up 101 ip -netns "${NS2}" link set "${DEV}" up 104 ip -netns "${NS1}" link set dev "${DEV}" address 02:02:02:02:02:02 105 ip -netns "${NS2}" link set dev "${DEV}" address 06:06:06:06:06:06 108 ip -netns "${NS1}" addr add 192.168.1.1/24 dev "${DEV}" 109 ip -netns "${NS2}" addr add 192.168.1.2/24 dev "${DEV}" 110 ip -netns "${NS1}" addr add fd::1/64 dev "${DEV}" nodad [all …]
|
H A D | fib_rule_tests.sh | 24 DEV=dummy0 201 $IP -6 route add table $RTABLE default via $GW_IP6 dev $DEV onlink 203 match="oif $DEV" 206 match="from $SRC_IP6 iif $DEV" 333 $IP route add table $RTABLE default via $GW_IP4 dev $DEV onlink 335 match="oif $DEV" 341 ip netns exec testns sysctl -qw net.ipv4.conf.$DEV.rp_filter=0 342 match="from $SRC_IP iif $DEV"
|
H A D | xfrm_policy.sh | 355 DEV=veth0 356 ip link add $DEV netns ns1 type veth peer name eth1 netns ns3 357 ip link add $DEV netns ns2 type veth peer name eth1 netns ns4 361 DEV=veth0 363 ip -net ns$i link set $DEV up 364 ip -net ns$i addr add 10.0.$i.2/24 dev $DEV 365 ip -net ns$i addr add dead:$i::2/64 dev $DEV 367 ip -net ns$i addr add 10.0.$i.253 dev $DEV 368 ip -net ns$i addr add 10.0.$i.254 dev $DEV 369 ip -net ns$i addr add dead:$i::fd dev $DEV [all …]
|
/openbmc/openbmc/poky/scripts/contrib/ |
H A D | ddimage | 46 DEV=`basename $ACTUAL_DEVICE` 52 if [ -f "/sys/class/block/$DEV/device/vendor" ]; then 53 echo " vendor: $(cat /sys/class/block/$DEV/device/vendor)" 57 if [ -f "/sys/class/block/$DEV/device/model" ]; then 58 echo " model: $(cat /sys/class/block/$DEV/device/model)" 62 if [ -f "/sys/class/block/$DEV/size" ]; then 63 echo " size: $(($(cat /sys/class/block/$DEV/size) * $BLOCK_SIZE)) bytes" 86 DEV=`basename $1` 87 if [ -d /sys/class/block/$DEV/ ] ; then 88 PARENT_BLKDEV=`basename $(readlink -f "/sys/class/block/$DEV/..")` [all …]
|
/openbmc/linux/Documentation/translations/zh_CN/mm/ |
H A D | mmu_notifier.rst | 54 DEV-thread-0 {} 55 DEV-thread-2 {} 61 DEV-thread-0 {} 62 DEV-thread-2 {} 68 DEV-thread-0 {} 69 DEV-thread-2 {} 75 DEV-thread-0 {} 76 DEV-thread-2 {} 82 DEV-thread-0 {} 83 DEV-thread-2 {} [all …]
|
/openbmc/linux/tools/testing/selftests/bpf/ |
H A D | test_tunnel.sh | 241 DEV=gretap11 265 DEV=gre11 289 DEV=ip6gre11 319 DEV=ip6gretap11 348 DEV=erspan11 372 DEV=ip6erspan11 395 DEV=geneve11 419 DEV=ip6geneve11 443 DEV=ipip11 468 DEV=ipip6tnl11 [all …]
|
/openbmc/linux/tools/testing/selftests/ptp/ |
H A D | phc.sh | 9 DEV=$1 19 if [[ "$DEV" == "" ]]; then 36 phc_ctl $DEV get &> /dev/null 39 echo "SKIP: unknown clock $DEV: No such device" 94 res=$(phc_ctl $DEV set 0 wait 120.5 get 2> /dev/null \ 105 res=$(phc_ctl $DEV set 0 adj 10 get 2> /dev/null \ 117 res=$(phc_ctl $DEV freq 10000000 set 0 wait 100.5 get 2> /dev/null \ 128 phc_ctl $DEV freq 0.0 &> /dev/null 129 phc_ctl $DEV set &> /dev/null
|
/openbmc/linux/samples/bpf/ |
H A D | xdp2skb_meta.sh | 88 unset DEV 93 DEV=$2 94 info "Device set to: DEV=$DEV" >&2 136 if [[ -z $DEV ]]; then 208 flush_tc $DEV 209 flush_xdp $DEV 214 list_tc $DEV 215 list_xdp $DEV 219 attach_tc_mark $DEV $FILE 220 attach_xdp_mark $DEV $FILE
|
/openbmc/linux/drivers/crypto/cavium/nitrox/ |
H A D | nitrox_isr.c | 60 dev_err_ratelimited(DEV(ndev), "NPS_PKT_INT 0x%016llx\n", in clear_nps_pkt_err_intr() 67 dev_err_ratelimited(DEV(ndev), in clear_nps_pkt_err_intr() 77 dev_err_ratelimited(DEV(ndev), in clear_nps_pkt_err_intr() 83 dev_err_ratelimited(DEV(ndev), in clear_nps_pkt_err_intr() 91 dev_err_ratelimited(DEV(ndev), in clear_nps_pkt_err_intr() 100 dev_err_ratelimited(DEV(ndev), in clear_nps_pkt_err_intr() 106 dev_err_ratelimited(DEV(ndev), in clear_nps_pkt_err_intr() 117 dev_err_ratelimited(DEV(ndev), "POM_INT 0x%016llx\n", value); in clear_pom_err_intr() 343 dev_err(DEV(ndev), "irq failed for pkt ring/port%d\n", in nitrox_register_interrupts() 422 dev_err(DEV(ndev), "failed to allocate nps-core-int%d\n", in nitrox_sriov_register_interupts() [all …]
|
H A D | nitrox_main.c | 123 dev_info(DEV(ndev), "Loading firmware \"%s\"\n", fw_name); in nitrox_load_fw() 125 ret = request_firmware(&fw, fw_name, DEV(ndev)); in nitrox_load_fw() 127 dev_err(DEV(ndev), "failed to get firmware %s\n", fw_name); in nitrox_load_fw() 135 dev_err(DEV(ndev), "Invalid ucode size: %u for firmware %s\n", in nitrox_load_fw() 174 dev_info(DEV(ndev), "Loading firmware \"%s\"\n", fw_name); in nitrox_load_fw() 176 ret = request_firmware(&fw, fw_name, DEV(ndev)); in nitrox_load_fw() 178 dev_err(DEV(ndev), "failed to get firmware %s\n", fw_name); in nitrox_load_fw() 186 dev_err(DEV(ndev), "Invalid ucode size: %u for firmware %s\n", in nitrox_load_fw() 532 dev_err(DEV(ndev), "Device refcnt not zero (%d)\n", in nitrox_remove() 537 dev_info(DEV(ndev), "Removing Device %x:%x\n", in nitrox_remove()
|
H A D | nitrox_sriov.c | 159 dev_err(DEV(ndev), "Invalid num_vfs %d\n", num_vfs); in nitrox_sriov_enable() 168 dev_err(DEV(ndev), "failed to enable PCI sriov %d\n", err); in nitrox_sriov_enable() 171 dev_info(DEV(ndev), "Enabled VF(s) %d\n", num_vfs); in nitrox_sriov_enable() 209 dev_warn(DEV(ndev), "VFs are attached to VM. Can't disable SR-IOV\n"); in nitrox_sriov_disable()
|
/openbmc/linux/Documentation/mm/ |
H A D | mmu_notifier.rst | 50 DEV-thread-0 {} 51 DEV-thread-2 {} 57 DEV-thread-0 {} 58 DEV-thread-2 {} 64 DEV-thread-0 {} 65 DEV-thread-2 {} 71 DEV-thread-0 {} 72 DEV-thread-2 {} 78 DEV-thread-0 {} 79 DEV-thread-2 {} [all …]
|
/openbmc/openbmc/poky/meta/recipes-core/init-ifupdown/init-ifupdown-1.0/ |
H A D | init | 26 while read DEV MTPT FSTYPE REST; do 27 case $DEV in 47 while read DEV MTPT FSTYPE REST; do 48 case $DEV in
|
/openbmc/linux/tools/testing/selftests/netfilter/ |
H A D | conntrack_icmp_related.sh | 83 DEV=veth0 84 ip link add $DEV netns nsclient1 type veth peer name eth1 netns nsrouter1 85 DEV=veth0 86 ip link add $DEV netns nsclient2 type veth peer name eth1 netns nsrouter2 88 DEV=veth0 89 ip link add $DEV netns nsrouter1 type veth peer name eth2 netns nsrouter2 91 DEV=veth0 93 ip -net nsclient$i link set $DEV up 94 ip -net nsclient$i addr add $(ipv4 $i)/24 dev $DEV 95 ip -net nsclient$i addr add $(ipv6 $i)/64 dev $DEV
|
/openbmc/linux/tools/testing/selftests/drivers/net/netdevsim/ |
H A D | devlink_trap.sh | 26 DEV=netdevsim${DEV_ADDR} 27 DEBUGFS_DIR=/sys/kernel/debug/netdevsim/$DEV/ 35 DEVLINK_DEV=netdevsim/${DEV} 469 echo 1 > ${NETDEVSIM_PATH}/devices/${DEV}/new_port 474 echo 1 > ${NETDEVSIM_PATH}/devices/${DEV}/del_port 483 if [ ! -d "${NETDEVSIM_PATH}/devices/${DEV}" ]; then 490 if [ ! -d "${NETDEVSIM_PATH}/devices/${DEV}/net/" ]; then 498 NETDEV=$(ls ${NETDEVSIM_PATH}/devices/${DEV}/net/)
|
H A D | psample.sh | 16 DEV=netdevsim${DEV_ADDR} 17 SYSFS_NET_DIR=/sys/bus/netdevsim/devices/$DEV/net/ 18 PSAMPLE_DIR=/sys/kernel/debug/netdevsim/$DEV/psample/ 25 DEVLINK_DEV=netdevsim/${DEV}
|
/openbmc/u-boot/board/amlogic/odroid-c2/ |
H A D | README.odroid-c2 | 62 > DEV=/dev/your_sd_device 64 > dd if=$BL1 of=$DEV conv=fsync bs=1 count=442 65 > dd if=$BL1 of=$DEV conv=fsync bs=512 skip=1 seek=1 66 > dd if=$DIR/u-boot.gxbb of=$DEV conv=fsync bs=512 seek=97
|
/openbmc/openbmc/meta-openembedded/meta-multimedia/recipes-multimedia/mycroft/files/ |
H A D | 0002-dev_setup.sh-Remove-the-git-dependency.patch | 33 -if [[ -n $INSTALL_PRECOMMIT_HOOK ]] || grep -q 'MYCROFT DEV SETUP' $HOOK_FILE; then 34 - if [[ ! -f $HOOK_FILE ]] || grep -q 'MYCROFT DEV SETUP' $HOOK_FILE; then 37 - echo '# MYCROFT DEV SETUP' >> $HOOK_FILE
|