[ovs-dev] [RFC PATCH 0/4] RFC for Partial action offload

Sriharsha Basavapatna sriharsha.basavapatna at broadcom.com
Fri Apr 24 08:23:09 UTC 2020


Hi,

This RFC patchset extends the "Partial HW acceleration" mode to offload
part of the action processing to HW, instead of offloading just lookup
(MARK/RSS), for "vhost-user" ports. This is referred to as "Partial Action
Offload". This mode does not require SRIOV/switchdev configuration. In this
mode, forwarding (output) action is still performed by OVS-DPDK SW datapath.

Note:
This RFC patchset assumes that the full-offload framework is available
in OVS-DPDK and utilizes it to offload specific actions to HW. In this
initial patchset we support offloading of VXLAN encap action. The changes
are based on the VXLAN full offload patchset currently being reviewed
on ovs-dev: 
https://mail.openvswitch.org/pipermail/ovs-dev/2020-January/367010.html

I would appreciate feedback on this approach to support partial action
offload for vhost-user ports.

Thanks,
-Harsha

******

Sriharsha Basavapatna (4):
  dpif-netdev: Refactor dp_netdev_flow_offload_put()
  dpif-netdev: Support partial-action-offload of VXLAN encap flow
  dpif-netdev: Skip encap action during datapath execution
  dpif-netdev: Support flow_get() with partial-action-offload

 lib/dpif-netdev.c         | 277 ++++++++++++++++++++++++++++++++------
 lib/netdev-dpdk.c         |   5 +
 lib/netdev-dpdk.h         |   1 +
 lib/netdev-offload-dpdk.c |  45 +++++--
 lib/netdev-offload.h      |   2 +
 5 files changed, 275 insertions(+), 55 deletions(-)

-- 
2.25.0.rc2



More information about the dev mailing list