Lines Matching full:interface

12 	struct fm10k_intfc *interface = hw->back;  in fm10k_iov_msg_error()  local
13 struct pci_dev *pdev = interface->pdev; in fm10k_iov_msg_error()
37 struct fm10k_intfc *interface = hw->back; in fm10k_iov_msg_queue_mac_vlan() local
45 /* we shouldn't be updating rules on a disabled interface */ in fm10k_iov_msg_queue_mac_vlan()
111 err = fm10k_queue_mac_request(interface, vf_info->glort, in fm10k_iov_msg_queue_mac_vlan()
137 err = fm10k_queue_mac_request(interface, vf_info->glort, in fm10k_iov_msg_queue_mac_vlan()
152 s32 fm10k_iov_event(struct fm10k_intfc *interface) in fm10k_iov_event() argument
154 struct fm10k_hw *hw = &interface->hw; in fm10k_iov_event()
160 if (!READ_ONCE(interface->iov_data)) in fm10k_iov_event()
165 iov_data = interface->iov_data; in fm10k_iov_event()
197 s32 fm10k_iov_mbx(struct fm10k_intfc *interface) in fm10k_iov_mbx() argument
199 struct fm10k_hw *hw = &interface->hw; in fm10k_iov_mbx()
204 if (!READ_ONCE(interface->iov_data)) in fm10k_iov_mbx()
209 iov_data = interface->iov_data; in fm10k_iov_mbx()
216 fm10k_mbx_lock(interface); in fm10k_iov_mbx()
237 fm10k_clear_macvlan_queue(interface, glort, false); in fm10k_iov_mbx()
250 interface->hw_sm_mbx_full++; in fm10k_iov_mbx()
253 fm10k_service_event_schedule(interface); in fm10k_iov_mbx()
274 fm10k_mbx_unlock(interface); in fm10k_iov_mbx()
284 struct fm10k_intfc *interface = pci_get_drvdata(pdev); in fm10k_iov_suspend() local
285 struct fm10k_iov_data *iov_data = interface->iov_data; in fm10k_iov_suspend()
286 struct fm10k_hw *hw = &interface->hw; in fm10k_iov_suspend()
302 fm10k_clear_macvlan_queue(interface, vf_info->glort, false); in fm10k_iov_suspend()
328 struct fm10k_intfc *interface = pci_get_drvdata(pdev); in fm10k_iov_resume() local
329 struct fm10k_iov_data *iov_data = interface->iov_data; in fm10k_iov_resume()
331 struct fm10k_hw *hw = &interface->hw; in fm10k_iov_resume()
383 s32 fm10k_iov_update_pvid(struct fm10k_intfc *interface, u16 glort, u16 pvid) in fm10k_iov_update_pvid() argument
385 struct fm10k_iov_data *iov_data = interface->iov_data; in fm10k_iov_update_pvid()
386 struct fm10k_hw *hw = &interface->hw; in fm10k_iov_update_pvid()
410 struct fm10k_intfc *interface = pci_get_drvdata(pdev); in fm10k_iov_free_data() local
412 if (!interface->iov_data) in fm10k_iov_free_data()
418 /* drop iov_data from interface */ in fm10k_iov_free_data()
419 kfree_rcu(interface->iov_data, rcu); in fm10k_iov_free_data()
420 interface->iov_data = NULL; in fm10k_iov_free_data()
425 struct fm10k_intfc *interface = pci_get_drvdata(pdev); in fm10k_iov_alloc_data() local
426 struct fm10k_iov_data *iov_data = interface->iov_data; in fm10k_iov_alloc_data()
427 struct fm10k_hw *hw = &interface->hw; in fm10k_iov_alloc_data()
471 /* assign iov_data to interface */ in fm10k_iov_alloc_data()
472 interface->iov_data = iov_data; in fm10k_iov_alloc_data()
525 * @interface: device private structure
531 void fm10k_iov_update_stats(struct fm10k_intfc *interface) in fm10k_iov_update_stats() argument
533 struct fm10k_iov_data *iov_data = interface->iov_data; in fm10k_iov_update_stats()
534 struct fm10k_hw *hw = &interface->hw; in fm10k_iov_update_stats()
544 static inline void fm10k_reset_vf_info(struct fm10k_intfc *interface, in fm10k_reset_vf_info() argument
547 struct fm10k_hw *hw = &interface->hw; in fm10k_reset_vf_info()
550 fm10k_mbx_lock(interface); in fm10k_reset_vf_info()
555 fm10k_clear_macvlan_queue(interface, vf_info->glort, false); in fm10k_reset_vf_info()
564 fm10k_mbx_unlock(interface); in fm10k_reset_vf_info()
569 struct fm10k_intfc *interface = netdev_priv(netdev); in fm10k_ndo_set_vf_mac() local
570 struct fm10k_iov_data *iov_data = interface->iov_data; in fm10k_ndo_set_vf_mac()
585 fm10k_reset_vf_info(interface, vf_info); in fm10k_ndo_set_vf_mac()
593 struct fm10k_intfc *interface = netdev_priv(netdev); in fm10k_ndo_set_vf_vlan() local
594 struct fm10k_iov_data *iov_data = interface->iov_data; in fm10k_ndo_set_vf_vlan()
595 struct fm10k_hw *hw = &interface->hw; in fm10k_ndo_set_vf_vlan()
622 fm10k_reset_vf_info(interface, vf_info); in fm10k_ndo_set_vf_vlan()
630 struct fm10k_intfc *interface = netdev_priv(netdev); in fm10k_ndo_set_vf_bw() local
631 struct fm10k_iov_data *iov_data = interface->iov_data; in fm10k_ndo_set_vf_bw()
632 struct fm10k_hw *hw = &interface->hw; in fm10k_ndo_set_vf_bw()
655 struct fm10k_intfc *interface = netdev_priv(netdev); in fm10k_ndo_get_vf_config() local
656 struct fm10k_iov_data *iov_data = interface->iov_data; in fm10k_ndo_get_vf_config()
678 struct fm10k_intfc *interface = netdev_priv(netdev); in fm10k_ndo_get_vf_stats() local
679 struct fm10k_iov_data *iov_data = interface->iov_data; in fm10k_ndo_get_vf_stats()
680 struct fm10k_hw *hw = &interface->hw; in fm10k_ndo_get_vf_stats()