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

2013-09-17 Thread Damien Millescamps
On 09/17/2013 12:21 PM, Thomas Monjalon wrote: > From: David Marchand > > 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

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

2013-09-17 Thread Thomas Monjalon
From: David Marchand 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 che