aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/qed/qed_iov_if.h
diff options
context:
space:
mode:
authorYuval Mintz <Yuval.Mintz@qlogic.com>2016-05-11 16:36:24 +0300
committerDavid S. Miller <davem@davemloft.net>2016-05-12 00:04:08 -0400
commit73390ac9d82bf9f0c849ff57b06a03145fbf05d6 (patch)
treec72ce4f7f57fd862d4be7f5cf0ee5f6c50834ae2 /include/linux/qed/qed_iov_if.h
parentqed*: IOV support spoof-checking (diff)
downloadlinux-dev-73390ac9d82bf9f0c849ff57b06a03145fbf05d6.tar.xz
linux-dev-73390ac9d82bf9f0c849ff57b06a03145fbf05d6.zip
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 '')
-rw-r--r--include/linux/qed/qed_iov_if.h3
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 {
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);