Lines Matching refs:vfidx
143 static int qede_set_vf_mac(struct net_device *ndev, int vfidx, u8 *mac) in qede_set_vf_mac() argument
147 DP_VERBOSE(edev, QED_MSG_IOV, "Setting MAC %pM to VF [%d]\n", mac, vfidx); in qede_set_vf_mac()
154 return edev->ops->iov->set_mac(edev->cdev, mac, vfidx); in qede_set_vf_mac()
446 static int qede_get_vf_config(struct net_device *dev, int vfidx, in qede_get_vf_config() argument
454 return edev->ops->iov->get_config(edev->cdev, vfidx, ivi); in qede_get_vf_config()
457 static int qede_set_vf_rate(struct net_device *dev, int vfidx, in qede_set_vf_rate() argument
462 return edev->ops->iov->set_rate(edev->cdev, vfidx, min_tx_rate, in qede_set_vf_rate()
466 static int qede_set_vf_spoofchk(struct net_device *dev, int vfidx, bool val) in qede_set_vf_spoofchk() argument
473 return edev->ops->iov->set_spoof(edev->cdev, vfidx, val); in qede_set_vf_spoofchk()
476 static int qede_set_vf_link_state(struct net_device *dev, int vfidx, in qede_set_vf_link_state() argument
484 return edev->ops->iov->set_link_state(edev->cdev, vfidx, link_state); in qede_set_vf_link_state()
487 static int qede_set_vf_trust(struct net_device *dev, int vfidx, bool setting) in qede_set_vf_trust() argument
494 return edev->ops->iov->set_trust(edev->cdev, vfidx, setting); in qede_set_vf_trust()