On 04/07/2016 12:36, Zyta Szpak wrote: > From: Zyta Szpak <zr at semihalf.com> > > This change deals with hard-coded register width. > The app was allocating too little space for 64-bit registers > which resulted in memory corruption. This commit resolves > this by getting the number of registers and size of register > by rte_eth_dev_get_reg_info function called first time > with data=NULL. > > Signed-off-by: Zyta Szpak <zr at semihalf.com>
Acked-by: Remy Horton <remy.horton at intel.com>