Home
last modified time | relevance | path

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

1234

/Linux-v6.1/arch/arm/boot/dts/
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-v6.1/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 …]
/Linux-v6.1/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 …]
/Linux-v6.1/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 …]
/Linux-v6.1/tools/testing/selftests/net/
Dudpgro.sh2 # SPDX-License-Identifier: GPL-2.0
6 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 …]
Dudpgro_bench.sh2 # SPDX-License-Identifier: GPL-2.0
6 readonly PEER_NS="ns-peer-$(mktemp -u XXXXXX)"
11 local -r jobs="$(jobs -p)"
12 local -r ns="$(ip netns list|grep $PEER_NS)"
14 [ -n "${jobs}" ] && kill -INT ${jobs} 2>/dev/null
15 [ -n "$ns" ] && ip netns del $ns 2>/dev/null
20 # use 'rx' as separator between sender args and receiver args
21 local -r all="$@"
22 local -r tx_args=${all%rx*}
23 local rx_args=${all#*rx}
[all …]
Dudpgro_frglist.sh2 # SPDX-License-Identifier: GPL-2.0
6 readonly PEER_NS="ns-peer-$(mktemp -u XXXXXX)"
11 local -r jobs="$(jobs -p)"
12 local -r ns="$(ip netns list|grep $PEER_NS)"
14 [ -n "${jobs}" ] && kill -INT ${jobs} 2>/dev/null
15 [ -n "$ns" ] && ip netns del $ns 2>/dev/null
20 # use 'rx' as separator between sender args and receiver args
21 local -r all="$@"
22 local -r tx_args=${all%rx*}
23 local rx_args=${all#*rx}
[all …]
Drtnetlink.sh5 # set -e
7 devdummy="test-dummy0"
9 # Kselftest framework requirement - SKIP code is 4.
15 if [ $ret -eq 0 ]; then
20 # same but inverted -- used when command must fail for test to pass
23 if [ $1 -eq 0 ]; then
51 ip -$f netconf show dev "$dev" > /dev/null
55 if [ $ret -ne 0 ] ;then
57 test $r -eq 0 && ret=0
65 devbr="test-br0"
[all …]
Dgro.sh2 # SPDX-License-Identifier: GPL-2.0
17 local ARGS=( "--${protocol}" "--dmac" "${SERVER_MAC}" \
18 "--smac" "${CLIENT_MAC}" "--test" "${test}" "--verbose" )
26 ip netns exec server_ns ./gro "${ARGS[@]}" "--rx" "--iface" "server" \
30 ip netns exec client_ns ./gro "${ARGS[@]}" "--iface" "client" \
34 if [[ "${exit_code}" -eq 0 ]]; then
48 if [[ "${exit_code}" -ne 0 ]]; then
53 if [[ ${#failed_tests[@]} -ne 0 ]]; then
64 [-i <DEV>] \
65 [-t data|ack|flags|tcp|ip|large] \
[all …]
/Linux-v6.1/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 …]
/Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/en/
Dreporter_rx.c1 // SPDX-License-Identifier: GPL-2.0
20 return -ENOMEM; in mlx5e_query_rq_state()
36 struct mlx5_core_dev *dev = icosq->channel->mdev; in mlx5e_wait_for_icosq_flush()
42 if (icosq->cc == icosq->pc) in mlx5e_wait_for_icosq_flush()
48 netdev_err(icosq->channel->netdev, in mlx5e_wait_for_icosq_flush()
50 icosq->sqn, icosq->cc, icosq->pc); in mlx5e_wait_for_icosq_flush()
52 return -ETIMEDOUT; in mlx5e_wait_for_icosq_flush()
57 WARN_ONCE(icosq->cc != icosq->pc, "ICOSQ 0x%x: cc (0x%x) != pc (0x%x)\n", in mlx5e_reset_icosq_cc_pc()
58 icosq->sqn, icosq->cc, icosq->pc); in mlx5e_reset_icosq_cc_pc()
59 icosq->cc = 0; in mlx5e_reset_icosq_cc_pc()
[all …]
/Linux-v6.1/tools/testing/selftests/net/mptcp/
Dmptcp_join.sh2 # SPDX-License-Identifier: GPL-2.0
30 declare -A all_tests
31 declare -a only_tests_ids
32 declare -a only_tests_names
33 declare -A failed_tests
63 rndh=$(mktemp -u XXXXXX)
65 ns1="ns1-$rndh"
66 ns2="ns2-$rndh"
71 ip -net $netns link set lo up
72 ip netns exec $netns sysctl -q net.mptcp.enabled=1
[all …]
Dmptcp_connect.sh2 # SPDX-License-Identifier: GPL-2.0
30 if [ $tc_loss -eq 100 ];then
32 elif [ $tc_loss -ge 10 ]; then
34 elif [ $tc_loss -ge 1 ]; then
41 echo "Usage: $0 [ -a ]"
42 echo -e "\t-d: tc/netem delay in milliseconds, e.g. \"-d 10\" (default random)"
43 echo -e "\t-l: tc/netem loss percentage, e.g. \"-l 0.02\" (default random)"
44 …echo -e "\t-r: tc/netem reorder mode, e.g. \"-r 25% 50% gap 5\", use "-r 0" to disable reordering …
45 …echo -e "\t-e: ethtool features to disable, e.g.: \"-e tso -e gso\" (default: randomly disable any…
46 echo -e "\t-4: IPv4 only: disable IPv6 tests (default: test both IPv4 and IPv6)"
[all …]
/Linux-v6.1/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 …]
Dmana_en.c1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
28 apc->port_is_up = true; in mana_open()
43 if (!apc->port_is_up) in mana_close()
56 if (skb->protocol == htons(ETH_P_IP)) { in mana_checksum_info()
59 if (ip->protocol == IPPROTO_TCP) in mana_checksum_info()
62 if (ip->protocol == IPPROTO_UDP) in mana_checksum_info()
64 } else if (skb->protocol == htons(ETH_P_IPV6)) { in mana_checksum_info()
67 if (ip6->nexthdr == IPPROTO_TCP) in mana_checksum_info()
70 if (ip6->nexthdr == IPPROTO_UDP) in mana_checksum_info()
81 struct mana_skb_head *ash = (struct mana_skb_head *)skb->head; in mana_map_skb()
[all …]
/Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/
Deq.c1 // SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB
3 * Copyright (c) 2013-2021, Mellanox Technologies inc. All rights reserved.
10 #include <linux/mlx5/eq.h>
15 #include "lib/eq.h"
38 * the ci before we polled all the entries in the EQ. MLX5_NUM_SPARE_EQE is
39 * used to set the EQ size, budget must be smaller than the EQ size.
91 static struct mlx5_core_cq *mlx5_eq_cq_get(struct mlx5_eq *eq, u32 cqn) in mlx5_eq_cq_get() argument
93 struct mlx5_cq_table *table = &eq->cq_table; in mlx5_eq_cq_get()
97 cq = radix_tree_lookup(&table->tree, cqn); in mlx5_eq_cq_get()
111 struct mlx5_eq *eq = &eq_comp->core; in mlx5_eq_comp_int() local
[all …]
/Linux-v6.1/drivers/infiniband/hw/hfi1/
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()
91 * fields required to re-initialize after a chip reset, or for
112 return -EINVAL; in hfi1_pcie_ddinit()
115 dd->kregbase1 = ioremap(addr, RCV_ARRAY); in hfi1_pcie_ddinit()
[all …]
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-v6.1/Documentation/devicetree/bindings/phy/
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 …]
/Linux-v6.1/drivers/net/ethernet/mellanox/mlx4/
Den_cq.c14 * - Redistributions of source code must retain the above
18 * - Redistributions in binary form must reproduce the above
51 struct mlx4_en_dev *mdev = priv->mdev; in mlx4_en_create_cq()
58 return -ENOMEM; in mlx4_en_create_cq()
61 cq->size = entries; in mlx4_en_create_cq()
62 cq->buf_size = cq->size * mdev->dev->caps.cqe_size; in mlx4_en_create_cq()
64 cq->ring = ring; in mlx4_en_create_cq()
65 cq->type = mode; in mlx4_en_create_cq()
66 cq->vector = mdev->dev->caps.num_comp_vectors; in mlx4_en_create_cq()
69 * dev->numa_node is used in mtt range allocation flow. in mlx4_en_create_cq()
[all …]
/Linux-v6.1/drivers/firmware/arm_scmi/
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-v6.1/drivers/infiniband/hw/efa/
Defa_admin_cmds_defs.h1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause */
3 * Copyright 2018-2021 Amazon.com, Inc. or its affiliates. All rights reserved.
88 * Recv descriptor ring size in bytes, sufficient for user-provided
108 * 0 : sq_virt - If set, SQ ring base address is
110 * 1 : rq_virt - If set, RQ ring base address is
112 * 7:2 : reserved - MBZ
167 * QP number in the given EFA virtual device. Least-significant bits (as
175 /* Index of sub-CQ for Send Queue completions */
178 /* Index of sub-CQ for Receive Queue completions */
345 /* Physical Buffer List, each element is page-aligned. */
[all …]
/Linux-v6.1/drivers/net/ethernet/chelsio/cxgb4/
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 …]

1234