|
@@ -88,6 +88,7 @@ struct i40e_vf {
|
|
struct i40e_virtchnl_ether_addr default_fcoe_addr;
|
|
struct i40e_virtchnl_ether_addr default_fcoe_addr;
|
|
u16 port_vlan_id;
|
|
u16 port_vlan_id;
|
|
bool pf_set_mac; /* The VMM admin set the VF MAC address */
|
|
bool pf_set_mac; /* The VMM admin set the VF MAC address */
|
|
|
|
+ bool trusted;
|
|
|
|
|
|
/* VSI indices - actual VSI pointers are maintained in the PF structure
|
|
/* VSI indices - actual VSI pointers are maintained in the PF structure
|
|
* When assigned, these will be non-zero, because VSI 0 is always
|
|
* When assigned, these will be non-zero, because VSI 0 is always
|
|
@@ -127,6 +128,7 @@ int i40e_ndo_set_vf_port_vlan(struct net_device *netdev,
|
|
int vf_id, u16 vlan_id, u8 qos);
|
|
int vf_id, u16 vlan_id, u8 qos);
|
|
int i40e_ndo_set_vf_bw(struct net_device *netdev, int vf_id, int min_tx_rate,
|
|
int i40e_ndo_set_vf_bw(struct net_device *netdev, int vf_id, int min_tx_rate,
|
|
int max_tx_rate);
|
|
int max_tx_rate);
|
|
|
|
+int i40e_ndo_set_vf_trust(struct net_device *netdev, int vf_id, bool setting);
|
|
int i40e_ndo_get_vf_config(struct net_device *netdev,
|
|
int i40e_ndo_get_vf_config(struct net_device *netdev,
|
|
int vf_id, struct ifla_vf_info *ivi);
|
|
int vf_id, struct ifla_vf_info *ivi);
|
|
int i40e_ndo_set_vf_link_state(struct net_device *netdev, int vf_id, int link);
|
|
int i40e_ndo_set_vf_link_state(struct net_device *netdev, int vf_id, int link);
|