[ovs-dev] [PATCH v4 2/7] dpif-netdev: add subtable lookup prio set command.

William Tu u9012063 at gmail.com
Sat Jun 27 18:26:54 UTC 2020


On Thu, Jun 18, 2020 at 9:53 AM Harry van Haaren
<harry.van.haaren at intel.com> wrote:
>
> This commit adds a command for the dpif-netdev to set a specific
> lookup function to a particular priority level. The command enables
> runtime switching of the dpcls subtable lookup implementation.
>
> Selection is performed based on a priority. Higher priorities take
> precedence, eg; priotity 5 will be selected instead of a priority 3.
> If lookup functions have the same priority, the first one in the list
> is selected.
>
> The two options available are 'autovalidator' and 'generic'.
> The below command will set a new priority for the given function:
> $ ovs-appctl dpif-netdev/subtable-lookup-prio-set generic 2
>
> The autovalidator implementation can be selected at runtime now:
> $ ovs-appctl dpif-netdev/subtable-lookup-prio-set autovalidator 5
>
> Signed-off-by: Harry van Haaren <harry.van.haaren at intel.com>
>
LGTM.
Acked-by: William Tu <u9012063 at gmail.com>


More information about the dev mailing list