Commit 34066b5c authored by Antoine Kaufmann's avatar Antoine Kaufmann
Browse files

i40e: return non-zero value in FCOEFMAX register for linux driver

parent eba23d84
...@@ -241,7 +241,8 @@ uint32_t i40e_bm::reg_mem_read32(uint64_t addr) ...@@ -241,7 +241,8 @@ uint32_t i40e_bm::reg_mem_read32(uint64_t addr)
val = 0; val = 0;
break; break;
case I40E_GLHMC_FCOEFMAX: case I40E_GLHMC_FCOEFMAX:
val = 0; // needed to make linux driver happy
val = 0x1000 << I40E_GLHMC_FCOEFMAX_PMFCOEFMAX_SHIFT;
break; break;
case I40E_GLHMC_FCOEFOBJSZ: case I40E_GLHMC_FCOEFOBJSZ:
val = 0; val = 0;
......
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