Home
last modified time | relevance | path

Searched refs:BNXT_PF (Results 1 – 7 of 7) sorted by relevance

/Linux-v6.6/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_devlink.c42 if (!BNXT_PF(bp)) { in bnxt_dl_flash_update()
895 if (BNXT_PF(bp) && (bp->flags & BNXT_FLAG_DSN_VALID)) { in bnxt_dl_info_get()
942 if (BNXT_PF(bp) && !bnxt_hwrm_get_nvm_cfg_ver(bp, &ver)) { in bnxt_dl_info_get()
1267 if (BNXT_PF(bp)) in bnxt_dl_register()
1288 if (!BNXT_PF(bp)) in bnxt_dl_register()
1322 if (BNXT_PF(bp)) { in bnxt_dl_unregister()
Dbnxt.c301 if (BNXT_PF(bp)) in bnxt_queue_fw_reset_work()
309 if (BNXT_PF(bp)) in __bnxt_queue_sp_work()
2231 if (BNXT_PF(bp)) in bnxt_async_event_process()
4724 if (BNXT_PF(bp)) { in bnxt_hwrm_func_drv_rgtr()
5810 if (BNXT_PF(bp)) { in bnxt_hwrm_set_async_event_cr()
5839 if (BNXT_PF(bp)) in bnxt_set_db()
6368 if (BNXT_PF(bp)) in bnxt_hwrm_reserve_rings()
6462 if ((bp->flags & BNXT_FLAG_CHIP_P5) && BNXT_PF(bp) && in bnxt_need_reserve_rings()
6613 if (BNXT_PF(bp)) in bnxt_hwrm_check_rings()
6961 if (BNXT_PF(bp) && (flags & FUNC_QCFG_RESP_FLAGS_MULTI_HOST)) in bnxt_hwrm_func_qcfg()
[all …]
Dbnxt.h1838 #define BNXT_PF(bp) (!((bp)->flags & BNXT_FLAG_VF)) macro
1842 #define BNXT_SINGLE_PF(bp) (BNXT_PF(bp) && !BNXT_NPAR(bp) && !BNXT_MH(bp))
1843 #define BNXT_SH_PORT_CFG_OK(bp) (BNXT_PF(bp) && \
2317 return BNXT_PF(bp) && (bp->pf.active_vfs || bp->sriov_cfg); in bnxt_sriov_cfg()
Dbnxt_ethtool.c953 if (BNXT_PF(bp)) { in bnxt_set_channels()
987 if ((!rc) && BNXT_PF(bp)) { in bnxt_set_channels()
1391 if (!BNXT_PF(bp)) in bnxt_get_regs_len()
2788 if (!BNXT_PF((struct bnxt *)netdev_priv(dev))) { in bnxt_flash_device()
3078 if (!BNXT_PF(bp)) { in bnxt_set_eeprom()
3707 if (!bp->num_tests || !BNXT_PF(bp)) in bnxt_self_test()
3807 if (!BNXT_PF(bp)) { in bnxt_reset()
3945 if (bp->hwrm_spec_code < 0x10704 || !BNXT_PF(bp)) in bnxt_ethtool_init()
Dbnxt_vfr.c190 if (cfa_code && bp->cfa_code_map && BNXT_PF(bp)) { in bnxt_get_vf_rep()
Dbnxt_sriov.c123 req->fid = cpu_to_le16(BNXT_PF(bp) ? vf->fw_fid : 0xffff); in bnxt_hwrm_func_qcfg_flags()
134 if (BNXT_PF(bp) && !(bp->fw_cap & BNXT_FW_CAP_TRUSTED_VF)) in bnxt_is_trusted_vf()
Dbnxt_dcb.c774 if (BNXT_PF(bp) && !(bp->fw_cap & BNXT_FW_CAP_LLDP_AGENT)) in bnxt_dcb_init()