summaryrefslogtreecommitdiff
path: root/include/linux/qed
diff options
context:
space:
mode:
authorYuval Mintz <Yuval.Mintz@qlogic.com>2016-05-11 16:36:23 +0300
committerDavid S. Miller <davem@davemloft.net>2016-05-12 00:04:08 -0400
commit6ddc7608258d57d61e16d55461400bb6eff18d72 (patch)
tree5ebc108155c81eac184dc2c22786158da93385fd /include/linux/qed
parent733def6a04bf3d2810dd675e1240f8df94d633c3 (diff)
downloadlwn-6ddc7608258d57d61e16d55461400bb6eff18d72.tar.gz
lwn-6ddc7608258d57d61e16d55461400bb6eff18d72.zip
qed*: IOV support spoof-checking
Add support in `ndo_set_vf_spoofchk' for allowing PF control over its VF spoof-checking configuration. 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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/qed/qed_iov_if.h b/include/linux/qed/qed_iov_if.h
index f364f2bd7a4d..2596d30d9e63 100644
--- a/include/linux/qed/qed_iov_if.h
+++ b/include/linux/qed/qed_iov_if.h
@@ -22,6 +22,8 @@ struct qed_iov_hv_ops {
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);
};