Home
last modified time | relevance | path

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

1234567

/kernel/linux/linux-6.6/tools/testing/selftests/net/
Dudpgro.sh2 # SPDX-License-Identifier: GPL-2.0
8 readonly PEER_NS="ns-peer-$(mktemp -u XXXXXX)"
15 if [ $ret -eq 0 ]; then
21 local -r jobs="$(jobs -p)"
22 local -r ns="$(ip netns list|grep $PEER_NS)"
24 [ -n "${jobs}" ] && kill -1 ${jobs} 2>/dev/null
25 [ -n "$ns" ] && ip netns del $ns 2>/dev/null
31 ip -netns "${PEER_NS}" link set lo up
38 ip -netns "${PEER_NS}" addr add dev veth1 192.168.1.1/24
39 ip -netns "${PEER_NS}" addr add dev veth1 2001:db8::1/64 nodad
[all …]
Dudpgro_bench.sh2 # SPDX-License-Identifier: GPL-2.0
8 readonly PEER_NS="ns-peer-$(mktemp -u XXXXXX)"
13 local -r jobs="$(jobs -p)"
14 local -r ns="$(ip netns list|grep $PEER_NS)"
16 [ -n "${jobs}" ] && kill -INT ${jobs} 2>/dev/null
17 [ -n "$ns" ] && ip netns del $ns 2>/dev/null
22 # use 'rx' as separator between sender args and receiver args
23 local -r all="$@"
24 local -r tx_args=${all%rx*}
25 local rx_args=${all#*rx}
[all …]
Dudpgro_frglist.sh2 # SPDX-License-Identifier: GPL-2.0
8 readonly PEER_NS="ns-peer-$(mktemp -u XXXXXX)"
13 local -r jobs="$(jobs -p)"
14 local -r ns="$(ip netns list|grep $PEER_NS)"
16 [ -n "${jobs}" ] && kill -INT ${jobs} 2>/dev/null
17 [ -n "$ns" ] && ip netns del $ns 2>/dev/null
22 # use 'rx' as separator between sender args and receiver args
23 local -r all="$@"
24 local -r tx_args=${all%rx*}
25 local rx_args=${all#*rx}
[all …]
Drtnetlink.sh5 # set -e
33 devdummy="test-dummy0"
35 # Kselftest framework requirement - SKIP code is 4.
41 if [ $ret -eq 0 ]; then
46 # same but inverted -- used when command must fail for test to pass
49 if [ $1 -eq 0 ]; then
77 ip -$f netconf show dev "$dev" > /dev/null
81 if [ $ret -ne 0 ] ;then
83 test $r -eq 0 && ret=0
91 devbr="test-br0"
[all …]
/kernel/linux/linux-6.6/tools/testing/selftests/net/mptcp/
Dmptcp_lib.sh2 # SPDX-License-Identifier: GPL-2.0
9 readonly KSFT_TEST="${MPTCP_LIB_KSFT_TEST:-$(basename "${0}" .sh)}"
11 # These variables are used in some selftests, read-only
12 declare -rx MPTCP_LIB_EVENT_CREATED=1 # MPTCP_EVENT_CREATED
13 declare -rx MPTCP_LIB_EVENT_ESTABLISHED=2 # MPTCP_EVENT_ESTABLISHED
14 declare -rx MPTCP_LIB_EVENT_CLOSED=3 # MPTCP_EVENT_CLOSED
15 declare -rx MPTCP_LIB_EVENT_ANNOUNCED=6 # MPTCP_EVENT_ANNOUNCED
16 declare -rx MPTCP_LIB_EVENT_REMOVED=7 # MPTCP_EVENT_REMOVED
17 declare -rx MPTCP_LIB_EVENT_SUB_ESTABLISHED=10 # MPTCP_EVENT_SUB_ESTABLISHED
18 declare -rx MPTCP_LIB_EVENT_SUB_CLOSED=11 # MPTCP_EVENT_SUB_CLOSED
[all …]
/kernel/linux/linux-6.6/arch/arm/boot/dts/qcom/
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 …]
/kernel/linux/linux-6.6/Documentation/networking/devlink/
Dmlx5.rst1 .. SPDX-License-Identifier: GPL-2.0
13 .. list-table:: Generic parameters implemented
15 * - Name
16 - Mode
17 - Validation
18 * - ``enable_roce``
19 - driverinit
20 - Type: Boolean
26 * - ``io_eq_size``
27 - driverinit
[all …]
/kernel/linux/linux-6.6/drivers/media/i2c/
Dds90ub960.c1 // SPDX-License-Identifier: GPL-2.0
3 * Driver for the Texas Instruments DS90UB960-Q1 video deserializer
12 * - PM for serializer and remote peripherals. We need to manage:
13 * - VPOC
14 * - Power domain? Regulator? Somehow any remote device should be able to
16 * - Link between the deserializer and the serializer
17 * - Related to VPOC management. We probably always want to turn on the VPOC
19 * - Serializer's services: i2c, gpios, power
20 * - The serializer needs to resume before the remote peripherals can
22 * - How to handle gpios? Reserving a gpio essentially keeps the provider
[all …]
/kernel/linux/linux-6.6/tools/testing/selftests/net/forwarding/
Ddevlink_lib.sh2 # SPDX-License-Identifier: GPL-2.0
4 # Kselftest framework requirement - SKIP code is 4.
10 if [[ ! -v DEVLINK_DEV ]]; then
11 DEVLINK_DEV=$(devlink port show "${NETIFS[p1]:-$NETIF_NO_CABLE}" -j \
12 | jq -r '.port | keys[]' | cut -d/ -f-2)
13 if [ -z "$DEVLINK_DEV" ]; then
17 if [[ "$(echo $DEVLINK_DEV | grep -c pci)" -eq 0 ]]; then
22 DEVLINK_VIDDID=$(lspci -s $(echo $DEVLINK_DEV | cut -d"/" -f2) \
23 -n | cut -d" " -f3)
24 elif [[ ! -z "$DEVLINK_DEV" ]]; then
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/net/forwarding/
Ddevlink_lib.sh2 # SPDX-License-Identifier: GPL-2.0
7 if [[ ! -v DEVLINK_DEV ]]; then
8 DEVLINK_DEV=$(devlink port show "${NETIFS[p1]:-$NETIF_NO_CABLE}" -j \
9 | jq -r '.port | keys[]' | cut -d/ -f-2)
10 if [ -z "$DEVLINK_DEV" ]; then
14 if [[ "$(echo $DEVLINK_DEV | grep -c pci)" -eq 0 ]]; then
19 DEVLINK_VIDDID=$(lspci -s $(echo $DEVLINK_DEV | cut -d"/" -f2) \
20 -n | cut -d" " -f3)
27 if [ $? -ne 0 ]; then
33 if [ $? -ne 0 ]; then
[all …]
/kernel/linux/linux-6.6/drivers/net/ethernet/emulex/benet/
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 …]
/kernel/linux/linux-5.10/drivers/net/ethernet/emulex/benet/
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 …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/media/i2c/
Dti,ds90ub960.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Texas Instruments DS90UB9XX Family FPD-Link Deserializer Hubs
10 - Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
13 The TI DS90UB9XX devices are FPD-Link video deserializers with I2C and GPIO
17 - $ref: /schemas/i2c/i2c-atr.yaml#
22 - ti,ds90ub960-q1
23 - ti,ds90ub9702-q1
33 clock-names:
[all …]
/kernel/linux/linux-5.10/sound/soc/codecs/
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 …]
/kernel/linux/linux-6.6/sound/soc/codecs/
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 …]
/kernel/linux/linux-6.6/drivers/net/ethernet/microsoft/mana/
Dhw_channel.c1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
9 struct gdma_resource *r = &hwc->inflight_msg_res; in mana_hwc_get_msg_index()
13 down(&hwc->sema); in mana_hwc_get_msg_index()
15 spin_lock_irqsave(&r->lock, flags); in mana_hwc_get_msg_index()
17 index = find_first_zero_bit(hwc->inflight_msg_res.map, in mana_hwc_get_msg_index()
18 hwc->inflight_msg_res.size); in mana_hwc_get_msg_index()
20 bitmap_set(hwc->inflight_msg_res.map, index, 1); in mana_hwc_get_msg_index()
22 spin_unlock_irqrestore(&r->lock, flags); in mana_hwc_get_msg_index()
31 struct gdma_resource *r = &hwc->inflight_msg_res; in mana_hwc_put_msg_index()
34 spin_lock_irqsave(&r->lock, flags); in mana_hwc_put_msg_index()
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/net/
Dudpgro.sh2 # SPDX-License-Identifier: GPL-2.0
6 readonly PEER_NS="ns-peer-$(mktemp -u XXXXXX)"
11 if [ $ret -eq 0 ]; then
17 local -r jobs="$(jobs -p)"
18 local -r ns="$(ip netns list|grep $PEER_NS)"
20 [ -n "${jobs}" ] && kill -1 ${jobs} 2>/dev/null
21 [ -n "$ns" ] && ip netns del $ns 2>/dev/null
27 ip -netns "${PEER_NS}" link set lo up
34 ip -netns "${PEER_NS}" addr add dev veth1 192.168.1.1/24
35 ip -netns "${PEER_NS}" addr add dev veth1 2001:db8::1/64 nodad
[all …]
Dudpgro_bench.sh2 # SPDX-License-Identifier: GPL-2.0
6 readonly PEER_NS="ns-peer-$(mktemp -u XXXXXX)"
9 local -r jobs="$(jobs -p)"
10 local -r ns="$(ip netns list|grep $PEER_NS)"
12 [ -n "${jobs}" ] && kill -INT ${jobs} 2>/dev/null
13 [ -n "$ns" ] && ip netns del $ns 2>/dev/null
18 # use 'rx' as separator between sender args and receiver args
19 local -r all="$@"
20 local -r tx_args=${all%rx*}
21 local rx_args=${all#*rx}
[all …]
/kernel/linux/linux-6.6/tools/testing/selftests/drivers/net/netdevsim/
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 …]
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 …]
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 …]
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/en/
Dreporter_rx.c1 // SPDX-License-Identifier: GPL-2.0
17 return -ENOMEM; in mlx5e_query_rq_state()
37 if (icosq->cc == icosq->pc) in mlx5e_wait_for_icosq_flush()
43 netdev_err(icosq->channel->netdev, in mlx5e_wait_for_icosq_flush()
45 icosq->sqn, icosq->cc, icosq->pc); in mlx5e_wait_for_icosq_flush()
47 return -ETIMEDOUT; in mlx5e_wait_for_icosq_flush()
52 WARN_ONCE(icosq->cc != icosq->pc, "ICOSQ 0x%x: cc (0x%x) != pc (0x%x)\n", in mlx5e_reset_icosq_cc_pc()
53 icosq->sqn, icosq->cc, icosq->pc); in mlx5e_reset_icosq_cc_pc()
54 icosq->cc = 0; in mlx5e_reset_icosq_cc_pc()
55 icosq->pc = 0; in mlx5e_reset_icosq_cc_pc()
[all …]
/kernel/linux/linux-6.6/drivers/usb/typec/mux/
Dnb7vpq904m.c1 // SPDX-License-Identifier: GPL-2.0+
3 * OnSemi NB7VPQ904M Type-C driver
75 struct mutex lock; /* protect non-concurrent retimer & switch */
84 u8 eq, out_comp, flat_gain, loss_match; in nb7vpq904m_set_channel() local
87 eq = NB7_IS_CHAN_AD(channel) ? 0x6 : 0x4; in nb7vpq904m_set_channel()
92 eq = 0x4; in nb7vpq904m_set_channel()
98 regmap_update_bits(nb7->regmap, EQ_SETTING_REG(channel), in nb7vpq904m_set_channel()
99 EQ_SETTING_MASK, FIELD_PREP(EQ_SETTING_MASK, eq)); in nb7vpq904m_set_channel()
100 regmap_update_bits(nb7->regmap, OUTPUT_COMPRESSION_AND_POL_REG(channel), in nb7vpq904m_set_channel()
102 regmap_update_bits(nb7->regmap, FLAT_GAIN_REG(channel), in nb7vpq904m_set_channel()
[all …]
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/en/
Dreporter_rx.c1 // SPDX-License-Identifier: GPL-2.0
33 return -ENOMEM; in mlx5e_query_rq_state()
49 struct mlx5_core_dev *dev = icosq->channel->mdev; in mlx5e_wait_for_icosq_flush()
55 if (icosq->cc == icosq->pc) in mlx5e_wait_for_icosq_flush()
61 netdev_err(icosq->channel->netdev, in mlx5e_wait_for_icosq_flush()
63 icosq->sqn, icosq->cc, icosq->pc); in mlx5e_wait_for_icosq_flush()
65 return -ETIMEDOUT; in mlx5e_wait_for_icosq_flush()
70 WARN_ONCE(icosq->cc != icosq->pc, "ICOSQ 0x%x: cc (0x%x) != pc (0x%x)\n", in mlx5e_reset_icosq_cc_pc()
71 icosq->sqn, icosq->cc, icosq->pc); in mlx5e_reset_icosq_cc_pc()
72 icosq->cc = 0; in mlx5e_reset_icosq_cc_pc()
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/drivers/net/netdevsim/
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 …]

1234567