Skip to content

Commit

Permalink
Documentation: document ovs-dpdk flow offload
Browse files Browse the repository at this point in the history
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 <[email protected]>
Co-authored-by: Shahaf Shuler <[email protected]>
Signed-off-by: Shahaf Shuler <[email protected]>
Signed-off-by: Ian Stokes <[email protected]>
  • Loading branch information
2 people authored and istokes committed Jul 6, 2018
1 parent 02bb282 commit c3c722d
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 1 deletion.
22 changes: 22 additions & 0 deletions Documentation/howto/dpdk.rst
Original file line number Diff line number Diff line change
Expand Up @@ -358,6 +358,28 @@ devices to bridge ``br0``. Once complete, follow the below steps:

$ 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

Further Reading
---------------

Expand Down
2 changes: 1 addition & 1 deletion NEWS
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ Post-v2.9.0
See Testing topic for the details.
* Add LSC interrupt support for DPDK physical devices.
* Allow init to fail and record DPDK status/version in OVS database.
* Add experimental flow hardware offload support
- Userspace datapath:
* Commands ovs-appctl dpif-netdev/pmd-*-show can now work on a single PMD
* Detailed PMD performance metrics available with new command
Expand Down Expand Up @@ -110,7 +111,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:
Expand Down

0 comments on commit c3c722d

Please sign in to comment.