[dpdk-dev] [PATCH] examples/ethtool: include case for 64-bit registers

2016-05-23 Thread Zyta Szpak
Hi, sorry on my late reply I was on sick leave. Sure I can do that. This fix was the fastest possible without interfering with DPDK API. I will add the callback then. Regards, Zyta Szpak On 20.05.2016 10:25, Remy Horton wrote: > Morning, > > On 11/05/2016 11:48, zr at semihalf.com wrote: >> Fro

[dpdk-dev] [PATCH] examples/ethtool: include case for 64-bit registers

2016-05-20 Thread Remy Horton
Morning, On 11/05/2016 11:48, zr at semihalf.com wrote: > From: Zyta Szpak > > rte_eth_dev_get_reg_length and rte_eth_dev_get_reg callbacks > do not provide register size to the app in any way. Example assuming > they are 32-bit wide always allocates not enough memory if the > registers are 64-bi

[dpdk-dev] [PATCH] examples/ethtool: include case for 64-bit registers

2016-05-11 Thread z...@semihalf.com
From: Zyta Szpak rte_eth_dev_get_reg_length and rte_eth_dev_get_reg callbacks do not provide register size to the app in any way. Example assuming they are 32-bit wide always allocates not enough memory if the registers are 64-bit wide. It results in memory corruption. This commit is a quick fix