[dpdk-dev] [PATCH v4 1/2] ethdev: remove get_reg_length callback

2016-06-28 Thread Zyta Szpak
OK On 27.06.2016 17:19, Thomas Monjalon wrote: > 2016-06-23 15:26, zr at semihalf.com: >> From: Zyta Szpak >> >> Version 4 of fixing the assumption of that device registers >> are always 32 bits long. rte_eth_dev_get_reg_length and >> rte_eth_dev_get_reg_info callbacks did not provide register si

[dpdk-dev] [PATCH v4 1/2] ethdev: remove get_reg_length callback

2016-06-28 Thread Zyta Szpak
OK On 27.06.2016 12:46, Remy Horton wrote: > Morning, > > > On 23/06/2016 14:26, zr at semihalf.com wrote: >> From: Zyta Szpak >> >> Version 4 of fixing the assumption of that device registers >> are always 32 bits long. rte_eth_dev_get_reg_length and >> rte_eth_dev_get_reg_info callbacks did not

[dpdk-dev] [PATCH v4 1/2] ethdev: remove get_reg_length callback

2016-06-27 Thread Thomas Monjalon
2016-06-23 15:26, zr at semihalf.com: > From: Zyta Szpak > > Version 4 of fixing the assumption of that device registers > are always 32 bits long. rte_eth_dev_get_reg_length and > rte_eth_dev_get_reg_info callbacks did not provide register size > to the app in any way. It is needed to allocate p

[dpdk-dev] [PATCH v4 1/2] ethdev: remove get_reg_length callback

2016-06-27 Thread Remy Horton
Morning, On 23/06/2016 14:26, zr at semihalf.com wrote: > From: Zyta Szpak > > Version 4 of fixing the assumption of that device registers > are always 32 bits long. rte_eth_dev_get_reg_length and > rte_eth_dev_get_reg_info callbacks did not provide register size > to the app in any way. It is n

[dpdk-dev] [PATCH v4 1/2] ethdev: remove get_reg_length callback

2016-06-23 Thread z...@semihalf.com
From: Zyta Szpak Version 4 of fixing the assumption of that device registers are always 32 bits long. rte_eth_dev_get_reg_length and rte_eth_dev_get_reg_info callbacks did not provide register size to the app in any way. It is needed to allocate proper number of bytes before retrieving registers