Hi Zhujianhua,

I cant speak for the classification specifically and its ability to handle
your use case, but there are no table support APIs at this time. HePeng
raised a similar point a week or two back
https://lists.linaro.org/pipermail/lng-odp/2015-August/014665.html

ODP attempts to add APIs that abstract some hardware capability as it
focus, if the support is a software based helper for a platform it would be
a member of the helpers library which is small at this time but also part
of the reference model.

I assume you are thinking about a similar hash functionality found in most
vendors SDKs such as DPDKs
http://dpdk.org/doc/guides/prog_guide/hash_lib.html which I also assume
will be software based but I not the expert here.

The best way to get what you need would be to propose a patch for the API
you need, or better still a full implementation and it can be reviewed an
added on this list.
To really drive a solution please raise this at the public Tuesday call, or
as an employee of a member company I can add your issue to the internal
architecture calls, just ping me directly if that will help.

Mike

On 9 September 2015 at 23:24, Zhujianhua <[email protected]> wrote:

> Hi,
>
>
>
> Data plane applications use tables publically to indicate the packet
> processing. For example, the control part of the application add or remove
> or update some entries in the table and the data part use some keys (i.e.
> five tuples) extracted from the meta data or context of the packets to
> lookup the actions(or next hop) in the table. Different kind of Tables
> store different formats of key/action pairs since different types of
> packets require different kind of processing.
>
>
>
> Classical use case: ARP table, Route table, ACL, MAC address filter table.
>
>
>
> I cannot find any table-related APIs or equivalent in the ODP website and
> the classification APIs cannot handle these cases.
>
>
>
> Do ODP plan to support “table” or similar APIs?
>
>
>
> Best Regards
>
> Jianhua Zhu
>
>
>
> _______________________________________________
> lng-odp mailing list
> [email protected]
> https://lists.linaro.org/mailman/listinfo/lng-odp
>
>


-- 
Mike Holmes
Technical Manager - Linaro Networking Group
Linaro.org <http://www.linaro.org/> *│ *Open source software for ARM SoCs
_______________________________________________
lng-odp mailing list
[email protected]
https://lists.linaro.org/mailman/listinfo/lng-odp

Reply via email to