mlx5_core_dbg
mlx5_core_dbg(dev, "writing 0x%x to command doorbell\n", 1 << ent->idx);
mlx5_core_dbg(dev, "err %d, delivery status %s(%d)\n",
mlx5_core_dbg(dev, "failed allocation\n");
mlx5_core_dbg(dev, "command completed. ret 0x%x, delivery status %s(0x%x)\n",
mlx5_core_dbg(dev, "vector 0x%llx\n", vector);
mlx5_core_dbg(dev, "descriptor at dma 0x%llx\n", (unsigned long long)(cmd->dma));
mlx5_core_dbg(dev, "cmd[%d]: start dump\n", ent->idx);
mlx5_core_dbg(dev, "cmd[%d]: dump command %s(0x%x) %s\n",
mlx5_core_dbg(dev, "cmd[%d]: command block:\n", ent->idx);
mlx5_core_dbg(dev, "cmd[%d]: end dump\n", ent->idx);
mlx5_core_dbg(dev, "failed adding CP 0x%x to debug file system\n",
mlx5_core_dbg(dev, "Missing SyncE capability\n");
mlx5_core_dbg(dev, "Devlink trap: Trap id %d has action %d", trap_id,
mlx5_core_dbg(dev, "FWTracer: Tracer capability not present\n");
mlx5_core_dbg(dev, "FWTracer: Failed to query capabilities %d\n", err);
mlx5_core_dbg(dev, "FWTracer: Tracer created\n");
mlx5_core_dbg(tracer->dev, "FWTracer: Cleanup, is owner ? (%d)\n",
mlx5_core_dbg(tracer->dev, "FWTracer: Destroy\n");
mlx5_core_dbg(dev, "FWTracer: Failed to query capabilities %d\n", err);
mlx5_core_dbg(dev, "FWTracer: Event with unrecognized subtype: sub_type %d\n",
mlx5_core_dbg(dev, "FWTracer: Failed to read strings DB %d\n",
mlx5_core_dbg(dev, "FWTracer: Failed to read strings DB %d\n",
mlx5_core_dbg(dev, "FWTracer: Device does not support logging traces to memory\n");
mlx5_core_dbg(dev, "FWTracer: Handle Trace event, owner=(%d)\n", tracer->owner);
mlx5_core_dbg(dev, "FWTracer: Ownership was not granted %d\n", err);
mlx5_core_dbg(dev, "FWTracer: Ownership granted and active\n");
mlx5_core_dbg(tracer->dev, "FWTracer: ownership changed, current=(%d)\n", tracer->owner);
mlx5_core_dbg(dev, "Resource dump: capability not present\n");
mlx5_core_dbg(mlx5e_fs_get_mdev(fs), fmt, ##__VA_ARGS__)
mlx5_core_dbg(mlx5e_fs_get_mdev(fs), "Created fs %s table id %u level %u\n",
mlx5_core_dbg(mlx5e_fs_get_mdev(fs), "Created fs ANY table id %u level %u\n",
mlx5_core_dbg(mdev, "%s hd_per_wqe = %d rsrv_size = %d wqe_size = %d pkt_per_rsrv = %d\n",
mlx5_core_dbg(mdev, "%s: wqe_bulk = %u, wqe_bulk_refill_unit = %u\n",
mlx5_core_dbg(dev, "PCIe congestion event (obj_id=%llu) created. Config: in: [%u, %u], out: [%u, %u]\n",
mlx5_core_dbg(mdev, "prio %d, buffer %d\n", prio, buffer[prio]);
mlx5_core_dbg(priv->dev, "Cannot add a new int port, max supported %d",
mlx5_core_dbg(priv->dev, "Unable to find int port with metadata 0x%.8x\n",
mlx5_core_dbg(priv->dev,
mlx5_core_dbg(mdev, "meter mode=%d\n", meter_params->mode);
mlx5_core_dbg(mdev, "rate=%lld, cir=%lld, exp=%d, man=%d\n",
mlx5_core_dbg(mdev, "burst=%lld, cbs=%lld, exp=%d, man=%d\n",
mlx5_core_dbg(mdev, "flow meter aso obj(0x%x) created\n", *obj_id);
mlx5_core_dbg(mdev, "flow meter aso obj(0x%x) destroyed\n", obj_id);
mlx5_core_dbg(mdev, "flow meter allocated, obj_id=0x%x, index=%d\n",
mlx5_core_dbg(mdev, "flow meter freed, obj_id=0x%x, index=%d\n",
mlx5_core_dbg(priv->mdev, "firmware flow level support is missing\n");
mlx5_core_dbg(priv->mdev, "attaching int port as encap dev not supported, using uplink\n");
mlx5_core_dbg(mdev, "mlx5e: SWP checksum not supported\n");
mlx5_core_dbg(mdev, "mlx5e: ESP LSO not supported\n");
mlx5_core_dbg(mdev, "mlx5e: ESP GSO capability turned on\n");
mlx5_core_dbg(mdev, "Failed to create encryption key (err = %d)\n", err);
mlx5_core_dbg(mdev, "Failed to create IPsec object (err = %d)\n", err);
mlx5_core_dbg(mdev, "MACsec object field is not modifiable (Object id %d)\n",
mlx5_core_dbg(mdev, "MACsec SA is not found (SA object id %d)\n", obj_id);
mlx5_core_dbg(priv->mdev, "mlx5e: MACsec acceleration enabled\n");
mlx5_core_dbg(mdev, "Not a MACsec offload device\n");
mlx5_core_dbg(mdev, "MACsec attached to netdevice\n");
mlx5_core_dbg(mdev, "PSP offload not supported\n");
mlx5_core_dbg(mdev, "SWP not supported\n");
mlx5_core_dbg(mdev, "SWP checksum not supported\n");
mlx5_core_dbg(mdev, "SWP L4 partial checksum not supported\n");
mlx5_core_dbg(mdev, "PSP LSO not supported\n");
mlx5_core_dbg(priv->mdev, "PSP attached to netdevice\n");
mlx5_core_dbg(mdev, "priority %d buffer%d\n", i, dcb_buffer->prio2buffer[i]);
mlx5_core_dbg(mdev, "buffer[%d]=%d\n", i, dcb_buffer->buffer_size[i]);
mlx5_core_dbg(dev, "allocated completion EQN %d\n", eq->core.eqn);
mlx5_core_dbg(dev, "Requested vector index %u should be less than %u",
mlx5_core_dbg(eq->dev, "cq 0x%x not found in eq 0x%x tree\n",
mlx5_core_dbg(eq->dev, "corruption on cqn 0x%x in eq 0x%x\n",
mlx5_core_dbg(dev, "port_module_event is not set\n");
mlx5_core_dbg(dev, "Failed to get param. using default. err = %d\n", err);
mlx5_core_dbg(dev, "Skip page EQ creation\n");
mlx5_core_dbg(pool->dev, "IRQ %u mapped to cpu %*pbl, %u EQs on this irq\n",
mlx5_core_dbg(dev, "Failed to get param. using default. err = %d\n", err);
mlx5_core_dbg(dev, "Failed to register port resources: %d\n",
mlx5_core_dbg(esw->dev,
mlx5_core_dbg(events->dev, "Async eqe type %s, subtype (%d)\n",
mlx5_core_dbg(events->dev, "Async eqe type %s, subtype (%d) forward to interfaces\n",
mlx5_core_dbg(mdev, "FPGA capability not present\n");
mlx5_core_dbg(mdev, "Initializing FPGA\n");
mlx5_core_dbg((__adev)->mdev, "FPGA: %s:%d:(pid %d): " format, \
mlx5_core_dbg(dev, "force teardown is not supported in the firmware\n");
mlx5_core_dbg(dev, "fast teardown is not supported in the firmware\n");
mlx5_core_dbg(dev, "FW requests reset, synd: %d\n", synd);
mlx5_core_dbg(mdev, "attaching QPN 0x%x, MGID %pI6\n", ipriv->qpn,
mlx5_core_dbg(mdev, "%s setting qkey 0x%x\n",
mlx5_core_dbg(mdev, "detaching QPN 0x%x, MGID %pI6\n", ipriv->qpn,
mlx5_core_dbg(mdev, "failed detaching QPN 0x%x, MGID %pI6\n",
mlx5_core_dbg(pool->dev, "IRQ %u overloaded, pool_name: %s, %u EQs on this irq\n",
mlx5_core_dbg(pf_mdev,
mlx5_core_dbg(mdev,
mlx5_core_dbg(mdev,
mlx5_core_dbg(mdev, "Bond speed is unknown\n");
mlx5_core_dbg(mlx5_lag_pf(ldev, idx)->dev,
mlx5_core_dbg(mdev, "aso sq->sqn = 0x%x\n", sq->sqn);
mlx5_core_dbg(mdev,
mlx5_core_dbg(mdev, "DEK objects created, bulk=%d, obj_id=%d\n",
mlx5_core_dbg(mdev, "Crypto DEK enabled, %d deks per alloc (max %d), total %d\n",
mlx5_core_dbg(chains->dev, "Flow table chains groups(%d)\n", chains->group_num);
mlx5_core_dbg(dev, "Allocating reserved GID %u\n", index);
mlx5_core_dbg(dev, "Freeing reserved GID %u\n", gid_index);
mlx5_core_dbg(dev, "Reserved %u GIDs starting at %u\n",
mlx5_core_dbg(dev, "%u GIDs starting at %u left reserved\n",
mlx5_core_dbg(mdev, "Failed to init RoCE MACsec, capabilities not supported\n");
mlx5_core_dbg(mdev, "Failed to init RoCE MACsec, capabilities not supported\n");
mlx5_core_dbg(macsec_fs->mdev, "Tx fte: macsec obj_id %u, fs_id %u\n", macsec_obj_id, id);
mlx5_core_dbg(dev, "MPFS entry %pM, set @index (%d)\n",
mlx5_core_dbg(dev, "MPFS mac added %pM, index (%d)\n", mac, index);
mlx5_core_dbg(dev, "MPFS entry %pM, deleted @index (%d)\n",
mlx5_core_dbg(dev, "MPFS mac deleted %pM, index (%d)\n", mac, index);
mlx5_core_dbg(dev, "MPFS enabling mpfs\n");
mlx5_core_dbg(dev, "MPFS entry %pM, set @index (%d)\n",
mlx5_core_dbg(dev, "MPFS entry %pM, deleted @index (%d)\n",
mlx5_core_dbg(dev, "MPFS disabled\n");
mlx5_core_dbg(dev, "force teardown firmware support=%d\n", force_teardown);
mlx5_core_dbg(dev, "fast teardown firmware support=%d\n", fast_teardown);
mlx5_core_dbg(dev, "Device in internal error state, giving up\n");
mlx5_core_dbg(dev, "Firmware couldn't do fast unload error: %d\n", ret);
mlx5_core_dbg(dev, "Using ODP %s scheme\n",
mlx5_core_dbg(dev, "Failed to get param. err = %d\n", err);
mlx5_core_dbg(dev, "Failed to get param. err = %d\n", err);
mlx5_core_dbg(dev, "Current Pkey table size %d Setting new size %d\n",
mlx5_core_dbg(dev, "Enabling pci atomics failed\n");
mlx5_core_dbg(__dev, format, ##__VA_ARGS__); \
mlx5_core_dbg(dev, "out 0x%x, mkey 0x%x\n", mkey_index, *mkey);
mlx5_core_dbg(dev,
mlx5_core_dbg(dev, "npages %d, ec_function %d, func 0x%x, mode %d\n",
mlx5_core_dbg(dev, "func 0x%x, npages %d, outlen %d mode %d\n",
mlx5_core_dbg(dev, "page request for func 0x%x, npages %d, release_all %d\n",
mlx5_core_dbg(dev,
mlx5_core_dbg(dev, "Waiting for %d pages\n", prev_pages);
mlx5_core_dbg(dev, "All pages received\n");
mlx5_core_dbg(dev, "irq %u mapped to cpu %*pbl, %u EQs on this irq\n",
mlx5_core_dbg(dev, "pool->name = %s, pool->size = %d, pool->start = %d",
mlx5_core_dbg(dev, "Not enough IRQs for SFs. SF may run at lower performance\n");
mlx5_core_dbg(dev,
mlx5_core_dbg(dev, "Module ID not recognized: 0x%x\n",
mlx5_core_dbg(dev, "failed to register max SFs resources");
mlx5_core_dbg(dev, "SF HW table: max sfs = %d, ext sfs = %d, num spfs = %d\n",
mlx5_core_dbg(dev, "successfully enabled VF* %d\n", vf);
mlx5_core_dbg(dev, "requested num_vfs %d\n", num_vfs);
#define mlx5hws_dbg(ctx, arg...) mlx5_core_dbg((ctx)->mdev, ##arg)
#define mlx5dr_dbg(dmn, arg...) mlx5_core_dbg((dmn)->mdev, ##arg)
mlx5_core_dbg(mdev, "allocated UAR page: index %d, total bfregs %d\n",
mlx5_core_dbg(mdev, "%s local_lb\n",
mlx5_core_dbg(dev, "vf %d\n", vf);
mlx5_core_dbg(dev, "%s using vhca_id as function_id for vport %d vhca_id 0x%x\n",
mlx5_core_dbg(dev, "%s using vhca_id as function_id for vport %d vhca_id 0x%x\n",
mlx5_core_dbg(dev, "vf_num %d, index %d, gid_table_size %d\n",
mlx5_core_dbg(mdev, "wc sq->sqn = 0x%x created\n", sq->sqn);
mlx5_core_dbg(mdev, "wc wqe_counter = 0x%x\n", wqe_counter);
mlx5_core_dbg(mdev, "BlueFlame not supported\n");
mlx5_core_dbg(mdev, "SQ not supported\n");
mlx5_core_dbg(mdev, "parent set wc_state=%d\n",
mlx5_core_dbg(mdev, "wc_state=%d\n", mdev->wc_state);