Add offload support for ct_state rpl and inv flags. For example: ovs-ofctl del-flows br-ovs ovs-ofctl add-flow br-ovs arp,actions=normal ovs-ofctl add-flow br-ovs "table=0, ip,ct_state=-trk actions=ct(table=1,zone=5)" ovs-ofctl add-flow br-ovs "table=1, ip,ct_state=+trk+new actions=ct(zone=5, commit),normal" ovs-ofctl add-flow br-ovs "table=1, ip,ct_zone=5,ct_state=+trk+est+rpl actions=normal" ovs-ofctl add-flow br-ovs "table=1, ip,ct_zone=5,ct_state=+trk+est-rpl actions=normal"
Also probe for actual kernel ct_state per flag support. Changelog: v1->v2: In probe patch, if no support for ct_state flags, dont support mark/label/zone... Paul Blakey (3): compat: Add ct_state flags definitions netdev-offload-tc: Probe for support for any of the ct_state flags netdev-offload-tc: Add support for ct_state flags inv and rpl acinclude.m4 | 6 +- include/linux/pkt_cls.h | 5 +- lib/netdev-offload-tc.c | 235 ++++++++++++++++++++++++++++++++++++++---------- 3 files changed, 194 insertions(+), 52 deletions(-) -- 1.8.3.1 _______________________________________________ dev mailing list d...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-dev