* [PATCH] doc: add Linux flower support check in TAP guide
@ 2017-09-20 13:03 Thomas Monjalon
2017-09-20 13:08 ` Pascal Mazon
2017-09-25 11:23 ` Mcnamara, John
0 siblings, 2 replies; 4+ messages in thread
From: Thomas Monjalon @ 2017-09-20 13:03 UTC (permalink / raw)
To: Pascal Mazon; +Cc: dev
The flow API is supported in TAP PMD if flower is supported in Linux.
Some commands are combined to suggest a convenient check of its support
by the running kernel.
Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
---
doc/guides/nics/tap.rst | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/doc/guides/nics/tap.rst b/doc/guides/nics/tap.rst
index f3ee95d28..04086b110 100644
--- a/doc/guides/nics/tap.rst
+++ b/doc/guides/nics/tap.rst
@@ -113,7 +113,14 @@ Flow API support
----------------
The tap PMD supports major flow API pattern items and actions, when running on
-linux kernels above 4.2 ("Flower" classifier required). Supported items:
+linux kernels above 4.2 ("Flower" classifier required).
+The kernel support can be checked with this command::
+
+ zcat /proc/config.gz | ( grep 'CLS_FLOWER=' || echo 'not supported' ) |
+ tee -a /dev/stderr | grep -q '=m' &&
+ lsmod | ( grep cls_flower || echo 'try modprobe cls_flower' )
+
+Supported items:
- eth: src and dst (with variable masks), and eth_type (0xffff mask).
- vlan: vid, pcp, tpid, but not eid. (requires kernel 4.9)
--
2.14.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] doc: add Linux flower support check in TAP guide
2017-09-20 13:03 [PATCH] doc: add Linux flower support check in TAP guide Thomas Monjalon
@ 2017-09-20 13:08 ` Pascal Mazon
2017-09-25 11:23 ` Mcnamara, John
1 sibling, 0 replies; 4+ messages in thread
From: Pascal Mazon @ 2017-09-20 13:08 UTC (permalink / raw)
To: Thomas Monjalon; +Cc: dev
Acked-by: Pascal Mazon <pascal.mazon@6wind.com>
On 20/09/2017 15:03, Thomas Monjalon wrote:
> The flow API is supported in TAP PMD if flower is supported in Linux.
> Some commands are combined to suggest a convenient check of its support
> by the running kernel.
>
> Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
> ---
> doc/guides/nics/tap.rst | 9 ++++++++-
> 1 file changed, 8 insertions(+), 1 deletion(-)
>
> diff --git a/doc/guides/nics/tap.rst b/doc/guides/nics/tap.rst
> index f3ee95d28..04086b110 100644
> --- a/doc/guides/nics/tap.rst
> +++ b/doc/guides/nics/tap.rst
> @@ -113,7 +113,14 @@ Flow API support
> ----------------
>
> The tap PMD supports major flow API pattern items and actions, when running on
> -linux kernels above 4.2 ("Flower" classifier required). Supported items:
> +linux kernels above 4.2 ("Flower" classifier required).
> +The kernel support can be checked with this command::
> +
> + zcat /proc/config.gz | ( grep 'CLS_FLOWER=' || echo 'not supported' ) |
> + tee -a /dev/stderr | grep -q '=m' &&
> + lsmod | ( grep cls_flower || echo 'try modprobe cls_flower' )
> +
> +Supported items:
>
> - eth: src and dst (with variable masks), and eth_type (0xffff mask).
> - vlan: vid, pcp, tpid, but not eid. (requires kernel 4.9)
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] doc: add Linux flower support check in TAP guide
2017-09-20 13:03 [PATCH] doc: add Linux flower support check in TAP guide Thomas Monjalon
2017-09-20 13:08 ` Pascal Mazon
@ 2017-09-25 11:23 ` Mcnamara, John
2017-09-25 13:00 ` Ferruh Yigit
1 sibling, 1 reply; 4+ messages in thread
From: Mcnamara, John @ 2017-09-25 11:23 UTC (permalink / raw)
To: Thomas Monjalon, Pascal Mazon; +Cc: dev
> -----Original Message-----
> From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Thomas Monjalon
> Sent: Wednesday, September 20, 2017 2:03 PM
> To: Pascal Mazon <pascal.mazon@6wind.com>
> Cc: dev@dpdk.org
> Subject: [dpdk-dev] [PATCH] doc: add Linux flower support check in TAP
> guide
>
> The flow API is supported in TAP PMD if flower is supported in Linux.
> Some commands are combined to suggest a convenient check of its support by
> the running kernel.
>
> Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
Acked-by: John McNamara <john.mcnamara@intel.com>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] doc: add Linux flower support check in TAP guide
2017-09-25 11:23 ` Mcnamara, John
@ 2017-09-25 13:00 ` Ferruh Yigit
0 siblings, 0 replies; 4+ messages in thread
From: Ferruh Yigit @ 2017-09-25 13:00 UTC (permalink / raw)
To: Mcnamara, John, Thomas Monjalon, Pascal Mazon; +Cc: dev
On 9/25/2017 12:23 PM, Mcnamara, John wrote:
>
>
>> -----Original Message-----
>> From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Thomas Monjalon
>> Sent: Wednesday, September 20, 2017 2:03 PM
>> To: Pascal Mazon <pascal.mazon@6wind.com>
>> Cc: dev@dpdk.org
>> Subject: [dpdk-dev] [PATCH] doc: add Linux flower support check in TAP
>> guide
>>
>> The flow API is supported in TAP PMD if flower is supported in Linux.
>> Some commands are combined to suggest a convenient check of its support by
>> the running kernel.
>>
>> Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
Acked-by: Pascal Mazon <pascal.mazon@6wind.com>
> Acked-by: John McNamara <john.mcnamara@intel.com>
Applied to dpdk-next-net/master, thanks.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2017-09-25 13:00 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-09-20 13:03 [PATCH] doc: add Linux flower support check in TAP guide Thomas Monjalon
2017-09-20 13:08 ` Pascal Mazon
2017-09-25 11:23 ` Mcnamara, John
2017-09-25 13:00 ` Ferruh Yigit
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.