Lines Matching refs:vfidx
137 static int qede_set_vf_mac(struct net_device *ndev, int vfidx, u8 *mac) in qede_set_vf_mac() argument
141 DP_VERBOSE(edev, QED_MSG_IOV, "Setting MAC %pM to VF [%d]\n", mac, vfidx); in qede_set_vf_mac()
148 return edev->ops->iov->set_mac(edev->cdev, mac, vfidx); in qede_set_vf_mac()
457 static int qede_get_vf_config(struct net_device *dev, int vfidx, in qede_get_vf_config() argument
465 return edev->ops->iov->get_config(edev->cdev, vfidx, ivi); in qede_get_vf_config()
468 static int qede_set_vf_rate(struct net_device *dev, int vfidx, in qede_set_vf_rate() argument
473 return edev->ops->iov->set_rate(edev->cdev, vfidx, min_tx_rate, in qede_set_vf_rate()
477 static int qede_set_vf_spoofchk(struct net_device *dev, int vfidx, bool val) in qede_set_vf_spoofchk() argument
484 return edev->ops->iov->set_spoof(edev->cdev, vfidx, val); in qede_set_vf_spoofchk()
487 static int qede_set_vf_link_state(struct net_device *dev, int vfidx, in qede_set_vf_link_state() argument
495 return edev->ops->iov->set_link_state(edev->cdev, vfidx, link_state); in qede_set_vf_link_state()
498 static int qede_set_vf_trust(struct net_device *dev, int vfidx, bool setting) in qede_set_vf_trust() argument
505 return edev->ops->iov->set_trust(edev->cdev, vfidx, setting); in qede_set_vf_trust()