Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qed/
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()
938 if (IS_PF(p_hwfn->cdev)) { in qed_eth_rx_queue_start()
1052 if (IS_PF(p_hwfn->cdev)) in qed_eth_rx_queue_stop()
1143 if (IS_PF(p_hwfn->cdev)) in qed_eth_tx_queue_start()
1186 if (IS_PF(p_hwfn->cdev)) in qed_eth_tx_queue_stop()
1600 if (IS_PF(p_hwfn->cdev)) { in __qed_get_vport_pstats_addrlen()
1649 if (IS_PF(p_hwfn->cdev)) { in __qed_get_vport_tstats()
[all …]
Dqed_main.c325 if (IS_PF(cdev) && !(pci_resource_flags(pdev, 2) & IORESOURCE_MEM)) { in qed_init_pci()
357 if (IS_PF(cdev) && !cdev->pci_params.pm_cap) in qed_init_pci()
378 if (IS_PF(cdev)) { in qed_init_pci()
441 if (IS_PF(cdev)) { in qed_fill_dev_info()
464 if (IS_PF(cdev)) { in qed_fill_dev_info()
624 if ((IS_PF(cdev) && rc > 0) || (IS_VF(cdev) && rc == cnt)) { in qed_enable_msix()
1281 if (IS_PF(cdev)) { in qed_slowpath_start()
1309 if (IS_PF(cdev)) in qed_slowpath_start()
1316 if (IS_PF(cdev)) { in qed_slowpath_start()
1361 if (IS_PF(cdev)) { in qed_slowpath_start()
[all …]
Dqed_sriov.h18 #define IS_PF(cdev) (!((cdev)->b_is_vf)) macro
22 #define IS_PF(cdev) (1) macro
Dqed_int.c1574 if (IS_PF(p_hwfn->cdev)) in qed_int_sb_setup()
1626 else if (IS_PF(p_hwfn->cdev)) in qed_get_igu_sb_id()
1652 if (IS_PF(p_hwfn->cdev)) { in qed_int_sb_init()
1672 if (IS_PF(p_hwfn->cdev)) { in qed_int_sb_init()
Dqed_dev.c2998 if (IS_PF(cdev)) { in qed_hw_init()
3022 if (IS_PF(cdev) && (test_bit(QED_MF_8021Q_TAGGING, in qed_hw_init()
3163 if (IS_PF(cdev)) { in qed_hw_init()
3355 if (IS_PF(cdev) && !cdev->recov_in_prog) { in qed_hw_stop()
4657 if (IS_PF(cdev)) in qed_hw_prepare()
4698 if (IS_PF(cdev)) { in qed_hw_prepare()
4715 if (IS_PF(cdev)) in qed_hw_remove()
Dqed_hw.c237 if (IS_PF(p_hwfn->cdev)) { in qed_memcpy_hw()
Dqed_sriov.c5243 if (IS_PF(p_hwfn->cdev) && !IS_PF_SRIOV(p_hwfn)) in qed_iov_wq_start()
5256 if (IS_PF(cdev)) in qed_iov_wq_start()
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_cmn.c146 if (IS_PF(bp)) { in bnx2x_fill_fw_str()
1207 if (IS_PF(bp)) { in bnx2x_fill_report_data()
1274 if (IS_PF(bp) && !CHIP_IS_E1(bp)) in __bnx2x_link_report()
1296 if (IS_PF(bp)) in __bnx2x_link_report()
1624 if (IS_PF(bp)) { in bnx2x_free_msix_irqs()
1654 if (IS_PF(bp)) in bnx2x_free_irq()
1668 if (IS_PF(bp)) { in bnx2x_enable_msix()
1751 if (IS_PF(bp)) { in bnx2x_req_msix_irqs()
1782 if (IS_PF(bp)) { in bnx2x_req_msix_irqs()
2121 if (IS_PF(bp)) in bnx2x_rss()
[all …]
Dbnx2x_main.c923 if (IS_PF(bp) && disable_int) in bnx2x_panic_dump()
934 if (IS_PF(bp)) { in bnx2x_panic_dump()
1095 if (IS_PF(bp)) { in bnx2x_panic_dump()
1189 if (IS_PF(bp)) { in bnx2x_panic_dump()
2690 if (IS_PF(bp)) { in bnx2x__link_status_update()
5793 if (IS_PF(bp) && in bnx2x_timer()
6538 if (IS_PF(bp)) { in bnx2x_pre_irq_nic_init()
8558 if (IS_PF(bp)) { in bnx2x_set_eth_mac()
8574 if (IS_PF(bp)) in bnx2x_setup_leading()
12353 if (IS_PF(bp)) { in bnx2x_init_bp()
[all …]
Dbnx2x_stats.c520 if (IS_PF(bp)) { in bnx2x_stats_start()
930 if (IS_PF(bp) && bnx2x_storm_stats_validate_counters(bp)) in bnx2x_storm_stats_update()
1225 if (IS_PF(bp)) { in bnx2x_stats_update()
Dbnx2x.h1497 #define IS_PF(bp) (!((bp)->flags & IS_VF_FLAG)) macro
1500 #define IS_PF(bp) true macro
Dbnx2x_ethtool.c1195 if (IS_PF(bp) && (level & BNX2X_MSG_MCP)) in bnx2x_set_msglevel()
3728 netdev->ethtool_ops = (IS_PF(bp)) ? in bnx2x_set_ethtool_ops()