IS_VF
if (IS_VF(sc)) {
if (IS_VF(sc)) {
if (IS_VF(sc)) {
if (IS_VF(sc)) {
#define IS_PF(sc) (!IS_VF(sc))
if (IS_VF(sc)) {
if (IS_VF(sc)) {
if (IS_VF(sc)) {
if (!(adap->flags & IS_VF) ||
if (adap->flags & IS_VF) {
if (adap->flags & IS_VF) {
if (adap->flags & IS_VF) {
if (adap->flags & IS_VF) {
if (adap->flags & IS_VF) {
if (!(adap->flags & IS_VF)) {
if (!(adap->flags & IS_VF)) {
if (adap->flags & IS_VF) {
if (!(adap->flags & IS_VF)) {
if (adapter->flags & IS_VF)
if (adapter->flags & IS_VF)
if (!(sc->flags & IS_VF))
if ((sc->flags & (IS_VF | FW_OK)) == FW_OK)
if ((sc->flags & (IS_VF | FW_OK)) == FW_OK)
if (sc->flags & IS_VF || t4_tx_vm_wr != 0)
if (vi->pi->nvi > 1 || sc->flags & IS_VF)
if (!(sc->flags & IS_VF)) {
if (vi->pi->nvi > 1 || sc->flags & IS_VF)
if (sc->flags & IS_VF)
if (!(sc->flags & IS_VF)) {
if (!(sc->flags & IS_VF)) {
if (sc->flags & IS_VF) {
if (!(sc->flags & IS_VF))
if (!(sc->flags & IS_VF))
if (sc->flags & IS_VF)
if (vi->adapter->flags & IS_VF) {
if (sc->flags & IS_VF)
MPASS(!(sc->flags & IS_VF));
if (!(sc->flags & IS_VF))
if (sc->flags & IS_VF)
if (sc->flags & IS_VF)
MPASS(!(sc->flags & IS_VF)); /* VFs don't allocate ctrlq. */
if (sc->flags & IS_VF && sc->vlan_id) {
if (chip_id(sc) >= CHELSIO_T5 && !(sc->flags & IS_VF) &&
if (sc->flags & IS_VF)
KASSERT(sc->sge.iq_base == 0 || sc->flags & IS_VF,
KASSERT(sc->sge.eq_base == 0 || sc->flags & IS_VF,
if (vi->flags & TX_USES_VM_WR && !(sc->flags & IS_VF))
MPASS(!(sc->flags & IS_VF));
if (sc->flags & IS_VF)
sc->flags |= IS_VF;
if (IS_VF(p_hwfn->p_dev))
if (IS_VF(p_hwfn->p_dev))
if (IS_VF(p_dev)) {
if (IS_VF(p_dev)) {
if (IS_VF(p_dev)) {
if (IS_VF(p_dev)) {
if (IS_VF(p_dev)) {
if (IS_VF(p_dev)) {
if (IS_VF(p_dev)) {
if (IS_VF(p_dev)) {
if (IS_VF(p_hwfn->p_dev))
if (IS_VF(p_dev))
if (IS_VF(p_dev))
if (IS_VF(p_dev))
if (IS_VF(p_dev)) {
if (IS_VF(p_hwfn->p_dev))
if (IS_VF(p_hwfn->p_dev))
if (IS_VF(p_hwfn->p_dev))
if (IS_VF(p_hwfn->p_dev)) {
if (IS_VF(p_hwfn->p_dev))
if (IS_VF(p_hwfn->p_dev) || !IS_PF_SRIOV(p_hwfn))
if (IS_VF(p_hwfn->p_dev))
if (IS_VF(p_hwfn->p_dev))
if (IS_VF(p_hwfn->p_dev))
if (IS_VF(p_dev)) {
if (IS_VF(p_dev)) {
if (IS_VF(p_hwfn->p_dev)) {
if (IS_VF(p_hwfn->p_dev)) {
if (IS_VF(p_hwfn->p_dev))
if (IS_VF(p_hwfn->p_dev)) {
if (IS_VF(p_hwfn->p_dev))
if (IS_VF(p_dev)) {
if (IS_VF(p_hwfn->p_dev))
if (IS_VF(p_hwfn->p_dev)) {
if (IS_VF(p_hwfn->p_dev))
if (IS_VF(p_hwfn->p_dev))
if (IS_VF(p_hwfn->p_dev))
if (IS_VF(p_hwfn->p_dev))
if (IS_VF(p_hwfn->p_dev))
if (IS_VF(p_hwfn->p_dev))
if (IS_VF(p_hwfn->p_dev))
if (IS_VF(p_hwfn->p_dev))
if (IS_VF(p_hwfn->p_dev) || !IS_ECORE_SRIOV(p_hwfn->p_dev) ||