Prior to this series the "drop" action was implicit by an empty set of
actions. This series adds support for an explicit drop action. The
primary motivation is to allow passing xlate_error from userspace such
that xlater_error can be passed to kfree_skb_reason() and therefore
traced.                                                               

Eric Garver (2):
  net: openvswitch: add drop reasons
  net: openvswitch: add drop action

 include/net/dropreason.h                      |  6 ++++
 include/uapi/linux/openvswitch.h              |  2 ++
 net/openvswitch/actions.c                     | 13 +++++++
 net/openvswitch/datapath.c                    | 17 ++++++++++
 net/openvswitch/drop.h                        | 34 +++++++++++++++++++
 net/openvswitch/flow_netlink.c                | 12 ++++++-
 .../selftests/net/openvswitch/ovs-dpctl.py    |  3 ++
 7 files changed, 86 insertions(+), 1 deletion(-)
 create mode 100644 net/openvswitch/drop.h

-- 
2.39.0

_______________________________________________
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to