[ovs-dev,v8,6/6] Documentation: document ovs-dpdk flow offload

Message ID f71fbcb1e6cf00b091f51ef7f953b62aa7616a9f.1522136948.git.shahafs@mellanox.com
State Superseded
Headers show
Series
  • OVS-DPDK flow offload with rte_flow
Related show

Commit Message

Shahaf Shuler March 27, 2018, 7:54 a.m.
From: Yuanhan Liu <yliu@fridaylinux.org>

Add details in the DPDK howto guide on the way to enable the offload along
with the supported NICs and flow types.

The flow offload is marked as experimental.

Signed-off-by: Yuanhan Liu <yliu@fridaylinux.org>
Signed-off-by: Shahaf Shuler <shahafs@mellanox.com>
---
 Documentation/howto/dpdk.rst | 22 ++++++++++++++++++++++
 NEWS                         |  3 ++-
 2 files changed, 24 insertions(+), 1 deletion(-)

Patch

diff --git a/Documentation/howto/dpdk.rst b/Documentation/howto/dpdk.rst
index 79b626c..c5794bc 100644
--- a/Documentation/howto/dpdk.rst
+++ b/Documentation/howto/dpdk.rst
@@ -739,3 +739,25 @@  devices to bridge ``br0``. Once complete, follow the below steps:
    Check traffic on multiple queues::
 
        $ cat /proc/interrupts | grep virtio
+
+.. _dpdk-flow-hardware-offload:
+
+Flow Hardware Offload (Experimental)
+------------------------------------
+
+The flow hardware offload is disabled by default and can be enabled by::
+
+    $ ovs-vsctl set Open_vSwitch . other_config:hw-offload=true
+
+So far only partial flow offload is implemented. Moreover, it only works
+with PMD drivers have the rte_flow action "MARK + RSS" support.
+
+The validated NICs are:
+
+- Mellanox (ConnectX-4, ConnectX-4 Lx, ConnectX-5)
+- Napatech (NT200B01)
+
+Supported protocols for hardware offload are:
+- L2: Ethernet, VLAN
+- L3: IPv4, IPv6
+- L4: TCP, UDP, SCTP, ICMP
diff --git a/NEWS b/NEWS
index 8d0b502..f682b25 100644
--- a/NEWS
+++ b/NEWS
@@ -15,6 +15,8 @@  Post-v2.9.0
      * OFPT_ROLE_STATUS is now available in OpenFlow 1.3.
    - Linux kernel 4.14
      * Add support for compiling OVS with the latest Linux 4.14 kernel
+   - DPDK:
+     * Add experimental flow hardware offload support
 
 v2.9.0 - 19 Feb 2018
 --------------------
@@ -70,7 +72,6 @@  v2.9.0 - 19 Feb 2018
      * New appctl command 'dpif-netdev/pmd-rxq-rebalance' to rebalance rxq to
        pmd assignments.
      * Add rxq utilization of pmd to appctl 'dpif-netdev/pmd-rxq-show'.
-     * Add support for vHost dequeue zero copy (experimental)
    - Userspace datapath:
      * Output packet batching support.
    - vswitchd: