Home
last modified time | relevance | path

Searched refs:IS_PF (Results 1 – 8 of 8) sorted by relevance

/linux/drivers/net/ethernet/qlogic/qed/
H A Dqed_l2.c66 if (IS_PF(p_hwfn->cdev)) { in qed_l2_alloc()
176 if (IS_PF(p_hwfn->cdev) && !b_legacy_vf) in qed_eth_queue_cid_release()
315 if (IS_PF(p_hwfn->cdev) && !b_legacy_vf) { in qed_eth_queue_to_cid()
325 if (!p_cid && IS_PF(p_hwfn->cdev) && !b_legacy_vf) in qed_eth_queue_to_cid()
940 if (IS_PF(p_hwfn->cdev)) { in qed_eth_rx_queue_start()
1054 if (IS_PF(p_hwfn->cdev)) in qed_eth_rx_queue_stop()
1144 if (IS_PF(p_hwfn->cdev)) in qed_eth_tx_queue_start()
1187 if (IS_PF(p_hwfn->cdev)) in qed_eth_tx_queue_stop()
1601 if (IS_PF(p_hwfn->cdev)) { in __qed_get_vport_pstats_addrlen()
1650 if (IS_PF(p_hwfn->cdev)) { in __qed_get_vport_tstats()
[all …]
H A Dqed_sriov.h18 #define IS_PF(cdev) (!((cdev)->b_is_vf)) macro
22 #define IS_PF(cdev) (1) macro
H A Dqed_int.c1594 if (IS_PF(p_hwfn->cdev)) in qed_int_sb_setup()
1646 else if (IS_PF(p_hwfn->cdev)) in qed_get_igu_sb_id()
1672 if (IS_PF(p_hwfn->cdev)) { in qed_int_sb_init()
1692 if (IS_PF(p_hwfn->cdev)) { in qed_int_sb_init()
H A Dqed_dev.c3062 if (IS_PF(cdev)) { in qed_hw_init()
3089 if (IS_PF(cdev) && (test_bit(QED_MF_8021Q_TAGGING, in qed_hw_init()
3230 if (IS_PF(cdev)) { in qed_hw_init()
3422 if (IS_PF(cdev) && !cdev->recov_in_prog) { in qed_hw_stop()
4735 if (IS_PF(cdev)) in qed_hw_prepare()
4776 if (IS_PF(cdev)) { in qed_hw_prepare()
4793 if (IS_PF(cdev)) in qed_hw_remove()
H A Dqed_sriov.c5274 if (IS_PF(p_hwfn->cdev) && !IS_PF_SRIOV(p_hwfn)) in qed_iov_wq_start()
5287 if (IS_PF(cdev)) in qed_iov_wq_start()
/linux/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_cmn.c145 if (IS_PF(bp)) { in bnx2x_fill_fw_str()
1219 if (IS_PF(bp)) { in bnx2x_fill_report_data()
1286 if (IS_PF(bp) && !CHIP_IS_E1(bp)) in __bnx2x_link_report()
1308 if (IS_PF(bp)) in __bnx2x_link_report()
1636 if (IS_PF(bp)) { in bnx2x_free_msix_irqs()
1666 if (IS_PF(bp)) in bnx2x_free_irq()
1680 if (IS_PF(bp)) { in bnx2x_enable_msix()
1763 if (IS_PF(bp)) { in bnx2x_req_msix_irqs()
1794 if (IS_PF(bp)) { in bnx2x_req_msix_irqs()
2132 if (IS_PF(bp)) in bnx2x_rss()
[all …]
H A Dbnx2x_stats.c518 if (IS_PF(bp)) { in bnx2x_stats_start()
929 if (IS_PF(bp) && bnx2x_storm_stats_validate_counters(bp)) in bnx2x_storm_stats_update()
1224 if (IS_PF(bp)) { in bnx2x_stats_update()
H A Dbnx2x.h1496 #define IS_PF(bp) (!((bp)->flags & IS_VF_FLAG)) macro
1499 #define IS_PF(bp) true macro