[dpdk-dev] [PATCH v2 1/8] event/opdl: add the opdl ring infrastructure library

Neil Horman nhorman at tuxdriver.com
Fri Dec 15 13:38:59 CET 2017


On Fri, Dec 15, 2017 at 11:26:22AM +0000, Liang Ma wrote:
> OPDL ring is the core infrastructure of OPDL PMD. OPDL ring library
> provide the core data structure and core helper function set. The Ring
> implements a single ring multi-port/stage pipelined packet distribution
> mechanism. This mechanism has the following characteristics:
> 
> • No multiple queue cost, therefore, latency is significant reduced.
> • Fixed dependencies between queue/ports is more suitable for complex.
>   fixed pipelines of stateless packet processing (static pipeline).
> • Has decentralized distribution (no scheduling core).
> • Packets remain in order (no reorder core(s)).
> 
> Signed-off-by: Liang Ma <liang.j.ma at intel.com>
> Signed-off-by: Peter, Mccarthy <peter.mccarthy at intel.com>
> ---
>  drivers/event/opdl/Makefile                       |   66 ++
>  drivers/event/opdl/opdl_ring.c                    | 1232 +++++++++++++++++++++
>  drivers/event/opdl/opdl_ring.h                    |  601 ++++++++++
>  drivers/event/opdl/rte_pmd_evdev_opdl_version.map |    3 +
>  4 files changed, 1902 insertions(+)
>  create mode 100644 drivers/event/opdl/Makefile
>  create mode 100644 drivers/event/opdl/opdl_ring.c
>  create mode 100644 drivers/event/opdl/opdl_ring.h
>  create mode 100644 drivers/event/opdl/rte_pmd_evdev_opdl_version.map
> 
><snip>

> +
> +#endif  /* _OPDL_H_ */
> diff --git a/drivers/event/opdl/rte_pmd_evdev_opdl_version.map b/drivers/event/opdl/rte_pmd_evdev_opdl_version.map
> new file mode 100644
> index 0000000..5352e7e
> --- /dev/null
> +++ b/drivers/event/opdl/rte_pmd_evdev_opdl_version.map
> @@ -0,0 +1,3 @@
> +DPDK_17.05 {
> +	local: *;
> +};
you need to ennumerate the functions you want to globally export here, or this won't work
as a shared library.  This also suggests you haven't tested this as a DSO yet,
please do so.

Neil

> -- 
> 2.7.5
> 
> --------------------------------------------------------------
> Intel Research and Development Ireland Limited
> Registered in Ireland
> Registered Office: Collinstown Industrial Park, Leixlip, County Kildare
> Registered Number: 308263
> 
> 
> This e-mail and any attachments may contain confidential material for the sole
> use of the intended recipient(s). Any review or distribution by others is
> strictly prohibited. If you are not the intended recipient, please contact the
> sender and delete all copies.


More information about the dev mailing list