Thread (17 messages) 17 messages, 3 authors, 2016-07-08

Re: [PATCH v4 2/2] examples/ethtool: use rte_eth_dev_get_reg_info for reg params

From: Remy Horton <hidden>
Date: 2016-06-27 10:46:22

On 23/06/2016 14:26, zr@semihalf.com wrote:
From: Zyta Szpak <redacted>

Version 4 of fixing the fixed register width assumption.
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 <redacted>
Acked-by: Remy Horton <redacted>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help