Home
last modified time | relevance | path

Searched +full:num +full:- +full:macs (Results 1 – 25 of 81) sorted by relevance

1234

/kernel/linux/linux-5.10/drivers/net/ethernet/pasemi/
Dpasemi_mac.h1 /* SPDX-License-Identifier: GPL-2.0-only */
5 * Driver for the PA6T-1682M onchip 1G/10G Ethernet MACs, soft state and
94 #define TX_DESC(tx, num) ((tx)->chan.ring_virt[(num) & (TX_RING_SIZE-1)]) argument
95 #define TX_DESC_INFO(tx, num) ((tx)->ring_info[(num) & (TX_RING_SIZE-1)]) argument
96 #define RX_DESC(rx, num) ((rx)->chan.ring_virt[(num) & (RX_RING_SIZE-1)]) argument
97 #define RX_DESC_INFO(rx, num) ((rx)->ring_info[(num) & (RX_RING_SIZE-1)]) argument
98 #define RX_BUFF(rx, num) ((rx)->buffers[(num) & (RX_RING_SIZE-1)]) argument
99 #define CS_DESC(cs, num) ((cs)->chan.ring_virt[(num) & (CS_RING_SIZE-1)]) argument
101 #define RING_USED(ring) (((ring)->next_to_fill - (ring)->next_to_clean) \
102 & ((ring)->size - 1))
[all …]
/kernel/linux/linux-6.6/drivers/net/ethernet/pasemi/
Dpasemi_mac.h1 /* SPDX-License-Identifier: GPL-2.0-only */
5 * Driver for the PA6T-1682M onchip 1G/10G Ethernet MACs, soft state and
94 #define TX_DESC(tx, num) ((tx)->chan.ring_virt[(num) & (TX_RING_SIZE-1)]) argument
95 #define TX_DESC_INFO(tx, num) ((tx)->ring_info[(num) & (TX_RING_SIZE-1)]) argument
96 #define RX_DESC(rx, num) ((rx)->chan.ring_virt[(num) & (RX_RING_SIZE-1)]) argument
97 #define RX_DESC_INFO(rx, num) ((rx)->ring_info[(num) & (RX_RING_SIZE-1)]) argument
98 #define RX_BUFF(rx, num) ((rx)->buffers[(num) & (RX_RING_SIZE-1)]) argument
99 #define CS_DESC(cs, num) ((cs)->chan.ring_virt[(num) & (CS_RING_SIZE-1)]) argument
101 #define RING_USED(ring) (((ring)->next_to_fill - (ring)->next_to_clean) \
102 & ((ring)->size - 1))
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/nvmem/layouts/
Donie,tlv-layout.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/nvmem/layouts/onie,tlv-layout.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Miquel Raynal <miquel.raynal@bootlin.com>
14 infrastructure shall provide a non-volatile memory with a table whose the
26 const: onie,tlv-layout
28 product-name:
32 part-number:
36 serial-number:
[all …]
/kernel/linux/linux-6.6/drivers/infiniband/ulp/opa_vnic/
Dopa_vnic_encap.h26 * - Redistributions of source code must retain the above copyright
28 * - Redistributions in binary form must reproduce the above copyright
32 * - Neither the name of Intel Corporation nor the names of its
84 #define OPA_VNIC_EMA_DATA (OPA_MGMT_MAD_SIZE - IB_MGMT_VENDOR_HDR)
118 * struct opa_vesw_info - OPA vnic switch information
119 * @fabric_id: 10-bit fabric id
120 * @vesw_id: 12-bit virtual ethernet switch id
155 * struct opa_per_veswport_info - OPA vnic per port information
171 * @non_vlan_sc_uc: sc for non-vlan unicast ethernet packets
172 * @non_vlan_vl_uc: vl for non-vlan unicast ethernet packets
[all …]
/kernel/linux/linux-5.10/drivers/infiniband/ulp/opa_vnic/
Dopa_vnic_encap.h26 * - Redistributions of source code must retain the above copyright
28 * - Redistributions in binary form must reproduce the above copyright
32 * - Neither the name of Intel Corporation nor the names of its
84 #define OPA_VNIC_EMA_DATA (OPA_MGMT_MAD_SIZE - IB_MGMT_VENDOR_HDR)
118 * struct opa_vesw_info - OPA vnic switch information
119 * @fabric_id: 10-bit fabric id
120 * @vesw_id: 12-bit virtual ethernet switch id
155 * struct opa_per_veswport_info - OPA vnic per port information
171 * @non_vlan_sc_uc: sc for non-vlan unicast ethernet packets
172 * @non_vlan_vl_uc: vl for non-vlan unicast ethernet packets
[all …]
/kernel/linux/linux-6.6/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_sp.h3 * Copyright 2011-2013 Broadcom Corporation
10 * at http://www.gnu.org/licenses/gpl-2.0.html (the "GPL").
45 * re-try to submit this one. This flag can be set only in sleepable
101 /************************* VLAN-MAC commands related parameters ***************/
178 /* Return positive if entry was optimized, 0 - if not, negative
211 * Must run under exe_queue->lock
227 * Must run under exe_queue->lock
242 /***************** Classification verbs: Set/Del MAC/VLAN/VLAN-MAC ************/
250 /* Used to store the cam offset used for the mac/vlan/vlan-mac.
251 * Relevant for 57710 and 57711 only. VLANs and MACs share the
[all …]
Dbnx2x_sp.c3 * Copyright 2011-2013 Broadcom Corporation
10 * at http://www.gnu.org/licenses/gpl-2.0.html (the "GPL").
38 * bnx2x_exe_queue_init - init the Exe Queue object
62 INIT_LIST_HEAD(&o->exe_queue); in bnx2x_exe_queue_init()
63 INIT_LIST_HEAD(&o->pending_comp); in bnx2x_exe_queue_init()
65 spin_lock_init(&o->lock); in bnx2x_exe_queue_init()
67 o->exe_chunk_len = exe_len; in bnx2x_exe_queue_init()
68 o->owner = owner; in bnx2x_exe_queue_init()
71 o->validate = validate; in bnx2x_exe_queue_init()
72 o->remove = remove; in bnx2x_exe_queue_init()
[all …]
Dbnx2x_sriov.c3 * Copyright 2009-2013 Broadcom Corporation
10 * at http://www.gnu.org/licenses/old-licenses/gpl-2.0.html (the "GPL").
82 /* acking a VF sb through the PF - use the GRC */ in bnx2x_vf_igu_ack_sb()
86 u32 func_encode = vf->abs_vfid; in bnx2x_vf_igu_ack_sb()
132 "VF[%d] Q_SETUP: txq[%d]-- vfsb=%d, sb-index=%d, hc-rate=%d, flags=0x%lx, traffic-type=%d", in bnx2x_vfop_qctor_dump_tx()
133 vf->abs_vfid, in bnx2x_vfop_qctor_dump_tx()
136 init_params->tx.sb_cq_index, in bnx2x_vfop_qctor_dump_tx()
137 init_params->tx.hc_rate, in bnx2x_vfop_qctor_dump_tx()
138 setup_params->flags, in bnx2x_vfop_qctor_dump_tx()
139 setup_params->txq_params.traffic_type); in bnx2x_vfop_qctor_dump_tx()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_sp.h3 * Copyright 2011-2013 Broadcom Corporation
10 * at http://www.gnu.org/licenses/gpl-2.0.html (the "GPL").
45 * re-try to submit this one. This flag can be set only in sleepable
101 /************************* VLAN-MAC commands related parameters ***************/
178 /* Return positive if entry was optimized, 0 - if not, negative
211 * Must run under exe_queue->lock
227 * Must run under exe_queue->lock
242 /***************** Classification verbs: Set/Del MAC/VLAN/VLAN-MAC ************/
250 /* Used to store the cam offset used for the mac/vlan/vlan-mac.
251 * Relevant for 57710 and 57711 only. VLANs and MACs share the
[all …]
Dbnx2x_sp.c3 * Copyright 2011-2013 Broadcom Corporation
10 * at http://www.gnu.org/licenses/gpl-2.0.html (the "GPL").
38 * bnx2x_exe_queue_init - init the Exe Queue object
62 INIT_LIST_HEAD(&o->exe_queue); in bnx2x_exe_queue_init()
63 INIT_LIST_HEAD(&o->pending_comp); in bnx2x_exe_queue_init()
65 spin_lock_init(&o->lock); in bnx2x_exe_queue_init()
67 o->exe_chunk_len = exe_len; in bnx2x_exe_queue_init()
68 o->owner = owner; in bnx2x_exe_queue_init()
71 o->validate = validate; in bnx2x_exe_queue_init()
72 o->remove = remove; in bnx2x_exe_queue_init()
[all …]
Dbnx2x_sriov.c3 * Copyright 2009-2013 Broadcom Corporation
10 * at http://www.gnu.org/licenses/old-licenses/gpl-2.0.html (the "GPL").
82 /* acking a VF sb through the PF - use the GRC */ in bnx2x_vf_igu_ack_sb()
86 u32 func_encode = vf->abs_vfid; in bnx2x_vf_igu_ack_sb()
132 "VF[%d] Q_SETUP: txq[%d]-- vfsb=%d, sb-index=%d, hc-rate=%d, flags=0x%lx, traffic-type=%d", in bnx2x_vfop_qctor_dump_tx()
133 vf->abs_vfid, in bnx2x_vfop_qctor_dump_tx()
136 init_params->tx.sb_cq_index, in bnx2x_vfop_qctor_dump_tx()
137 init_params->tx.hc_rate, in bnx2x_vfop_qctor_dump_tx()
138 setup_params->flags, in bnx2x_vfop_qctor_dump_tx()
139 setup_params->txq_params.traffic_type); in bnx2x_vfop_qctor_dump_tx()
[all …]
/kernel/linux/linux-6.6/drivers/nvmem/layouts/
Donie-tlv.c1 // SPDX-License-Identifier: GPL-2.0-only
13 #include <linux/nvmem-consumer.h>
14 #include <linux/nvmem-provider.h>
37 return "product-name"; in onie_tlv_cell_name()
39 return "part-number"; in onie_tlv_cell_name()
41 return "serial-number"; in onie_tlv_cell_name()
43 return "mac-address"; in onie_tlv_cell_name()
45 return "manufacture-date"; in onie_tlv_cell_name()
47 return "device-version"; in onie_tlv_cell_name()
49 return "label-revision"; in onie_tlv_cell_name()
[all …]
/kernel/linux/linux-6.6/Documentation/networking/
Dpktgen.rst1 .. SPDX-License-Identifier: GPL-2.0
7 Enable CONFIG_NET_PKTGEN to compile and build pktgen either in-kernel
31 overload type of benchmarking, as this could hurt the normal use-case.
35 # ethtool -G ethX tx 1024
44 ring-buffers for various performance reasons, and packets stalling
49 and the cleanup interval is affected by the ethtool --coalesce setting
50 of parameter "rx-usecs".
54 # ethtool -C ethX rx-usecs 30
72 * add_device DEVICE@NAME -- adds a single device
73 * rem_device_all -- remove all associated devices
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath11k/
Dcore.h1 /* SPDX-License-Identifier: BSD-3-Clause-Clear */
3 * Copyright (c) 2018-2019 The Linux Foundation. All rights reserved.
346 /* the following are protected by ar->data_lock */
384 #define ATH11K_DEFAULT_NOISE_FLOOR -95
501 /* pdev_idx starts from 0 whereas pdev->pdev_id starts with 1 */
658 /* HW channel counters frequency value in hertz common to all MACs */
701 /* Below regd's are protected by ab->data_lock */
750 /* Total on-channel time */
762 /* Num HTT cookies queued to dispatch list */
764 /* Num HTT cookies dispatched */
[all …]
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath11k/
Dcore.h1 /* SPDX-License-Identifier: BSD-3-Clause-Clear */
3 * Copyright (c) 2018-2019 The Linux Foundation. All rights reserved.
4 * Copyright (c) 2021-2023 Qualcomm Innovation Center, Inc. All rights reserved.
48 /* SMBIOS type structure length (excluding strings-set) */
180 /* set country code by ANSI country name, based on ISO3166-1 alpha2 */
484 /* the following are protected by ar->data_lock */
513 /* Protected with ar->data_lock */
540 #define ATH11K_DEFAULT_NOISE_FLOOR -95
542 #define ATH11K_INVALID_RSSI_FULL -1
544 #define ATH11K_INVALID_RSSI_EMPTY -128
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/brocade/bna/
Dbna_enet.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Linux network driver for QLogic BR-series Converged Network Adapter.
6 * Copyright (c) 2005-2014 Brocade Communications Systems, Inc.
7 * Copyright (c) 2014-2015 QLogic Corporation
17 if (ethport->bna->enet.type == BNA_ENET_T_REGULAR) in ethport_can_be_up()
18 ready = ((ethport->flags & BNA_ETHPORT_F_ADMIN_UP) && in ethport_can_be_up()
19 (ethport->flags & BNA_ETHPORT_F_RX_STARTED) && in ethport_can_be_up()
20 (ethport->flags & BNA_ETHPORT_F_PORT_ENABLED)); in ethport_can_be_up()
22 ready = ((ethport->flags & BNA_ETHPORT_F_ADMIN_UP) && in ethport_can_be_up()
23 (ethport->flags & BNA_ETHPORT_F_RX_STARTED) && in ethport_can_be_up()
[all …]
/kernel/linux/linux-6.6/drivers/net/ethernet/brocade/bna/
Dbna_enet.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Linux network driver for QLogic BR-series Converged Network Adapter.
6 * Copyright (c) 2005-2014 Brocade Communications Systems, Inc.
7 * Copyright (c) 2014-2015 QLogic Corporation
17 if (ethport->bna->enet.type == BNA_ENET_T_REGULAR) in ethport_can_be_up()
18 ready = ((ethport->flags & BNA_ETHPORT_F_ADMIN_UP) && in ethport_can_be_up()
19 (ethport->flags & BNA_ETHPORT_F_RX_STARTED) && in ethport_can_be_up()
20 (ethport->flags & BNA_ETHPORT_F_PORT_ENABLED)); in ethport_can_be_up()
22 ready = ((ethport->flags & BNA_ETHPORT_F_ADMIN_UP) && in ethport_can_be_up()
23 (ethport->flags & BNA_ETHPORT_F_RX_STARTED) && in ethport_can_be_up()
[all …]
/kernel/linux/linux-6.6/drivers/net/wireless/intel/iwlwifi/fw/api/
Dmac.h1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
3 * Copyright (C) 2012-2014, 2018-2022 Intel Corporation
11 * AUX indices follows - 1 for non-CDB, 2 for CDB.
31 * enum iwl_mac_protection_flags - MAC context flags
50 * enum iwl_mac_types - Supported MAC types
54 * @FW_MAC_TYPE_PIBSS: Pseudo-IBSS
78 * enum iwl_tsf_id - TSF hw timer ID
94 * struct iwl_mac_data_ap - configuration data for AP MAC context
117 * struct iwl_mac_data_ibss - configuration data for IBSS MAC context
133 * enum iwl_mac_data_policy - policy of the data path for this MAC
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/fw/api/
Dmac.h9 * Copyright(c) 2012 - 2014, 2018 - 2020 Intel Corporation
25 * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497
30 * Copyright(c) 2012 - 2014, 2018 - 2020 Intel Corporation
65 * AUX indices follows - 1 for non-CDB, 2 for CDB.
85 * enum iwl_mac_protection_flags - MAC context flags
104 * enum iwl_mac_types - Supported MAC types
108 * @FW_MAC_TYPE_PIBSS: Pseudo-IBSS
132 * enum iwl_tsf_id - TSF hw timer ID
148 * struct iwl_mac_data_ap - configuration data for AP MAC context
171 * struct iwl_mac_data_ibss - configuration data for IBSS MAC context
[all …]
/kernel/linux/linux-6.6/drivers/net/ethernet/qlogic/qed/
Dqed_sriov.c1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause)
3 * Copyright (c) 2015-2017 QLogic Corporation
4 * Copyright (c) 2019-2020 Marvell International Ltd.
27 return le16_to_cpu(entity_id) - MAX_NUM_PFS; in qed_vf_from_entity_id()
34 if (p_vf->acquire.vfdev_info.eth_fp_hsi_minor == in qed_vf_calculate_legacy()
38 if (!(p_vf->acquire.vfdev_info.capabilities & in qed_vf_calculate_legacy()
51 int rc = -EINVAL; in qed_sp_vf_start()
57 init_data.opaque_fid = p_vf->opaque_fid; in qed_sp_vf_start()
66 p_ramrod = &p_ent->ramrod.vf_start; in qed_sp_vf_start()
68 p_ramrod->vf_id = GET_FIELD(p_vf->concrete_fid, PXP_CONCRETE_FID_VFID); in qed_sp_vf_start()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qed/
Dqed_sriov.c1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause)
3 * Copyright (c) 2015-2017 QLogic Corporation
4 * Copyright (c) 2019-2020 Marvell International Ltd.
32 if (p_vf->acquire.vfdev_info.eth_fp_hsi_minor == in qed_vf_calculate_legacy()
36 if (!(p_vf->acquire.vfdev_info.capabilities & in qed_vf_calculate_legacy()
49 int rc = -EINVAL; in qed_sp_vf_start()
55 init_data.opaque_fid = p_vf->opaque_fid; in qed_sp_vf_start()
64 p_ramrod = &p_ent->ramrod.vf_start; in qed_sp_vf_start()
66 p_ramrod->vf_id = GET_FIELD(p_vf->concrete_fid, PXP_CONCRETE_FID_VFID); in qed_sp_vf_start()
67 p_ramrod->opaque_fid = cpu_to_le16(p_vf->opaque_fid); in qed_sp_vf_start()
[all …]
/kernel/linux/linux-5.10/arch/arm64/boot/dts/freescale/
Dfsl-ls208xa.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * Device Tree Include file for Freescale Layerscape-2080A family SoC.
12 #include <dt-bindings/thermal/thermal.h>
13 #include <dt-bindings/interrupt-controller/arm-gic.h>
17 interrupt-parent = <&gic>;
18 #address-cells = <2>;
19 #size-cells = <2>;
31 #address-cells = <1>;
32 #size-cells = <0>;
38 /* DRAM space - 1, size : 2 GB DRAM */
[all …]
/kernel/linux/linux-6.6/arch/xtensa/variants/test_kc705_be/include/variant/
Dcore.h2 * xtensa/config/core-isa.h -- HAL definitions that are dependent on Xtensa
10 Copyright (c) 1999-2015 Tensilica Inc.
45 /*----------------------------------------------------------------------
47 ----------------------------------------------------------------------*/
49 #define XCHAL_HAVE_BE 1 /* big-endian byte ordering */
51 #define XCHAL_NUM_AREGS 32 /* num of physical addr regs */
55 #define XCHAL_HAVE_DENSITY 1 /* 16-bit instructions */
56 #define XCHAL_HAVE_LOOPS 1 /* zero-overhead loops */
57 #define XCHAL_LOOP_BUFFER_SIZE 0 /* zero-ov. loop instr buffer size */
68 #define XCHAL_HAVE_ABSOLUTE_LITERALS 0 /* non-PC-rel (extended) L32R */
[all …]
/kernel/linux/linux-5.10/arch/xtensa/variants/test_kc705_be/include/variant/
Dcore.h2 * xtensa/config/core-isa.h -- HAL definitions that are dependent on Xtensa
10 Copyright (c) 1999-2015 Tensilica Inc.
45 /*----------------------------------------------------------------------
47 ----------------------------------------------------------------------*/
49 #define XCHAL_HAVE_BE 1 /* big-endian byte ordering */
51 #define XCHAL_NUM_AREGS 32 /* num of physical addr regs */
55 #define XCHAL_HAVE_DENSITY 1 /* 16-bit instructions */
56 #define XCHAL_HAVE_LOOPS 1 /* zero-overhead loops */
57 #define XCHAL_LOOP_BUFFER_SIZE 0 /* zero-ov. loop instr buffer size */
68 #define XCHAL_HAVE_ABSOLUTE_LITERALS 0 /* non-PC-rel (extended) L32R */
[all …]
/kernel/linux/linux-6.6/drivers/net/ethernet/emulex/benet/
Dbe.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Copyright (C) 2005 - 2016 Broadcom
7 * linux-drivers@emulex.com
31 #include <linux/hwmon-sysfs.h>
60 /* Number of bytes of an RX frame that are copied to skb->data */
67 #define BE_MAX_MTU (BE_MAX_JUMBO_FRAME_SIZE - \
71 #define BE_MAX_GSO_SIZE (65535 - 2 * VLAN_HLEN)
105 #define RX_FRAGS_REFILL_WM (RX_Q_LEN - MAX_RX_POST)
111 #define CNTL_SERIAL_NUM_WORD_SZ (sizeof(u16)) /* Byte-sz of serial num word */
136 BUG_ON(limit & (limit - 1)); in MODULO()
[all …]

1234