Server IP : 15.235.198.142 / Your IP : 216.73.216.155 Web Server : Apache/2.4.58 (Ubuntu) System : Linux ballsack 6.8.0-45-generic #45-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 30 12:02:04 UTC 2024 x86_64 User : www-data ( 33) PHP Version : 8.3.6 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /usr/lib/modules/6.8.0-45-generic/build/include/linux/qed/ |
Upload File : |
/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) */ /* QLogic qed NIC Driver * Copyright (c) 2015-2017 QLogic Corporation * Copyright (c) 2019-2020 Marvell International Ltd. */ #ifndef _QED_IOV_IF_H #define _QED_IOV_IF_H #include <linux/qed/qed_if.h> /* Structs used by PF to control and manipulate child VFs */ struct qed_iov_hv_ops { int (*configure)(struct qed_dev *cdev, int num_vfs_param); int (*set_mac) (struct qed_dev *cdev, u8 *mac, int vfid); int (*set_vlan) (struct qed_dev *cdev, u16 vid, int vfid); int (*get_config) (struct qed_dev *cdev, int vf_id, struct ifla_vf_info *ivi); int (*set_link_state) (struct qed_dev *cdev, int vf_id, int link_state); int (*set_spoof) (struct qed_dev *cdev, int vfid, bool val); int (*set_rate) (struct qed_dev *cdev, int vfid, u32 min_rate, u32 max_rate); int (*set_trust) (struct qed_dev *cdev, int vfid, bool trust); }; #endif