/openbmc/linux/drivers/net/ethernet/qlogic/qed/ |
H A D | qed_dev_api.h | 1 /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) */ 2 /* QLogic qed NIC Driver 3 * Copyright (c) 2015-2017 QLogic Corporation 4 * Copyright (c) 2019-2020 Marvell International Ltd. 13 #include <linux/qed/qed_chain.h> 14 #include <linux/qed/qed_if.h> 20 * @cdev: Qed dev pointer. 34 * @cdev: Qed dev pointer. 43 * @cdev: Qed dev pointer. 52 * @cdev: Qed dev pointer. [all …]
|
H A D | qed_int.h | 1 /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) */ 2 /* QLogic qed NIC Driver 3 * Copyright (c) 2015-2017 QLogic Corporation 4 * Copyright (c) 2019-2020 Marvell International Ltd. 12 #include "qed.h" 69 * qed_int_igu_disable_int(): Disable device interrupts. 169 * @cdev: Qed dev pointer. 180 * @cdev: Qed dev pointer. 262 * qed_get_igu_sb_id(): Translate the weakly-defined client sb-id into 263 * an IGU sb-id [all …]
|
H A D | qed_l2.h | 1 /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) */ 2 /* QLogic qed NIC Driver 3 * Copyright (c) 2015-2017 QLogic Corporation 4 * Copyright (c) 2019-2020 Marvell International Ltd. 13 #include <linux/qed/qed_eth_if.h> 14 #include "qed.h" 240 * Note At the moment - only used by non-linux VFs. 256 * @cdev: Qed dev pointer. 267 * @cdev: Qed dev pointer. 269 * @is_atomic: Hint from the caller - if the func can sleep or not. [all …]
|
H A D | qed_ptp.c | 1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) 2 /* QLogic qed NIC Driver 3 * Copyright (c) 2015-2017 QLogic Corporation 4 * Copyright (c) 2019-2020 Marvell International Ltd. 8 #include "qed.h" 50 return -EINVAL; in qed_ptp_res_lock() 55 if (rc && rc != -EINVAL) { in qed_ptp_res_lock() 57 } else if (rc == -EINVAL) { in qed_ptp_res_lock() 61 if (p_hwfn->abs_pf_id < p_hwfn->cdev->num_ports_in_engine) in qed_ptp_res_lock() 65 return -EBUSY; in qed_ptp_res_lock() [all …]
|
H A D | qed_roce.c | 1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) 2 /* QLogic qed NIC Driver 3 * Copyright (c) 2015-2017 QLogic Corporation 4 * Copyright (c) 2019-2020 Marvell International Ltd. 11 #include <linux/dma-mapping.h> 23 #include "qed.h" 33 #include <linux/qed/qed_rdma_if.h> 44 struct qed_rdma_events events = p_hwfn->p_rdma_info->events; in qed_roce_async_event() 45 union rdma_eqe_data *rdata = &data->rdma_data; in qed_roce_async_event() 48 u16 icid = (u16)le32_to_cpu(rdata->rdma_destroy_qp_data.cid); in qed_roce_async_event() [all …]
|
H A D | qed_mcp.h | 1 /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) */ 2 /* QLogic qed NIC Driver 3 * Copyright (c) 2015-2017 QLogic Corporation 4 * Copyright (c) 2019-2020 Marvell International Ltd. 14 #include <linux/qed/qed_fcoe_if.h> 158 u8 name[MCP_DRV_VER_STR_SIZE - 4]; 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 [all …]
|
H A D | qed.h | 1 /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) */ 2 /* QLogic qed NIC Driver 3 * Copyright (c) 2015-2017 QLogic Corporation 4 * Copyright (c) 2019-2020 Marvell International Ltd. 23 #include <linux/qed/qed_if.h> 94 ((sizeof(type_name) + (u32)(1 << ((p_hwfn)->cdev->cache_shift)) - 1) & \ 95 ~((1 << (p_hwfn->cdev->cache_shift)) - 1)) 97 #define for_each_hwfn(cdev, i) for (i = 0; i < (cdev)->num_hwfns; i++) 268 ((dev)->hw_info.personality == QED_PCI_ETH_ROCE || \ 269 (dev)->hw_info.personality == QED_PCI_ETH_IWARP || \ [all …]
|
H A D | qed_rdma.c | 1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) 2 /* QLogic qed NIC Driver 3 * Copyright (c) 2015-2017 QLogic Corporation 4 * Copyright (c) 2019-2020 Marvell International Ltd. 11 #include <linux/dma-mapping.h> 23 #include "qed.h" 33 #include <linux/qed/qed_rdma_if.h> 43 bmap->max_count = max_count; in qed_rdma_bmap_alloc() 45 bmap->bitmap = bitmap_zalloc(max_count, GFP_KERNEL); in qed_rdma_bmap_alloc() 46 if (!bmap->bitmap) in qed_rdma_bmap_alloc() [all …]
|
H A D | qed_main.c | 1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) 2 /* QLogic qed NIC Driver 3 * Copyright (c) 2015-2017 QLogic Corporation 4 * Copyright (c) 2019-2020 Marvell International Ltd. 13 #include <linux/dma-mapping.h> 23 #include <linux/qed/qed_if.h> 24 #include <linux/qed/qed_ll2_if.h> 28 #include "qed.h" 51 "QLogic FastLinQ 4xxxx Core Module qed\n"; 63 "qed/qed_init_values_zipped-" FW_FILE_VERSION ".bin" [all …]
|
H A D | qed_l2.c | 1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) 2 /* QLogic qed NIC Driver 3 * Copyright (c) 2015-2017 QLogic Corporation 4 * Copyright (c) 2019-2020 Marvell International Ltd. 11 #include <linux/dma-mapping.h> 24 #include "qed.h" 25 #include <linux/qed/qed_chain.h> 29 #include <linux/qed/qed_eth_if.h> 63 return -ENOMEM; in qed_l2_alloc() 64 p_hwfn->p_l2_info = p_l2_info; in qed_l2_alloc() [all …]
|
H A D | qed_hsi.h | 1 /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) */ 2 /* QLogic qed NIC Driver 3 * Copyright (c) 2015-2017 QLogic Corporation 4 * Copyright (c) 2019-2021 Marvell International Ltd. 17 #include <linux/qed/common_hsi.h> 18 #include <linux/qed/storage_common.h> 19 #include <linux/qed/tcp_common.h> 20 #include <linux/qed/fcoe_common.h> 21 #include <linux/qed/eth_common.h> 22 #include <linux/qed/iscsi_common.h> [all …]
|
H A D | qed_init_fw_funcs.c | 1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) 2 /* QLogic qed NIC Driver 3 * Copyright (c) 2015-2017 QLogic Corporation 4 * Copyright (c) 2019-2021 Marvell International Ltd. 36 0x100) - 1 : 0) 53 #define VOQS_BIT_MASK (BIT(MAX_NUM_VOQS) - 1) 79 #define QM_VP_WFQ_BYPASS_THRESH (QM_VP_WFQ_MIN_INC_VAL - 100) 98 /* RL increment value - rate is specified in mbps */ 133 (ext_voq) * (PBF_REG_YCMD_QS_NUM_LINES_VOQ1_RT_OFFSET - \ 138 (ext_voq) * (PBF_REG_BTB_GUARANTEED_VOQ1_RT_OFFSET - \ [all …]
|
H A D | qed_dcbx.c | 1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) 2 /* QLogic qed NIC Driver 3 * Copyright (c) 2015-2017 QLogic Corporation 4 * Copyright (c) 2019-2020 Marvell International Ltd. 15 #include "qed.h" 23 #include <linux/qed/qed_eth_if.h> 39 ((u32)(prio_tc_tbl >> ((7 - prio) * 4)) & 0x7) 152 p_data->dcbx_enabled); in qed_dcbx_dp_protocol() 159 qed_dcbx_app_update[i].name, p_data->arr[id].update, in qed_dcbx_dp_protocol() 160 p_data->arr[id].enable, p_data->arr[id].priority, in qed_dcbx_dp_protocol() [all …]
|
/openbmc/linux/include/linux/qed/ |
H A D | qed_if.h | 1 /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) */ 2 /* QLogic qed NIC Driver 3 * Copyright (c) 2015-2017 QLogic Corporation 4 * Copyright (c) 2019-2020 Marvell International Ltd. 22 #include <linux/qed/common_hsi.h> 23 #include <linux/qed/qed_chain.h> 24 #include <linux/io-64-nonatomic-lo-hi.h> 457 /* The following parameters are used during HW-init 463 /* per-VF number of CIDs */ 467 /* To enable arfs, previous to HW-init a positive number needs to be [all …]
|
H A D | qed_eth_if.h | 1 /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) */ 2 /* QLogic qed NIC Driver 3 * Copyright (c) 2015-2017 QLogic Corporation 4 * Copyright (c) 2019-2020 Marvell International Ltd. 12 #include <linux/qed/eth_common.h> 13 #include <linux/qed/qed_if.h> 14 #include <linux/qed/qed_iov_if.h> 16 /* 64 max queues * (1 rx + 4 tx-cos + 1 xdp) */ 61 /* Relative queue-id to receive classified packet */ 62 #define QED_RFS_NTUPLE_QID_RSS ((u16)-1) [all …]
|
/openbmc/qemu/scripts/ |
H A D | meson-buildoptions.sh | 1 # This file is generated by meson-buildoptions.py, do not edit! 3 printf "%s\n" ' --audio-drv-list=CHOICES Set audio driver list [default] (choices: alsa/co' 6 printf "%s\n" ' --bindir=VALUE Executable directory [bin]' 7 printf "%s\n" ' --block-drv-ro-whitelist=VALUE' 8 printf "%s\n" ' set block driver read-only whitelist (by default' 9 printf "%s\n" ' affects only QEMU, not tools like qemu-img)' 10 printf "%s\n" ' --block-drv-rw-whitelist=VALUE' 11 printf "%s\n" ' set block driver read-write whitelist (by default' 12 printf "%s\n" ' affects only QEMU, not tools like qemu-img)' 13 printf "%s\n" ' --datadir=VALUE Data file directory [share]' [all …]
|
/openbmc/qemu/tests/qemu-iotests/ |
H A D | linters.py | 33 'nbd-fault-injector.py', 'qcow2.py', 'qcow2_format.py', 'qed.py' 44 with open(filename, encoding='utf-8') as f: 52 def get_test_files() -> List[str]: 54 check_tests = set(os.listdir('.') + named_tests) - set(SKIP_FILES) 63 ) -> None: 65 Run a python-based linting tool. 71 (sys.executable, '-m', tool, *args), 80 def main() -> None: 84 def show_usage() -> None: 85 print(f"Usage: {sys.argv[0]} < --mypy | --pylint >", file=sys.stderr) [all …]
|
/openbmc/qemu/ |
H A D | meson_options.txt | 1 # These options do not correspond to a --enable/--disable-* option 3 # scripts/meson-buildoptions.py's SKIP_OPTIONS constant too. 9 option('qemu_firmwarepath', type : 'array', value : ['share/qemu-firmware'], 12 description: 'use specified string as sub-version of the package') 25 …description: 'set block driver read-write whitelist (by default affects only QEMU, not tools like … 27 …description: 'set block driver read-only whitelist (by default affects only QEMU, not tools like q… 28 option('interp_prefix', type : 'string', value : '/usr/gnemul/qemu-%M', 33 description: 'fuzzing engine library for OSS-Fuzz') 40 # Everything else can be set via --enable/--disable-* option 42 # here make sure to run "make update-buildoptions". [all …]
|
/openbmc/linux/drivers/scsi/qedf/ |
H A D | qedf_main.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * Copyright (c) 2016-2018 Cavium Inc. 59 static int qedf_default_prio = -1; 91 MODULE_PARM_DESC(retry_delay, " Enable/disable handling of FCP_RSP IU retry " 102 "qed module during probe."); 106 MODULE_PARM_DESC(dp_level, " printk verbosity control passed to qed module " 107 "during probe (0-3: 0 more verbose)."); 112 MODULE_PARM_DESC(enable_recovery, "Enable/disable recovery on driver/firmware " 126 vlan_id_tmp = vlan_id | (qedf->prio << VLAN_PRIO_SHIFT); in qedf_set_vlan_id() 127 qedf->vlan_id = vlan_id_tmp; in qedf_set_vlan_id() [all …]
|
/openbmc/qemu/docs/system/ |
H A D | qemu-block-drivers.rst.inc | 5 any of the tools (like ``qemu-img``). This includes the preferred formats 10 ``qemu-img create`` and ``qemu-img convert`` using the ``-o`` option. 13 .. program:: image-formats 20 space. Use ``qemu-img info`` to know the real size used by the 21 image or ``ls -ls`` on Unix/Linux. 34 .. program:: image-formats 51 zero clusters, which allow efficient copy-on-read for sparse images. 69 use to unlock the LUKS key slot is given by the ``encrypt.key-secret`` 73 If this is set to ``aes``, the image is encrypted with 128-bit AES-CBC. 74 The encryption key is given by the ``encrypt.key-secret`` parameter. [all …]
|
/openbmc/linux/drivers/net/ethernet/qlogic/qede/ |
H A D | qede_ptp.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. 22 * and, also for serializing the qed PTP API invocations. 31 * qede_ptp_adjfine() - Adjust the frequency of the PTP cycle counter. 36 * Scaled parts per million is ppm with a 16-bit binary fractional field. 44 struct qede_dev *edev = ptp->edev; in qede_ptp_adjfine() 48 if (edev->state == QEDE_STATE_OPEN) { in qede_ptp_adjfine() 49 spin_lock_bh(&ptp->lock); in qede_ptp_adjfine() 50 rc = ptp->ops->adjfreq(edev->cdev, ppb); in qede_ptp_adjfine() [all …]
|
H A D | qede_main.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. 17 #include <linux/dma-mapping.h> 125 return -EINVAL; in qede_set_vf_vlan() 129 return -EPROTONOSUPPORT; in qede_set_vf_vlan() 134 return edev->ops->iov->set_vlan(edev->cdev, vlan, vf); in qede_set_vf_vlan() 145 return -EINVAL; in qede_set_vf_mac() 148 return edev->ops->iov->set_mac(edev->cdev, mac, vfidx); in qede_set_vf_mac() 154 struct qed_dev_info *qed_info = &edev->dev_info.common; in qede_sriov_configure() [all …]
|
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. 13 #include <linux/qed/qed_if.h> 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() [all …]
|
/openbmc/qemu/docs/tools/ |
H A D | qemu-img.rst | 6 -------- 8 **qemu-img** [*standard options*] *command* [*command options*] 11 ----------- 13 qemu-img allows you to create, convert and modify images offline. It can handle 16 **Warning:** Never use qemu-img to modify images in use by a running virtual 22 ------- 24 .. program:: qemu-img 28 .. option:: -h, --help 32 .. option:: -V, --version 36 .. option:: -T, --trace [[enable=]PATTERN][,events=FILE][,file=FILE] [all …]
|
/openbmc/linux/arch/mips/mm/ |
H A D | c-r4k.c | 22 #include <linux/dma-map-ops.h> /* for dma_default_coherent */ 29 #include <asm/cpu-features.h> 30 #include <asm/cpu-type.h> 38 #include <asm/mips-cps.h> 43 * R4K_HIT - Virtual user or kernel address based cache operations. The 46 * R4K_INDEX - Index based cache operations. 53 * r4k_op_needs_ipi() - Decide if a cache op needs to be done on every core. 68 /* The MIPS Coherence Manager (CM) globalizes address-based cache ops */ in r4k_op_needs_ipi() 74 * be needed, but only if there are foreign CPUs (non-siblings with in r4k_op_needs_ipi() 92 * o doesn't disable interrupts on the local CPU [all …]
|