[dpdk-dev] [PATCH 2/2] eal/bsd: fix the read operation on PCI configuration space

Bruce Richardson bruce.richardson at intel.com
Mon May 8 11:47:20 CEST 2017


On Sun, May 07, 2017 at 01:33:34PM +0000, Tiwei Bie wrote:
> Some drivers (such as virtio) may need to read more than 4 bytes
> data from PCI configuration space via rte_eal_pci_read_config().
> But it will return with an error on FreeBSD when the expected
> data length is bigger than the size of pi.pi_data whose type is
> u_int32_t. This patch removes this limitation.
> 
> Fixes: 632b2d1deeed ("eal: provide functions to access PCI config")
> Cc: stable at dpdk.org
> 
> Signed-off-by: Tiwei Bie <tiwei.bie at intel.com>
> ---
Acked-by: Bruce Richardson <bruce.richardson at intel.com>



More information about the dev mailing list