[dpdk-dev] [PATCH v3 1/2] ethdev: add callback to get register size in bytes

Remy Horton remy.horton at intel.com
Tue Jun 7 11:52:33 CEST 2016


On 01/06/2016 08:56, zr at semihalf.com wrote:
> From: Zyta Szpak <zr at semihalf.com>
>
> Version 2 of fixing the fixed register width assumption.
> rte_eth_dev_get_reg_length and rte_eth_dev_get_reg callbacks
> do not provide register size to the app in any way. It is
> needed to allocate proper number of bytes before retrieving
> registers content with rte_eth_dev_get_reg.
>
> Signed-off-by: Zyta Szpak <zr at semihalf.com>

Acked-by: Remy Horton <remy.horton at intel.com>


More information about the dev mailing list