[dpdk-dev] [PATCH v6 5/5] eal: Fix uio mapping differences between linuxapp and bsdapp

Iremonger, Bernard bernard.iremonger at intel.com
Fri Jun 26 16:42:24 CEST 2015


> -----Original Message-----
> From: Tetsuya Mukawa [mailto:mukawa at igel.co.jp]
> Sent: Friday, June 26, 2015 9:18 AM
> To: dev at dpdk.org
> Cc: Iremonger, Bernard; david.marchand at 6wind.com; Tetsuya.Mukawa
> Subject: [PATCH v6 5/5] eal: Fix uio mapping differences between linuxapp
> and bsdapp
> 
> From: "Tetsuya.Mukawa" <mukawa at igel.co.jp>
> 
> This patch fixes below.
> - bsdapp
>  - Use map_id in pci_uio_map_resource().
>  - Fix interface of pci_map_resource().
>  - Move path variable of mapped_pci_resource structure to pci_map.
> - linuxapp
>  - Remove redundant error message of linuxapp.
> 
> 'pci_uio_map_resource()' is implemented in both linuxapp and bsdapp, but
> interface is different. The patch fixes the function of bsdapp to do same as
> linuxapp. After applying it, file descriptor should be opened and closed out of
> pci_map_resource().
> 
> Signed-off-by: Tetsuya Mukawa <mukawa at igel.co.jp>

Acked-by: Bernard Iremonger <bernard.iremonger at intel.com>


More information about the dev mailing list