|
@@ -1679,6 +1679,7 @@ enum ib_flow_spec_type {
|
|
IB_FLOW_SPEC_INNER = 0x100,
|
|
IB_FLOW_SPEC_INNER = 0x100,
|
|
/* Actions */
|
|
/* Actions */
|
|
IB_FLOW_SPEC_ACTION_TAG = 0x1000,
|
|
IB_FLOW_SPEC_ACTION_TAG = 0x1000,
|
|
|
|
+ IB_FLOW_SPEC_ACTION_DROP = 0x1001,
|
|
};
|
|
};
|
|
#define IB_FLOW_SPEC_LAYER_MASK 0xF0
|
|
#define IB_FLOW_SPEC_LAYER_MASK 0xF0
|
|
#define IB_FLOW_SPEC_SUPPORT_LAYERS 8
|
|
#define IB_FLOW_SPEC_SUPPORT_LAYERS 8
|
|
@@ -1807,6 +1808,11 @@ struct ib_flow_spec_action_tag {
|
|
u32 tag_id;
|
|
u32 tag_id;
|
|
};
|
|
};
|
|
|
|
|
|
|
|
+struct ib_flow_spec_action_drop {
|
|
|
|
+ enum ib_flow_spec_type type;
|
|
|
|
+ u16 size;
|
|
|
|
+};
|
|
|
|
+
|
|
union ib_flow_spec {
|
|
union ib_flow_spec {
|
|
struct {
|
|
struct {
|
|
u32 type;
|
|
u32 type;
|
|
@@ -1819,6 +1825,7 @@ union ib_flow_spec {
|
|
struct ib_flow_spec_ipv6 ipv6;
|
|
struct ib_flow_spec_ipv6 ipv6;
|
|
struct ib_flow_spec_tunnel tunnel;
|
|
struct ib_flow_spec_tunnel tunnel;
|
|
struct ib_flow_spec_action_tag flow_tag;
|
|
struct ib_flow_spec_action_tag flow_tag;
|
|
|
|
+ struct ib_flow_spec_action_drop drop;
|
|
};
|
|
};
|
|
|
|
|
|
struct ib_flow_attr {
|
|
struct ib_flow_attr {
|