Lines Matching +full:board +full:- +full:related
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 #define IS_VF(cdev) ((cdev)->b_is_vf)
18 #define IS_PF(cdev) (!((cdev)->b_is_vf))
19 #define IS_PF_SRIOV(p_hwfn) (!!((p_hwfn)->cdev->p_iov_info))
25 #define IS_PF_SRIOV_ALLOC(p_hwfn) (!!((p_hwfn)->pf_iov_info))
45 /* These copies will later be reflected in the bulletin board,
78 * and which queue_base to use for Tx queues on a per-queue basis.
86 * Initialized only if SR-IOV cpabability is exposed in PCIe config space.
91 u32 cap; /* SR-IOV Capabilities */
92 u16 ctrl; /* SR-IOV Control */
188 (p_vf)->abs_vf_id + MAX_NUM_VFS_BB : \
189 (p_vf)->abs_vf_id)
213 /* A bitfield using bulletin's valid-map bits, used to indicate
214 * which of the bulletin board features have been configured.
256 * if b_enabled_only = true - only enabled
265 * Return: bool - true for valid VF ID
286 * qed_iov_hw_info(): Read sriov related information and allocated resources
343 * qed_iov_alloc(): allocate sriov related resources
352 * qed_iov_setup(): setup sriov related resources
361 * qed_iov_free(): free sriov related resources
370 * qed_iov_free_hw_info(): free sriov related memory that was
380 * qed_iov_mark_vf_flr(): Mark structs of vfs that have been FLR-ed.