diff options
| author | Yuval Mintz <Yuval.Mintz@qlogic.com> | 2016-05-11 09:36:24 -0400 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2016-05-12 00:04:08 -0400 |
| commit | 73390ac9d82bf9f0c849ff57b06a03145fbf05d6 (patch) | |
| tree | c72ce4f7f57fd862d4be7f5cf0ee5f6c50834ae2 /include/linux/qed | |
| parent | 6ddc7608258d57d61e16d55461400bb6eff18d72 (diff) | |
qed*: support ndo_get_vf_config
Allows the user to view the VF configuration by observing the PF's
device.
Signed-off-by: Yuval Mintz <Yuval.Mintz@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/qed')
| -rw-r--r-- | include/linux/qed/qed_iov_if.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/qed/qed_iov_if.h b/include/linux/qed/qed_iov_if.h index 2596d30d9e63..5a4f8d0899e9 100644 --- a/include/linux/qed/qed_iov_if.h +++ b/include/linux/qed/qed_iov_if.h | |||
| @@ -19,6 +19,9 @@ struct qed_iov_hv_ops { | |||
| 19 | 19 | ||
| 20 | int (*set_vlan) (struct qed_dev *cdev, u16 vid, int vfid); | 20 | int (*set_vlan) (struct qed_dev *cdev, u16 vid, int vfid); |
| 21 | 21 | ||
| 22 | int (*get_config) (struct qed_dev *cdev, int vf_id, | ||
| 23 | struct ifla_vf_info *ivi); | ||
| 24 | |||
| 22 | int (*set_link_state) (struct qed_dev *cdev, int vf_id, | 25 | int (*set_link_state) (struct qed_dev *cdev, int vf_id, |
| 23 | int link_state); | 26 | int link_state); |
| 24 | 27 | ||
