doc: relate bifurcated driver and flow isolated mode
PATCH 1/1 doc: relate bifurcated driver and flow isolated mode
The relation between the isolated mode in ethdev flow API and bifurcated driver behaviour was not clearly explained.
It is made clear in the how-to guide that isolated mode is required for flow bifurcation to the kernel.
On the other side, the impact of the isolated mode on a bifurcated driver is made more explicit.
--- doc/guides/howto/flow_bifurcation.rst | 3 ++- lib/ethdev/rte_flow.h | 4 ++++ 2 files changed, 6 insertions(+), 1 deletion(-)
doc/guides/howto/flow_bifurcation.rst +2 -1
@@ -55,7 +55,8 @@ The full device is already shared with the kernel driver. The DPDK application can setup some flow steering rules, and let the rest go to the kernel stack. In order to define the filters strictly with flow rules, -the :ref:`flow_isolated_mode` can be configured. +the :ref:`flow_isolated_mode` must be configured, +so there is no default rule routing traffic to userspace. There is no specific instructions to follow. The recommended reading is the :doc:`../prog_guide/rte_flow` guide.
lib/ethdev/rte_flow.h +4 -0
@@ -4254,6 +4254,10 @@ rte_flow_query(uint16_t port_id,* * Isolated mode guarantees that all ingress traffic comes from defined flow * rules only (current and future). +* When enabled with a bifurcated driver, +* non-matched packets are routed to the kernel driver interface. +* When disabled (the default), +* there may be some default rules routing traffic to the DPDK port. * * Besides making ingress more deterministic, it allows PMDs to safely reuse * resources otherwise assigned to handle the remaining traffic, such as
Signature · 1 line
2.36.1
Hi Thomas,
Quoted 59 lines
-----Original Message-----
From: Thomas Monjalon <[email protected]>
Sent: Wednesday, September 14, 2022 23:30
To: [email protected]
Cc: Michael Savisko <[email protected]>; Slava Ovsiienko <[email protected]>; Matan Azrad <[email protected]>; Dariusz Sosnowski <[email protected]>; Asaf Penso <[email protected]>; Ori Kam <[email protected]>; Ferruh Yigit <[email protected]>; Andrew Rybchenko <[email protected]>
Subject: [PATCH] doc: relate bifurcated driver and flow isolated modeExternal email: Use caution opening links or attachments
The relation between the isolated mode in ethdev flow API and bifurcated driver behaviour was not clearly explained.
It is made clear in the how-to guide that isolated mode is required for flow bifurcation to the kernel.
On the other side, the impact of the isolated mode on a bifurcated driver is made more explicit.Signed-off-by Thomas Monjalon <[email protected]>--- doc/guides/howto/flow_bifurcation.rst | 3 ++- lib/ethdev/rte_flow.h | 4 ++++ 2 files changed, 6 insertions(+), 1 deletion(-)doc/guides/howto/flow_bifurcation.rst +0
-0@@ -55,7 +55,8 @@ The full device is already shared with the kernel driver. The DPDK application can setup some flow steering rules, and let the rest goto the kernel stack.
In order to define the filters strictly with flow rules, -the
:ref:flow_isolated_modecan be configured.doc/guides/howto/flow_bifurcation.rst +2
-0+the :ref:`flow_isolated_mode` must be configured, so there is no +default rule routing traffic to userspace. There is no specific instructions to follow. The recommended reading is the :doc:`../prog_guide/rte_flow` guide.lib/ethdev/rte_flow.h index renamed from lib/ethdev/rte_flow.h +0
-0
a79f1e7ef0..1bac3fd9ec100644lib/ethdev/rte_flow.h +4
-1@@ -4254,6 +4254,10 @@ rte_flow_query(uint16_t port_id,* * Isolated mode guarantees that all ingress traffic comes from defined flow * rules only (current and future). +* When enabled with a bifurcated driver, +* non-matched packets are routed to the kernel driver interface. +* When disabled (the default), +* there may be some default rules routing traffic to the DPDK port. * * Besides making ingress more deterministic, it allows PMDs to safely reuse * resources otherwise assigned to handle the remaining traffic, such as --
Quoted 1 line
2.36.1
Looks good to me. Thank you.
Best regards,
Dariusz Sosnowski
Ori Kam
Acked-byHi,
Quoted 71 lines
-----Original Message-----
From: Dariusz Sosnowski <[email protected]>
Sent: Tuesday, 20 September 2022 11:49Hi Thomas,
Quoted 7 lines
-----Original Message-----
From: Thomas Monjalon <[email protected]>
Sent: Wednesday, September 14, 2022 23:30
To: [email protected]
Cc: Michael Savisko <[email protected]>; Slava Ovsiienko <[email protected]>; Matan Azrad <[email protected]>; Dariusz Sosnowski <[email protected]>; Asaf Penso <[email protected]>;Ori
Quoted 27 lines
Kam <[email protected]>; Ferruh Yigit <[email protected]>; Andrew Rybchenko <[email protected]>
Subject: [PATCH] doc: relate bifurcated driver and flow isolated modeExternal email: Use caution opening links or attachments
The relation between the isolated mode in ethdev flow API and bifurcated driver behaviour was not clearly explained.
It is made clear in the how-to guide that isolated mode is required for flow bifurcation to the kernel.
On the other side, the impact of the isolated mode on a bifurcated driver is made more explicit.Signed-off-by Thomas Monjalon <[email protected]>--- doc/guides/howto/flow_bifurcation.rst | 3 ++- lib/ethdev/rte_flow.h | 4 ++++ 2 files changed, 6 insertions(+), 1 deletion(-)doc/guides/howto/flow_bifurcation.rst +0
-0doc/guides/howto/flow_bifurcation.rst The full device is already shared with the kernel driver. · line 55
Quoted 1 line
doc/guides/howto/flow_bifurcation.rst +0
-0@@ -55,7 +55,8 @@ The full device is already shared with the kernel driver. The DPDK application can setup some flow steering rules, and let the restgo
Quoted 13 lines
to the kernel stack.
In order to define the filters strictly with flow rules, -the
:ref:flow_isolated_modecan be configured.doc/guides/howto/flow_bifurcation.rst +2
-0+the :ref:`flow_isolated_mode` must be configured, so there is no +default rule routing traffic to userspace. There is no specific instructions to follow. The recommended reading is the :doc:`../prog_guide/rte_flow` guide.lib/ethdev/rte_flow.h index renamed from lib/ethdev/rte_flow.h +0
-0
a79f1e7ef0..1bac3fd9ec100644lib/ethdev/rte_flow.h rte_flow_query(uint16_t port_id, · line 4255
Quoted 2 lines
lib/ethdev/rte_flow.h +0
-0@@ -4254,6 +4254,10 @@ rte_flow_query(uint16_t port_id,* * Isolated mode guarantees that all ingress traffic comes from defined flow
lib/ethdev/rte_flow.h rte_flow_query(uint16_t port_id,
Quoted 7 lines
lib/ethdev/rte_flow.h +4
-0* rules only (current and future). +* When enabled with a bifurcated driver, +* non-matched packets are routed to the kernel driver interface. +* When disabled (the default), +* there may be some default rules routing traffic to the DPDK port. * * Besides making ingress more deterministic, it allows PMDs to safely reuse
Quoted 3 lines
lib/ethdev/rte_flow.h +0
-1* resources otherwise assigned to handle the remaining traffic, such as --2.36.1
Quoted 6 lines
Looks good to me. Thank you.
Reviewed-by Dariusz Sosnowski <[email protected]>Best regards,
Dariusz Sosnowski
Best,
Ori
Andrew Rybchenko
AppliedQuoted 75 lines · Ori Kam
Hi,
Quoted 73 lines
-----Original Message-----
From: Dariusz Sosnowski <[email protected]>
Sent: Tuesday, 20 September 2022 11:49Hi Thomas,
Quoted 7 lines
-----Original Message-----
From: Thomas Monjalon <[email protected]>
Sent: Wednesday, September 14, 2022 23:30
To: [email protected]
Cc: Michael Savisko <[email protected]>; Slava Ovsiienko <[email protected]>; Matan Azrad <[email protected]>; Dariusz Sosnowski <[email protected]>; Asaf Penso <[email protected]>;Ori
Quoted 27 lines
Kam <[email protected]>; Ferruh Yigit <[email protected]>; Andrew Rybchenko <[email protected]>
Subject: [PATCH] doc: relate bifurcated driver and flow isolated modeExternal email: Use caution opening links or attachments
The relation between the isolated mode in ethdev flow API and bifurcated driver behaviour was not clearly explained.
It is made clear in the how-to guide that isolated mode is required for flow bifurcation to the kernel.
On the other side, the impact of the isolated mode on a bifurcated driver is made more explicit.Signed-off-by Thomas Monjalon <[email protected]>--- doc/guides/howto/flow_bifurcation.rst | 3 ++- lib/ethdev/rte_flow.h | 4 ++++ 2 files changed, 6 insertions(+), 1 deletion(-)doc/guides/howto/flow_bifurcation.rst +0
-0doc/guides/howto/flow_bifurcation.rst The full device is already shared with the kernel driver. · line 55
Quoted 1 line
doc/guides/howto/flow_bifurcation.rst +0
-0@@ -55,7 +55,8 @@ The full device is already shared with the kernel driver. The DPDK application can setup some flow steering rules, and let the restgo
Quoted 13 lines
to the kernel stack.
In order to define the filters strictly with flow rules, -the
:ref:flow_isolated_modecan be configured.doc/guides/howto/flow_bifurcation.rst +2
-0+the :ref:`flow_isolated_mode` must be configured, so there is no +default rule routing traffic to userspace. There is no specific instructions to follow. The recommended reading is the :doc:`../prog_guide/rte_flow` guide.lib/ethdev/rte_flow.h index renamed from lib/ethdev/rte_flow.h +0
-0
a79f1e7ef0..1bac3fd9ec100644lib/ethdev/rte_flow.h rte_flow_query(uint16_t port_id, · line 4255
Quoted 2 lines
lib/ethdev/rte_flow.h +0
-0@@ -4254,6 +4254,10 @@ rte_flow_query(uint16_t port_id,* * Isolated mode guarantees that all ingress traffic comes from defined flow
lib/ethdev/rte_flow.h rte_flow_query(uint16_t port_id,
Quoted 7 lines
lib/ethdev/rte_flow.h +4
-0* rules only (current and future). +* When enabled with a bifurcated driver, +* non-matched packets are routed to the kernel driver interface. +* When disabled (the default), +* there may be some default rules routing traffic to the DPDK port. * * Besides making ingress more deterministic, it allows PMDs to safely reuse
Quoted 3 lines
lib/ethdev/rte_flow.h +0
-1* resources otherwise assigned to handle the remaining traffic, such as --2.36.1
Looks good to me. Thank you.
Quoted 8 lines
Quoted 4 lines
Reviewed-by Dariusz Sosnowski <[email protected]>Best regards,
Dariusz SosnowskiAcked-by Ori Kam <[email protected]>Best,
Ori
Applied to dpdk-next-net/main, thanks.