OSDN Git Service

openvswitch: Add meter infrastructure
authorAndy Zhou <azhou@ovn.org>
Fri, 10 Nov 2017 20:09:42 +0000 (12:09 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 13 Nov 2017 01:37:07 +0000 (10:37 +0900)
commit96fbc13d7e770b542d2d1fcf700d0baadc6e8063
treea5af29f888531a46399e77f4cbf63fdbf36adb3e
parent9602c01e57f7b868d748c2ba2aef0efa64b71ffc
openvswitch: Add meter infrastructure

OVS kernel datapath so far does not support Openflow meter action.
This is the first stab at adding kernel datapath meter support.
This implementation supports only drop band type.

Signed-off-by: Andy Zhou <azhou@ovn.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/openvswitch/Makefile
net/openvswitch/datapath.c
net/openvswitch/datapath.h
net/openvswitch/meter.c [new file with mode: 0644]
net/openvswitch/meter.h [new file with mode: 0644]