[dpdk-kmods v2] windows/netuio: fix BAR parsing

Menon, Ranjit ranjit.menon at intel.com
Fri Aug 19 20:13:16 CEST 2022


On 8/11/2022 3:17 PM, Pallavi Kadam wrote:
> Current code was always checking the 'prev_bar & PCI_TYPE_64BIT'
> though only the first BAR slot of a 64-bit BAR contains flags.
> Also for certain PCIe devices, BAR values were not continuous.
> This patch fixes this incorrectness and maps the BAR addresses
> correctly.
>
> Reported-by: Qiao Liu<qiao.liu at intel.com>
> Suggested-by: Dmitry Kozlyuk<dmitry.kozliuk at gmail.com>
> Signed-off-by: Dmitry Kozlyuk<dmitry.kozliuk at gmail.com>
> Tested-by: Pallavi Kadam<pallavi.kadam at intel.com>
> ---
>   windows/netuio/netuio_dev.c | 13 ++++++++-----
>   1 file changed, 8 insertions(+), 5 deletions(-)
>
Acked-by: Ranjit Menon <ranjit.menon at intel.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mails.dpdk.org/archives/dev/attachments/20220819/d9718460/attachment-0001.htm>


More information about the dev mailing list