[dpdk-dev] [PATCH v5 2/2] eal/vfio: export internal vfio functions

Thomas Monjalon thomas at monjalon.net
Wed Apr 11 23:25:32 CEST 2018


04/04/2018 09:48, Hemant Agrawal:
> This patch moves some of the internal vfio functions from
> eal_vfio.h to rte_vfio.h for common uses with "rte_" prefix.
> 
> This patch also change the FSLMC bus usages from the internal
> VFIO functions to external ones with "rte_" prefix
> 
> Signed-off-by: Hemant Agrawal <hemant.agrawal at nxp.com>
> Acked-by: Anatoly Burakov <anatoly.burakov at intel.com>
> ---
> v5: fix the bsd compilation
> 
>  drivers/bus/fslmc/Makefile                     |  1 -
>  drivers/bus/fslmc/fslmc_vfio.c                 |  7 +--
>  drivers/bus/fslmc/fslmc_vfio.h                 |  2 -
>  drivers/bus/fslmc/meson.build                  |  1 -
>  lib/librte_eal/bsdapp/eal/eal.c                | 24 +++++++++
>  lib/librte_eal/common/include/rte_vfio.h       | 75 +++++++++++++++++++++++++-
>  lib/librte_eal/linuxapp/eal/eal_vfio.c         | 39 +++++++-------
>  lib/librte_eal/linuxapp/eal/eal_vfio.h         | 21 --------
>  lib/librte_eal/linuxapp/eal/eal_vfio_mp_sync.c |  4 +-
>  lib/librte_eal/rte_eal_version.map             |  3 ++
>  10 files changed, 127 insertions(+), 50 deletions(-)

Please, could you rebase on HEAD (on top of Anatoly's patches)?





More information about the dev mailing list