[PATCH v3] examples/flow_filtering: introduce use cases snippets
Stephen Hemminger
stephen at networkplumber.org
Mon Oct 14 18:47:37 CEST 2024
On Mon, 30 Sep 2024 22:53:21 +0300
Shani Peretz <shperetz at nvidia.com> wrote:
> These code snippets demonstrate rule creation using
> template and non-template APIs.
> They include functions that enable developers to create rules.
> The purpose of providing these snippets is to allow developers
> to reuse them, thereby saving time and effort during the
> implementation of flow rules.
>
> The code snippets are categorized based on their usage and can be copied,
> paste and modified to suit any requirements.
> The snippets provided here are kept up to date and are being compiled
> along with the rest of the examples.
>
> There is a skeleton that demonstrates rule creation
> using both template and non template APIs.
>
> Developers can change the functions in the skeleton to the corresponding
> snippet functions with the appropriate suffix and create rules using the
> snippets themselves for easy testing. Each snippet has the same functions
> to implement the actions and patterns for the corresponding feature.
>
> Signed-off-by: Shani Peretz <shperetz at nvidia.com>
Not sure why the intel-compilation failed but other builds worked.
Acked-by: Stephen Hemminger <stephen at networkplumber.org>
More information about the dev
mailing list