From: Yuanhan Liu <y...@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 <y...@fridaylinux.org> Signed-off-by: Shahaf Shuler <shah...@mellanox.com> --- Documentation/howto/dpdk.rst | 22 ++++++++++++++++++++++ NEWS | 3 ++- 2 files changed, 24 insertions(+), 1 deletion(-) 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 77c2b43..52004f6 100644 --- a/NEWS +++ b/NEWS @@ -22,6 +22,8 @@ Post-v2.9.0 other IPv4/IPv6-based protocols whenever a reject ACL rule is hit. * ACL match conditions can now match on Port_Groups as well as address sets that are automatically generated by Port_Groups. + - DPDK: + * Add experimental flow hardware offload support v2.9.0 - 19 Feb 2018 -------------------- @@ -85,7 +87,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: -- 2.7.4 _______________________________________________ dev mailing list d...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-dev