]> git.proxmox.com Git - mirror_ovs.git/commit
netdev: Adding a new netdev API to be used for offloading flows
authorPaul Blakey <paulb@mellanox.com>
Tue, 13 Jun 2017 15:03:28 +0000 (18:03 +0300)
committerSimon Horman <simon.horman@netronome.com>
Wed, 14 Jun 2017 08:12:30 +0000 (10:12 +0200)
commit18ebd48cfb01ea0e239c6820520a1c57063cc58f
tree034c4f6ac7113b4de6b55edd2cb20e61c63301db
parentf98e418fbdb629760db96bbd37a9a981a9b27ee9
netdev: Adding a new netdev API to be used for offloading flows

Add a new API interface for offloading dpif flows to netdev.
The API consist on the following:
  flow_put - offload a new flow
  flow_get - query an offloaded flow
  flow_del - delete an offloaded flow
  flow_flush - flush all offloaded flows
  flow_dump_* - dump all offloaded flows

In upcoming commits we will introduce an implementation of this
API for netdev-linux.

Signed-off-by: Paul Blakey <paulb@mellanox.com>
Reviewed-by: Roi Dayan <roid@mellanox.com>
Acked-by: Flavio Leitner <fbl@sysclose.org>
Signed-off-by: Simon Horman <simon.horman@netronome.com>
12 files changed:
lib/automake.mk
lib/netdev-bsd.c
lib/netdev-dpdk.c
lib/netdev-dummy.c
lib/netdev-linux.c
lib/netdev-linux.h
lib/netdev-provider.h
lib/netdev-tc-offloads.c [new file with mode: 0644]
lib/netdev-tc-offloads.h [new file with mode: 0644]
lib/netdev-vport.c
lib/netdev.c
lib/netdev.h