[dpdk-dev] [PATCH v2 1/2] pci: do not check BAR0 mapping

Damien Millescamps damien.millescamps at 6wind.com
Tue Sep 17 13:26:23 CEST 2013


On 09/17/2013 12:21 PM, Thomas Monjalon wrote:
> From: David Marchand <david.marchand at 6wind.com>
>
> Since DPDK 1.4, bars mapping is checked and prevent from initializing
> drivers which do not use igb_uio mapping.
> There is no need to check for bars mapping, especially BAR0 is not required.
> If bars mapping failed, then pci_uio_map_resource will fail and we won't reach
> this check. So get rid of BAR0 check.
>
> Signed-off-by: David Marchand <david.marchand at 6wind.com>
> Acked-by: Stephen Hemminger <shemminger at vyatta.com>
Acked-by: Damien Millescamps <damien.millescamps at 6wind.com>



More information about the dev mailing list