Commit 895dd2ce authored by Antoine Kaufmann's avatar Antoine Kaufmann
Browse files

i40e: add some more RO registers

parent f00a5df4
......@@ -172,6 +172,10 @@ uint32_t i40e_bm::reg_mem_read32(uint64_t addr)
val = regs.glgen_rstctl;
break;
case I40E_GLVFGEN_TIMER:
val = runner->time_ps() / 1000000;
break;
case I40E_PFINT_LNKLST0:
val = regs.pfint_lnklst0;
break;
......@@ -215,6 +219,30 @@ uint32_t i40e_bm::reg_mem_read32(uint64_t addr)
break;
case I40E_GLHMC_LANTXOBJSZ:
val = 7; // 128 B
break;
case I40E_GLHMC_LANQMAX:
val = NUM_QUEUES;
break;
case I40E_GLHMC_LANRXOBJSZ:
val = 5; // 32 B
break;
case I40E_GLHMC_FCOEMAX:
val = 0;
break;
case I40E_GLHMC_FCOEDDPOBJSZ:
val = 0;
break;
case I40E_GLHMC_FCOEFMAX:
val = 0;
break;
case I40E_GLHMC_FCOEFOBJSZ:
val = 0;
break;
case I40E_PF_ATQBAL:
val = regs.pf_atqba;
break;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment