2016-06-23 15:26, zr at semihalf.com: > From: Zyta Szpak <zr at semihalf.com> > > 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 content with > rte_eth_dev_get_reg. This commit remove rte_eth_dev_get_reg_length > callback and adds width parameter to reg_info struct which makes > it possible to call rte_eth_dev_get_reg_info to get attributes > first. The drivers using this callback fill width and length > when call to function made with data=NULL. > > Signed-off-by: Zyta Szpak <zr at semihalf.com>
Please do not mention patch revision in the commit log. However you can add a changelog below the three dashes (with --annotate). And please use --in-reply-to to keep revisions in the same thread. Thanks