qed*: IOV link control
This adds support in 2 ndo that allow PF to tweak the VF's view of the link - `ndo_set_vf_link_state' to allow it a view independent of the PF's, and `ndo_set_vf_rate' which would allow the PF to limit the VF speed. Signed-off-by: Yuval Mintz <Yuval.Mintz@qlogic.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
eff169608c
commit
733def6a04
@@ -18,6 +18,12 @@ struct qed_iov_hv_ops {
|
||||
int (*set_mac) (struct qed_dev *cdev, u8 *mac, int vfid);
|
||||
|
||||
int (*set_vlan) (struct qed_dev *cdev, u16 vid, int vfid);
|
||||
|
||||
int (*set_link_state) (struct qed_dev *cdev, int vf_id,
|
||||
int link_state);
|
||||
|
||||
int (*set_rate) (struct qed_dev *cdev, int vfid,
|
||||
u32 min_rate, u32 max_rate);
|
||||
};
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user