Server IP : 104.21.38.3 / Your IP : 162.158.189.190 Web Server : Apache System : Linux krdc-ubuntu-s-2vcpu-4gb-amd-blr1-01.localdomain 5.15.0-142-generic #152-Ubuntu SMP Mon May 19 10:54:31 UTC 2025 x86_64 User : www ( 1000) PHP Version : 7.4.33 Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /usr/src/linux-headers-5.15.0-143/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