qed*: Support forced MAC
Allows the PF to enforce the VF's mac. i.e., by using `ip link ... vf <x> mac <value>'. While a MAC is forced, PF would prevent the VF from configuring any other MAC. 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
08feecd7fc
commit
eff169608c
@@ -15,6 +15,8 @@
|
||||
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);
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user