[dpdk-dev,v2,2/3] bus/fslmc: optimize physical to virtual address searching

Message ID 8268731.ksAW2z75G4@xps (mailing list archive)
State Not Applicable, archived
Headers

Checks

Context Check Description
ci/checkpatch warning coding style issues
ci/Intel-compilation fail apply issues

Commit Message

Thomas Monjalon April 27, 2018, 6:49 p.m. UTC
  27/04/2018 19:20, Shreyansh Jain:
> --- a/drivers/bus/fslmc/portal/dpaa2_hw_pvt.h
> +++ b/drivers/bus/fslmc/portal/dpaa2_hw_pvt.h
> @@ -254,15 +254,38 @@ enum qbman_fd_format {
>   */
>  #define DPAA2_EQ_RESP_ALWAYS		1
>  
> +/* Various structures representing contiguous memory maps */
> +struct dpaa2_memseg {
> +	TAILQ_ENTRY(dpaa2_memseg) next;
> +	char *vaddr;
> +	rte_iova_t iova;
> +	size_t len;
> +};
> +
> +TAILQ_HEAD(dpaa2_memseg_list, dpaa2_memseg);
> +extern struct dpaa2_memseg_list dpaa2_memsegs;

Shared compilation is broken without following patch:
  

Patch

--- a/drivers/bus/fslmc/rte_bus_fslmc_version.map
+++ b/drivers/bus/fslmc/rte_bus_fslmc_version.map
@@ -105,5 +105,6 @@  DPDK_18.05 {
        global:
 
        dpaa2_affine_qbman_ethrx_swp;
+       dpaa2_memsegs;
 
 } DPDK_18.02;