Add tc interface in order to send/recv data from/to the HW.
The kerenl side of tc will pass the tc messages to the driver and back.
Signed-off-by: Paul Blakey
Signed-off-by: Shahar Klein
---
lib/automake.mk | 2 +
lib/tc.c| 906
added operate implemenation using tc for flow offload,
supporting flow get, flow put, and flow del.
Signed-off-by: Paul Blakey
Signed-off-by: Shahar Klein
---
lib/dpif-hw-acc.c | 821 +-
lib/dpif-hw-acc.h | 10 +
2 files changed, 829
Added a new framework so user can specify which flows
to try and offload.
A new map was added to save each flow's policy.
Signed-off-by: Paul Blakey
Signed-off-by: Shahar Klein
---
lib/automake.mk | 2 ++
lib/dpif-hw-acc.c | 2 ++
lib/dpif-hw-acc.h | 1 -
lib/hw-of
added support dump flows from tc.
Signed-off-by: Paul Blakey
Signed-off-by: Shahar Klein
---
lib/dpif-hw-acc.c | 248 ++
lib/dpif-hw-acc.h | 2 +
2 files changed, 232 insertions(+), 18 deletions(-)
diff --git a/lib/dpif-hw-acc.c b/lib/dpif
added support to flush all offloaded flows from tc.
Signed-off-by: Paul Blakey
Signed-off-by: Shahar Klein
---
lib/dpif-hw-acc.c | 12
1 file changed, 12 insertions(+)
diff --git a/lib/dpif-hw-acc.c b/lib/dpif-hw-acc.c
index 0087e9c..98a99de 100644
--- a/lib/dpif-hw-acc.c
+++ b
Added infrastructure for a new provider that will be able
to send some flows to supporting HW for offloading.
Signed-off-by: Paul Blakey
Signed-off-by: Shahar Klein
---
lib/automake.mk | 2 +
lib/dpif-hw-acc.c | 444
lib/dpif-hw
updating the port maps on dpif init and when
add/removing a port.
Signed-off-by: Paul Blakey
Signed-off-by: Shahar Klein
---
lib/dpif-hw-acc.c | 49 +
1 file changed, 45 insertions(+), 4 deletions(-)
diff --git a/lib/dpif-hw-acc.c b/lib/dpif-hw
converts a dumped tc flow back to dpif-flow,
for use in dumping/getting flows.
Signed-off-by: Paul Blakey
Signed-off-by: Shahar Klein
---
lib/dpif-hw-acc.c | 200 ++
1 file changed, 200 insertions(+)
diff --git a/lib/dpif-hw-acc.c b/lib/dpif
=53d94892e27409bb2b48140207c0273b2ba65f61
Paul Blakey (9):
dpif-hw-acc: New dpif provider
dpif-hw-acc: Add tc interface
dpif-hw-acc: Add new hash maps ufid <-> tc flow and ovs port <->
netdev
dpif-hw-acc: add a user offload policy framework
dpif-hw-acc: converting a tc flow
d
when offloading/dumping a flow.
Signed-off-by: Paul Blakey
Signed-off-by: Shahar Klein
---
lib/dpif-hw-acc.c | 292 ++
lib/dpif-hw-acc.h | 21
2 files changed, 313 insertions(+)
diff --git a/lib/dpif-hw-acc.c b/lib/dpif-hw-acc.c
RFC 0/9] Introducing HW offload support for
openvswitch
On 27 September 2016 at 21:45, Paul Blakey wrote:
Openvswitch currently configures the kerenel datapath via netlink over an
internal ovs protocol.
This patch series offers a new provider: dpif-netlink-tc that uses the
tc flower protocol to
added support dump flows from tc.
Signed-off-by: Paul Blakey
Signed-off-by: Shahar Klein
---
lib/dpif-hw-netlink.c | 215 ++
1 file changed, 199 insertions(+), 16 deletions(-)
diff --git a/lib/dpif-hw-netlink.c b/lib/dpif-hw-netlink.c
index
added flow offload with tc, supporting
flow get, flow put, and flow del.
Signed-off-by: Paul Blakey
Signed-off-by: Shahar Klein
---
lib/dpif-hw-netlink.c | 687 +-
1 file changed, 682 insertions(+), 5 deletions(-)
diff --git a/lib/dpif-hw
Add tc interface in order to send/recv data from/to the HW.
The kerenl side of tc will pass the tc messages to the driver and back.
Signed-off-by: Shahar Klein
Signed-off-by: Paul Blakey
---
lib/automake.mk | 2 +
lib/tc.c| 796
/kernel/git/davem/net.git/commit/?id=53d94892e27409bb2b48140207c0273b2ba65f61
Paul Blakey (9):
dpif-hw-netlink: New dpif provider
dpif-hw-netlink: Add tc interface
dpif-hw-netlink: Added new maps
dpif-hw-netlink: added new user offload policy
dpif-hw-netlink: converting a tc flow back to
A flow in ovs can be accesses by ufid, and in tc by flow handle +
priority.
We use the protocol number as the priority so we save a map that
maps from ovs flow id to/from tc flow handle + protocol.
Also added a map to map ovs in_port to/from netdevice.
Signed-off-by: Paul Blakey
Signed-off-by
new function that converts a tc flow back to dpif-flow.
Signed-off-by: Paul Blakey
Signed-off-by: Shahar Klein
---
lib/dpif-hw-netlink.c | 169 ++
1 file changed, 169 insertions(+)
diff --git a/lib/dpif-hw-netlink.c b/lib/dpif-hw-netlink.c
index
Add infrastructure for a new provider that will be able
to send some flows to the HW for offloading.
Signed-off-by: Shahar Klein
Signed-off-by: Paul Blakey
---
lib/automake.mk | 2 +
lib/dpif-hw-netlink.c | 463 ++
lib/dpif-hw-netlink.h
Add tc ingress qdisc support so we can add qdisc
as a qos on port or through config.
usage:
ovs-vsctl -- set port qos=@newq -- --id=@newq create \
qos type=linux-ingress
where is a already added port using vsctl add-port.
Signed-off-by: Paul Blakey
Signed-off-by: Shahar Klein
---
lib/netdev
updating the port maps on dpif open (without create)
and in port_add/port_del.
Signed-off-by: Paul Blakey
Signed-off-by: Shahar Klein
---
lib/dpif-hw-netlink.c | 68 +--
1 file changed, 60 insertions(+), 8 deletions(-)
diff --git a/lib/dpif-hw
Added a new framework so use can specify which flows
to try and offload.
A new map was added to save each flow's policy.
Signed-off-by: Paul Blakey
Signed-off-by: Shahar Klein
---
lib/automake.mk | 2 ++
lib/dpif-hw-netlink.c
21 matches
Mail list logo