Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_devlink.c42 if (!BNXT_PF(bp)) { in bnxt_dl_flash_update()
860 if (BNXT_PF(bp) && (bp->flags & BNXT_FLAG_DSN_VALID)) { in bnxt_dl_info_get()
907 if (BNXT_PF(bp) && !bnxt_hwrm_get_nvm_cfg_ver(bp, &ver)) { in bnxt_dl_info_get()
1234 if (BNXT_PF(bp)) in bnxt_dl_register()
1255 if (!BNXT_PF(bp)) in bnxt_dl_register()
1289 if (BNXT_PF(bp)) { in bnxt_dl_unregister()
Dbnxt.h2228 #define BNXT_PF(bp) (!((bp)->flags & BNXT_FLAG_VF)) macro
2232 #define BNXT_SINGLE_PF(bp) (BNXT_PF(bp) && !BNXT_NPAR(bp) && !BNXT_MH(bp))
2233 #define BNXT_SH_PORT_CFG_OK(bp) (BNXT_PF(bp) && \
2447 (BNXT_PF(bp) && ((bp)->fw_cap & BNXT_FW_CAP_CFA_RFS_RING_TBL_IDX_V3))
2450 (BNXT_PF(bp) && BNXT_SUPPORTS_NTUPLE_VNIC(bp) && \
2453 (BNXT_PF(bp) && BNXT_SUPPORTS_NTUPLE_VNIC(bp) && \
2782 return BNXT_PF(bp) && (bp->pf.active_vfs || bp->sriov_cfg); in bnxt_sriov_cfg()
Dbnxt.c356 if (BNXT_PF(bp)) in bnxt_queue_fw_reset_work()
364 if (BNXT_PF(bp)) in __bnxt_queue_sp_work()
2630 if (BNXT_PF(bp)) in bnxt_async_event_process()
5393 if (BNXT_PF(bp)) { in bnxt_hwrm_func_drv_rgtr()
6884 if (BNXT_PF(bp)) { in bnxt_hwrm_set_async_event_cr()
7488 if (BNXT_PF(bp)) in bnxt_hwrm_reserve_rings()
7592 if ((bp->flags & BNXT_FLAG_CHIP_P5_PLUS) && BNXT_PF(bp) && in bnxt_need_reserve_rings()
7786 if (BNXT_PF(bp)) in bnxt_hwrm_check_rings()
8150 if (BNXT_PF(bp) && (flags & FUNC_QCFG_RESP_FLAGS_MULTI_HOST)) in bnxt_hwrm_func_qcfg()
8180 if (BNXT_PF(bp)) in bnxt_hwrm_func_qcfg()
[all …]
Dbnxt_ulp.c99 if (BNXT_PF(bp) && !bp->pf.port_id && in bnxt_set_dflt_ulp_stat_ctxs()
Dbnxt_ethtool.c973 if (BNXT_PF(bp)) { in bnxt_set_channels()
1003 if ((!rc) && BNXT_PF(bp)) { in bnxt_set_channels()
1502 if (BNXT_PF(bp) && vf > bp->pf.active_vfs) in bnxt_srxclsrlins()
2029 if (!BNXT_PF(bp)) in bnxt_get_regs_len()
3919 if (!BNXT_PF((struct bnxt *)netdev_priv(dev))) { in bnxt_flash_device()
4209 if (!BNXT_PF(bp)) { in bnxt_set_eeprom()
4839 if (!bp->num_tests || !BNXT_PF(bp)) in bnxt_self_test()
4939 if (!BNXT_PF(bp)) { in bnxt_reset()
5081 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.c124 req->fid = cpu_to_le16(BNXT_PF(bp) ? vf->fw_fid : 0xffff); in bnxt_hwrm_func_qcfg_flags()
135 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()