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

Thomas Monjalon thomas at monjalon.net
Mon Aug 29 10:04:53 CEST 2022


19/08/2022 20:13, Menon, Ranjit:
> 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>

Applied, thanks.




More information about the dev mailing list