Home
last modified time | relevance | path

Searched +full:rx +full:- +full:eq (Results 1 – 25 of 71) sorted by relevance

123

/linux/tools/testing/selftests/net/
H A Dudpgro.sh2 # SPDX-License-Identifier: GPL-2.0
8 readonly PEER_NS="ns-peer-$(mktemp -u XXXXXX)"
13 if [ $ret -eq 0 ]; then
19 local -r jobs="$(jobs -p)"
20 local -r ns="$(ip netns list|grep $PEER_NS)"
22 [ -n "${jobs}" ] && kill -1 ${jobs} 2>/dev/null
23 [ -n "$ns" ] && ip netns del $ns 2>/dev/null
29 ip -netns "${PEER_NS}" link set lo up
36 ip -netns "${PEER_NS}" addr add dev veth1 192.168.1.1/24
37 ip -netns "${PEER_NS}" addr add dev veth1 2001:db8::1/64 nodad
[all …]
H A Drtnetlink.sh5 # set -e
37 devdummy="test-dummy0"
47 if [ $ret -eq 0 ]; then
50 [ -n "$2" ] && echo "$2"
53 # same but inverted -- used when command must fail for test to pass
56 if [ $1 -eq 0 ]; then
70 if [ "$VERBOSE" = "1" -a -n "$out" ]; then
96 echo "COMMAND: ${cmd} 2>&1 | grep -q '${find}'"
98 out=$($cmd 2>&1 | grep -q "${find}" 2>&1)
122 if [[ $ret -ne 0 ]] && [[ "${PAUSE_ON_FAIL}" = "yes" ]]; then
[all …]
H A Drps_default_mask.sh2 # SPDX-License-Identifier: GPL-2.0
8 [ $cpus -gt 2 ] || exit $ksft_skip
11 readonly TAG="$(mktemp -u XXXXXX)"
13 readonly NETNS="ns-${TAG}"
17 ip -netns "${NETNS}" link set lo up
32 [ -n "$netns" ] && cmd="ip netns exec $netns $cmd"
34 rps_mask=$($cmd /sys/class/net/$dev_name/queues/rx-
[all...]
/linux/tools/testing/selftests/net/mptcp/
H A Dmptcp_join.sh2 # SPDX-License-Identifier: GPL-2.0
46 declare -A all_tests
47 declare -a only_tests_ids
48 declare -a only_tests_names
49 declare -A failed_tests
114 ip netns exec $netns sysctl -q net.mptcp.pm_type=0 2>/dev/null || true
116 ip netns exec $netns sysctl -q net.mptcp.checksum_enabled=1
132 ip -net "$ns1" addr add 10.0.$i.1/24 dev ns1eth$i
133 ip -net "$ns1" addr add dead:beef:$i::1/64 dev ns1eth$i nodad
134 ip -net "$ns1" link set ns1eth$i up
[all …]
H A Dmptcp_lib.sh2 # SPDX-License-Identifier: GPL-2.0
11 readonly KSFT_TEST="${MPTCP_LIB_KSFT_TEST:-$(basename "${0}" .sh)}"
13 # These variables are used in some selftests, read-only
14 declare -rx MPTCP_LIB_EVENT_CREATED=1 # MPTCP_EVENT_CREATED
15 declare -rx MPTCP_LIB_EVENT_ESTABLISHED=2 # MPTCP_EVENT_ESTABLISHED
16 declare -rx MPTCP_LIB_EVENT_CLOSED=3 # MPTCP_EVENT_CLOSED
17 declare -rx MPTCP_LIB_EVENT_ANNOUNCED=6 # MPTCP_EVENT_ANNOUNCED
18 declare -rx MPTCP_LIB_EVENT_REMOVED=7 # MPTCP_EVENT_REMOVED
19 declare -rx MPTCP_LIB_EVENT_SUB_ESTABLISHED=10 # MPTCP_EVENT_SUB_ESTABLISHED
20 declare -rx MPTCP_LIB_EVENT_SUB_CLOSED=11 # MPTCP_EVENT_SUB_CLOSED
[all …]
H A Dmptcp_connect.sh2 # SPDX-License-Identifier: GPL-2.0
36 port=$((10000 - 1))
38 if [ $tc_loss -eq 100 ];then
40 elif [ $tc_loss -ge 10 ]; then
42 elif [ $tc_loss -ge 1 ]; then
49 echo "Usage: $0 [ -a ]"
50 echo -e "\t-d: tc/netem delay in milliseconds, e.g. \"-d 10\" (default random)"
51 echo -e "\t-l: tc/netem loss percentage, e.g. \"-l 0.02\" (default random)"
52 …echo -e "\t-r: tc/netem reorder mode, e.g. \"-r 25% 50% gap 5\", use "-r 0" to disable reordering …
53 …echo -e "\t-e: ethtool features to disable, e.g.: \"-e tso -e gso\" (default: randomly disable any…
[all …]
/linux/tools/testing/selftests/drivers/net/bonding/
H A Dnetcons_over_bonding.sh2 # SPDX-License-Identifier: GPL-2.0
28 set -euo pipefail
30 SCRIPTDIR=$(dirname "$(readlink -e "${BASH_SOURCE[0]}")")
64 if ! ip -n "${TXNS}" link add "${BOND_TX_MAIN_IF}" type bond mode balance-rr
70 trap - EXIT
76 ip -n "${TXNS}" \
78 ip -n "${TXNS}" \
80 ip -n "${TXNS}" \
82 ip -n "${TXNS}" \
84 ip -n "${TXNS}" \
[all …]
/linux/arch/arm/boot/dts/qcom/
H A Dqcom-ipq8064-v2.0.dtsi1 // SPDX-License-Identifier: GPL-2.0
3 #include "qcom-ipq8064.dtsi"
6 model = "Qualcomm Technologies, Inc. IPQ8064-v2.0";
13 stdout-path = "serial0:115200n8";
16 reserved-memory {
17 #address-cells = <1>;
18 #size-cells = <1>;
23 no-map;
44 compatible = "qcom,pcie-ipq8064-v2";
48 compatible = "qcom,pcie-ipq8064-v2";
[all …]
/linux/drivers/net/ethernet/emulex/benet/
H A Dbe_hw.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Copyright (C) 2005-2016 Broadcom.
7 * linux-drivers@emulex.com
33 #define SLIPORT_SEMAPHORE_OFFSET_SH 0x94 /* PCI-CFG offset */
44 #define POST_STAGE_HOST_RDY 0x2 /* Host has given go-ahed to FW */
127 #define DB_EQ_RING_ID_MASK 0x1FF /* bits 0 - 8 */
128 #define DB_EQ_RING_ID_EXT_MASK 0x3e00 /* bits 9-13 */
129 #define DB_EQ_RING_ID_EXT_MASK_SHIFT (2) /* qid bits 9-13 placing at 11-15 */
131 /* Clear the interrupt for this eq */
136 #define DB_EQ_NUM_POPPED_SHIFT (16) /* bits 16 - 28 */
[all …]
/linux/sound/soc/codecs/
H A Dwm8996.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * wm8996.h - WM8996 audio codec interface
744 * R0 (0x00) - Software Reset
746 #define WM8996_SW_RESET_MASK 0xFFFF /* SW_RESET - [15:0] */
747 #define WM8996_SW_RESET_SHIFT 0 /* SW_RESET - [15:0] */
748 #define WM8996_SW_RESET_WIDTH 16 /* SW_RESET - [15:0] */
751 * R1 (0x01) - Power Management (1)
783 * R2 (0x02) - Power Management (2)
803 * R3 (0x03) - Power Management (3)
847 * R4 (0x04) - Power Management (4)
[all …]
/linux/tools/testing/selftests/drivers/net/microchip/
H A Dksz9477_qos.sh2 # SPDX-License-Identifier: GPL-2.0
38 h1_mac=$(ip -j link show dev ${h1} | jq -e '.[].address')
51 h2_mac=$(ip -j link show dev ${h2} | jq -e '.[].address')
116 echo $(echo "$stats_json" | jq -r "$field_name")
137 $MZ ${h2} -a ${h2_mac} -b ${h1_mac} -p 64 -t icmp echores -c 1
140 # for the RX and TX paths.
155 if [ ${have_vlan} -eq 1 ]; then
169 # Most/all? of the KSZ switches do not provide per-TC counters. There
182 if [ ${rx_ipv} -ge 1 ]; then
188 if [ ${tx_ipv} -ge 2 ]; then
[all …]
/linux/tools/testing/selftests/drivers/net/netdevsim/
H A Dethtool-ring.sh2 # SPDX-License-Identifier: GPL-2.0-only
4 source ethtool-common.sh
9 echo $(ethtool -g $NSIM_NETDEV | \
10 tail -n +$CURR_SETT_LINE | \
11 awk -F':' -v pattern="$query:" '$0 ~ pattern {gsub(/[\t ]/, "", $2); print $2}')
21 if ! ethtool -h | grep -q set-ring >/dev/null; then
22 echo "SKIP: No --set-ring support in ethtool"
28 set -o pipefail
30 declare -A SETTINGS_MAP=(
31 ["rx"]="RX"
[all …]
H A Dudp_tunnel_nic.sh2 # SPDX-License-Identifier: GPL-2.0-only
30 [ -e /sys/class/net/$dev ] && ip link del dev $dev
36 if [ -e $NSIM_DEV_SYS ]; then
58 [ "$ipver" != '6' ] || ipfl="-6"
84 [ "$ipver" != '6' ] || ipfl="-6"
118 echo -e "port: $((val >> 16))\ttype: $((val & 0xffff))"
134 type_name="vxlan-gpe"
146 local -n expected=$2
149 read -a have < $path
151 if [ ${#expected[@]} -ne ${#have[@]} ]; then
[all …]
H A Dethtool-coalesce.sh2 # SPDX-License-Identifier: GPL-2.0-only
4 source ethtool-common.sh
9 echo $(ethtool -c $NSIM_NETDEV | \
10 awk -F':' -v pattern="$query:" '$0 ~ pattern {gsub(/[ \t]/, "", $2); print $2}')
20 if ! ethtool -h | grep -q coalesce; then
21 echo "SKIP: No --coalesce support in ethtool"
27 set -o pipefail
29 declare -A SETTINGS_MAP=(
30 ["rx-frames-low"]="rx-frame-low"
31 ["tx-frames-low"]="tx-frame-low"
[all …]
/linux/drivers/usb/typec/mux/
H A Dnb7vpq904m.c1 // SPDX-License-Identifier: GPL-2.0+
3 * OnSemi NB7VPQ904M Type-C driver
14 #include <drm/bridge/aux-bridge.h>
74 struct mutex lock; /* protect non-concurrent retimer & switch */
83 u8 eq, out_comp, flat_gain, loss_match; in nb7vpq904m_set_channel() local
86 eq = NB7_IS_CHAN_AD(channel) ? 0x6 : 0x4; in nb7vpq904m_set_channel()
91 eq = 0x4; in nb7vpq904m_set_channel()
97 regmap_update_bits(nb7->regmap, EQ_SETTING_REG(channel), in nb7vpq904m_set_channel()
98 EQ_SETTING_MASK, FIELD_PREP(EQ_SETTING_MASK, eq)); in nb7vpq904m_set_channel()
99 regmap_update_bits(nb7->regmap, OUTPUT_COMPRESSION_AND_POL_REG(channel), in nb7vpq904m_set_channel()
[all …]
/linux/drivers/infiniband/hw/hfi1/
H A Dpcie.c1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
3 * Copyright(c) 2015 - 2019 Intel Corporation.
27 struct pci_dev *pdev = dd->pcidev; in hfi1_pcie_init()
43 dd_dev_err(dd, "pci enable failed: error %d\n", -ret); in hfi1_pcie_init()
49 dd_dev_err(dd, "pci_request_regions fails: err %d\n", -ret); in hfi1_pcie_init()
53 ret = dma_set_mask_and_coherent(&pdev->dev, DMA_BIT_MASK(64)); in hfi1_pcie_init()
60 ret = dma_set_mask_and_coherent(&pdev->dev, DMA_BIT_MASK(32)); in hfi1_pcie_init()
90 * fields required to re-initialize after a chip reset, or for
111 return -EINVAL; in hfi1_pcie_ddinit()
114 dd->kregbase1 = ioremap(addr, RCV_ARRAY); in hfi1_pcie_ddinit()
[all …]
H A Dplatform.c1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
39 for (j = sizeof(u64); j != 0; j -= 2) { in validate_scratch_checksum()
61 struct hfi1_pportdata *ppd = dd->pport; in save_platform_config_fields()
67 (dd->hfi1_id ? PORT1_PORT_TYPE_SMASK : in save_platform_config_fields()
69 ppd->port_type = temp_dest >> in save_platform_config_fields()
70 (dd->hfi1_id ? PORT1_PORT_TYPE_SHIFT : in save_platform_config_fields()
74 (dd->hfi1_id ? PORT1_LOCAL_ATTEN_SMASK : in save_platform_config_fields()
76 ppd->local_atten = temp_dest >> in save_platform_config_fields()
77 (dd->hfi1_id ? PORT1_LOCAL_ATTEN_SHIFT : in save_platform_config_fields()
81 (dd->hfi1_id ? PORT1_REMOTE_ATTEN_SMASK : in save_platform_config_fields()
[all …]
/linux/arch/arm/boot/dts/st/
H A Dstm32mp135f-dhcor-dhsbc.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
6 * DHCR-STM32MP135F-C100-R051-EE-F0409-SPI4-RTC-WBT-I-01LG
7 * DHCOR PCB number: 718-100 or newer
8 * DHSBC PCB number: 719-100 or newer
11 /dts-v1/;
13 #include <dt-bindings/regulator/st,stm32mp13-regulator.h>
16 #include "stm32mp13xx-dhcor-som.dtsi"
20 compatible = "dh,stm32mp135f-dhcor-dhsbc",
21 "dh,stm32mp135f-dhcor-som",
32 stdout-path = "serial0:115200n8";
[all …]
/linux/tools/testing/selftests/drivers/net/hw/
H A Dethtool_rmon.sh2 # SPDX-License-Identifier: GPL-2.0
16 declare -A netif_mtu
22 local current=$(ip -j link show dev $iface | jq -r '.[0].mtu')
23 local required=$((len - ETH_HLEN - ETH_FCS_LEN))
25 if [ $current -lt $required ]; then
44 # Mausezahn does not include FCS bytes in its length - but the
46 len=$((len - ETH_FCS_LEN))
49 before=$(ethtool --json -S $iface --groups rmon | \
50 jq -r ".[0].rmon[\"${set}-pktsNtoM\"][$bucket].val")
54 $MZ $neigh -q -c $num_rx -p $len -a own -b bcast -d 10us
[all …]
/linux/Documentation/devicetree/bindings/phy/
H A Dqcom,ipq806x-usb-phy-ss.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/phy/qcom,ipq806x-usb-phy-ss.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Ansuel Smith <ansuelsmth@gmail.com>
13 DWC3 PHY nodes are defined to describe on-chip Synopsis Physical layer
19 const: qcom,ipq806x-usb-phy-ss
21 "#phy-cells":
31 clock-names:
34 - const: ref
[all …]
H A Dphy-stm32-usbphyc.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/phy/phy-stm32-usbphyc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
22 |_ PHY port#2 ----| |________________
27 - Amelie Delaunay <amelie.delaunay@foss.st.com>
31 const: st,stm32mp1-usbphyc
42 "#address-cells":
45 "#size-cells":
48 vdda1v1-supply:
[all …]
/linux/drivers/firmware/arm_scmi/
H A Dnotify.c1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright (C) 2020-2021 ARM Ltd.
36 * All users provided callbacks and allocated notification-chains are stored in
44 * hash-keys.
51 * Upon reception of a notification message from the platform the SCMI RX ISR
54 * pushes the event-data itself on a protocol-dedicated kfifo queue for further
59 * queued items into the proper notification-chain: notifications processing can
65 * conveyed, converted into a custom per-event report struct, as the void *data
73 #define dev_fmt(fmt) "SCMI Notifications - " fmt
74 #define pr_fmt(fmt) "SCMI Notifications - " fmt
[all …]
/linux/drivers/phy/mediatek/
H A Dphy-mtk-mipi-csi-0-5.c1 // SPDX-License-Identifier: GPL-2.0
9 #include <dt-bindings/phy/phy.h>
19 #include "phy-mtk-io.h"
20 #include "phy-mtk-mipi-csi-0-5-rx-reg.h"
76 void __iomem *base = port->base; in mtk_mipi_phy_power_on()
79 * The driver currently supports DPHY and CD-PHY phys, in mtk_mipi_phy_power_on()
81 * so CD-PHY capable phys must be configured in DPHY mode in mtk_mipi_phy_power_on()
83 if (port->type == CDPHY) { in mtk_mipi_phy_power_on()
94 * CSIXA_LNR0 --> D2 in mtk_mipi_phy_power_on()
95 * CSIXA_LNR1 --> D0 in mtk_mipi_phy_power_on()
[all …]
/linux/drivers/net/ethernet/chelsio/cxgb4/
H A Dsge.c4 * Copyright (c) 2003-2014 Chelsio Communications, Inc. All rights reserved.
16 * - Redistributions of source code must retain the above
20 * - Redistributions in binary form must reproduce the above
40 #include <linux/dma-mapping.h>
62 * Rx buffer size. We use largish buffers if possible but settle for single
68 # define FL_PG_ORDER (16 - PAGE_SHIFT)
76 * Main body length for sk_buffs used for Rx Ethernet packets with fragments.
91 * Max number of Rx buffers we replenish at a time. Again keep this modest,
97 * Period of the Rx queue check timer. This timer is infrequent as it has
115 #define NOMEM_TMR_IDX (SGE_NTIMERS - 1)
[all …]
/linux/drivers/net/ethernet/ibm/ehea/
H A Dehea_main.c1 // SPDX-License-Identifier: GPL-2.0-or-later
11 * Jan-Bernd Themann <themann@de.ibm.com>
49 static int msg_level = -1;
69 "[2^x - 1], x = [7..14]. Default = "
72 "[2^x - 1], x = [7..14]. Default = "
75 "[2^x - 1], x = [7..14]. Default = "
78 "[2^x - 1], x = [7..14]. Default = "
102 .compatible = "IBM,lhea-ethernet",
140 if (!test_bit(__EHEA_DISABLE_PORT_RESET, &port->flags)) in ehea_schedule_port_reset()
141 schedule_work(&port->reset_task); in ehea_schedule_port_reset()
[all …]

123