/openbmc/openbmc/meta-google/recipes-google/networking/files/ |
H A D | gbmc-mac-config.sh.in | 8 # http://www.apache.org/licenses/LICENSE-2.0 16 # shellcheck source=meta-google/recipes-google/ipmi/ipmi-fru-sh/lib.sh 17 source /usr/share/ipmi-fru/lib.sh || exit 34 # 3-8 MAC Address Base Octets 35 # 9 Num Allocate MACs from Base 36 # 10-30 Padding (Always 0xFF) 45 num="${internal[9]}" 47 echo "Base MAC $macstr num $num" >&2 51 # Pre-Determine if we will miss an allocation due to the number of 54 declare -A num_to_intfs=(@NUM_TO_INTFS@) [all …]
|
/openbmc/linux/drivers/net/ethernet/pasemi/ |
H A D | pasemi_mac.h | 1 /* 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 …]
|
/openbmc/linux/Documentation/devicetree/bindings/nvmem/layouts/ |
H A D | onie,tlv-layout.yaml | 1 # 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 …]
|
/openbmc/linux/drivers/infiniband/ulp/opa_vnic/ |
H A D | opa_vnic_encap.h | 26 * - 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 …]
|
/openbmc/linux/drivers/net/ethernet/broadcom/bnx2x/ |
H A D | bnx2x_sp.h | 3 * 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 …]
|
H A D | bnx2x_sp.c | 3 * 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 …]
|
H A D | bnx2x_sriov.c | 3 * 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 …]
|
H A D | bnx2x.h | 3 * Copyright (c) 2007-2013 Broadcom Corporation 21 #include <linux/dma-mapping.h> 37 * to break this driver due to amount of abuse of in-kernel interfaces 42 #define DRV_MODULE_VERSION "1.713.36-0" 53 #define BNX2X_MIN_MSIX_VEC_CNT(bp) ((bp)->min_msix_vec_cnt) 94 bp->dev ? (bp->dev->name) : "?", \ 99 if (unlikely(bp->msg_enable & (__mask))) \ 105 if (unlikely((bp->msg_enable & (__mask)) == __mask)) \ 111 if (unlikely(bp->msg_enable & (__mask))) \ 121 bp->dev ? (bp->dev->name) : "?", \ [all …]
|
/openbmc/linux/drivers/nvmem/layouts/ |
H A D | onie-tlv.c | 1 // 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 …]
|
/openbmc/qemu/docs/system/arm/ |
H A D | xlnx-versal-virt.rst | 1 Xilinx Versal Virt (``xlnx-versal-virt``) 4 Xilinx Versal is a family of heterogeneous multi-core SoCs 10 https://www.xilinx.com/products/silicon-devices/acap/versal.html 22 - 2 ACPUs (ARM Cortex-A72) 26 - Interrupt controller (ARM GICv3) 27 - 2 UARTs (ARM PL011) 28 - An RTC (Versal built-in) 29 - 2 GEMs (Cadence MACB Ethernet MACs) 30 - 8 ADMA (Xilinx zDMA) channels 31 - 2 SD Controllers [all …]
|
/openbmc/linux/Documentation/networking/ |
H A D | pktgen.rst | 1 .. 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 …]
|
/openbmc/linux/drivers/net/wireless/ath/ath11k/ |
H A D | core.h | 1 /* 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 …]
|
/openbmc/linux/drivers/net/ethernet/brocade/bna/ |
H A D | bna_enet.c | 1 // 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 …]
|
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/fw/api/ |
H A D | mac.h | 1 /* 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 …]
|
/openbmc/linux/drivers/net/ethernet/qlogic/qed/ |
H A D | qed_sriov.c | 1 // 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 …]
|
H A D | qed_mcp.h | 1 /* 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. 158 u8 name[MCP_DRV_VER_STR_SIZE - 4]; 243 /* First entry for primary MAC, 2 secondary MACs possible */ 321 * Return: Int - 0 - operation was successful. 334 * Return: Int - 0 - operation was successful. 346 * Return: Int - 0 - Operation was successul. 347 * -EBUSY - Operation failed 360 * Return: Int - 0 - Operation was successul. [all …]
|
/openbmc/qemu/target/xtensa/core-test_kc705_be/ |
H A D | core-isa.h | 2 * xtensa/config/core-isa.h -- HAL definitions that are dependent on Xtensa 10 Copyright (c) 1999-2015 Tensilica Inc. 44 /*---------------------------------------------------------------------- 46 ----------------------------------------------------------------------*/ 48 #define XCHAL_HAVE_BE 1 /* big-endian byte ordering */ 50 #define XCHAL_NUM_AREGS 32 /* num of physical addr regs */ 54 #define XCHAL_HAVE_DENSITY 1 /* 16-bit instructions */ 55 #define XCHAL_HAVE_LOOPS 1 /* zero-overhead loops */ 56 #define XCHAL_LOOP_BUFFER_SIZE 0 /* zero-ov. loop instr buffer size */ 67 #define XCHAL_HAVE_ABSOLUTE_LITERALS 0 /* non-PC-rel (extended) L32R */ [all …]
|
/openbmc/linux/arch/xtensa/variants/test_kc705_be/include/variant/ |
H A D | core.h | 2 * 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 …]
|
/openbmc/linux/drivers/net/ethernet/emulex/benet/ |
H A D | be.h | 1 /* 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 …]
|
/openbmc/linux/drivers/net/ethernet/qlogic/qede/ |
H A D | qede_filter.c | 1 // 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. 73 #define QEDE_ARFS_BUCKET_HEAD(edev, idx) (&(edev)->arfs->arfs_hl_head[idx]) 76 #define QEDE_RFS_FLW_MASK ((1 << QEDE_RFS_FLW_BITSHIFT) - 1) 92 const struct qed_eth_ops *op = edev->ops; in qede_configure_arfs_fltr() 95 if (n->used) in qede_configure_arfs_fltr() 100 params.addr = n->mapping; in qede_configure_arfs_fltr() 101 params.length = n->buf_len; in qede_configure_arfs_fltr() 104 params.b_is_drop = n->b_is_drop; in qede_configure_arfs_fltr() [all …]
|
/openbmc/qemu/net/ |
H A D | vhost-vdpa.c | 2 * vhost-vdpa.c 4 * Copyright(c) 2017-2018 Intel Corporation. 8 * See the COPYING file in the top-level directory. 14 #include "hw/virtio/virtio-net.h" 16 #include "net/vhost-vdpa.h" 17 #include "hw/virtio/vhost-vdpa.h" 18 #include "qemu/config-file.h" 19 #include "qemu/error-report.h" 27 #include "standard-headers/linux/virtio_net.h" 138 assert(nc->info->type == NET_CLIENT_DRIVER_VHOST_VDPA); in vhost_vdpa_get_vhost_net() [all …]
|
/openbmc/linux/drivers/net/ethernet/agere/ |
H A D | et131x.c | 2 * 10/100/1000 Base-T Ethernet Driver for the ET1301 and ET131x series MACs 10 *------------------------------------------------------------------------------ 87 MODULE_DESCRIPTION("10/100/1000 Base-T Ethernet Driver for the ET1310 by Agere Systems"); 106 * In both cases, when flow control is enabled for either Tx or bi-direction, 156 #define ET131X_PCI_DEVICE_ID_GIG 0xED00 /* ET1310 1000 Base-T 8 */ 157 #define ET131X_PCI_DEVICE_ID_FAST 0xED01 /* ET1310 100 Base-T */ 173 /* number of RFDs - default and min */ 189 u32 word2; /* Bits 10-31 reserved, 0-9 descriptor */ 197 * PE-MCXMAC Data Sheet IPD DS54 0210-1 (also IPD-DS80 0205-2) 210 * 11-15: unused [all …]
|
/openbmc/linux/arch/arm64/boot/dts/freescale/ |
H A D | fsl-ls208xa.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * Device Tree Include file for Freescale Layerscape-2080A family SoC. 6 * Copyright 2017-2020 NXP 12 #include <dt-bindings/clock/fsl,qoriq-clockgen.h> 13 #include <dt-bindings/thermal/thermal.h> 14 #include <dt-bindings/interrupt-controller/arm-gic.h> 18 interrupt-parent = <&gic>; 19 #address-cells = <2>; 20 #size-cells = <2>; 32 #address-cells = <1>; [all …]
|
/openbmc/linux/drivers/net/wireless/ath/ath5k/ |
H A D | ath5k.h | 2 * Copyright (c) 2004-2007 Reyk Floeter <reyk@openbsd.org> 3 * Copyright (c) 2006-2007 Nick Kossifidis <mickflemm@gmail.com> 62 #define PCI_DEVICE_ID_ATHEROS_AR5312_REV7 0x0057 /* AR5312 WMAC (AP30-040) */ 63 #define PCI_DEVICE_ID_ATHEROS_AR5312_REV8 0x0058 /* AR5312 WMAC (AP43-030) */ 70 #define PCI_DEVICE_ID_ATHEROS_AR2413 0x001a /* AR2413 (Griffin-lite) */ 72 #define PCI_DEVICE_ID_ATHEROS_AR5424 0x001c /* AR5424 (Condor PCI-E) */ 189 #define AR5K_TUNE_NOISE_FLOOR -72 190 #define AR5K_TUNE_CCA_MAX_GOOD_VALUE -95 274 * enum ath5k_version - MAC Chips 286 * enum ath5k_radio - PHY Chips [all …]
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx4/ |
H A D | mlx4.h | 18 * - Redistributions of source code must retain the above 22 * - Redistributions in binary form must reproduce the above 41 #include <linux/radix-tree.h> 60 #define DRV_VERSION "4.0-0" 88 MLX4_MAX_QP_PER_MGM = 4 * ((1 << MLX4_MAX_MGM_LOG_ENTRY_SIZE) / 16 - 2), 223 &(mdev)->persist->pdev->dev, format, \ 228 dev_err(&(mdev)->persist->pdev->dev, format, ##__VA_ARGS__) 230 dev_info(&(mdev)->persist->pdev->dev, format, ##__VA_ARGS__) 232 dev_warn(&(mdev)->persist->pdev->dev, format, ##__VA_ARGS__) 295 #define MLX4_EQ_TO_CQ_VECTOR(vector) ((vector) - \ [all …]
|