Lines Matching refs:lmac
235 int lmac; in rvu_dbg_mcs_port_stats_display() local
239 for_each_set_bit(lmac, &mcs->hw->lmac_bmap, mcs->hw->lmac_cnt) { in rvu_dbg_mcs_port_stats_display()
240 mcs_get_port_stats(mcs, &stats, lmac, dir); in rvu_dbg_mcs_port_stats_display()
241 seq_printf(filp, "port%d: Tcam Miss: %lld\n", lmac, stats.tcam_miss_cnt); in rvu_dbg_mcs_port_stats_display()
242 seq_printf(filp, "port%d: Parser errors: %lld\n", lmac, stats.parser_err_cnt); in rvu_dbg_mcs_port_stats_display()
245 seq_printf(filp, "port%d: Preempt error: %lld\n", lmac, in rvu_dbg_mcs_port_stats_display()
248 seq_printf(filp, "port%d: Sectag insert error: %lld\n", lmac, in rvu_dbg_mcs_port_stats_display()
846 char cgx[10], lmac[10]; in rvu_dbg_rvu_pf_cgx_map_display() local
868 lmac[0] = 0; in rvu_dbg_rvu_pf_cgx_map_display()
880 sprintf(lmac, "LMAC%d", lmac_id); in rvu_dbg_rvu_pf_cgx_map_display()
882 dev_name(&pdev->dev), pcifunc, blkid, cgx, lmac); in rvu_dbg_rvu_pf_cgx_map_display()
2619 rvu->rvu_dbg.lmac = in rvu_dbg_cgx_init()
2622 debugfs_create_file("stats", 0600, rvu->rvu_dbg.lmac, in rvu_dbg_cgx_init()
2625 rvu->rvu_dbg.lmac, cgx, in rvu_dbg_cgx_init()